StringFormatValueConverter
struct · ferroui-base · v0.5.0
struct StringFormatValueConverter
A value converter which formats the value with a composite format string
(see composite_format).
Members
new
fn new(format: impl Into<String>, inner: Option<Rc<dyn IValueConverter>>) -> Self
Creates a string format value converter.
format is the format string; inner is an optional inner converter
to be called before the format takes place.
inner
fn inner(self: &Self) -> Option<&Rc<dyn IValueConverter>>
Gets an inner value converter which will be called before the string format takes place.
format
fn format(self: &Self) -> &str
Gets the format string.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeAnyValueClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyErasedDestructorIntoEitherIValueConverterPartialEqMarkupTypedValueTypeRegistration
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.