FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    StringFormatValueConverter

    struct · ferroui-base · v0.5.0

    struct StringFormatValueConverter
    

    A value converter which formats the value with a composite format string (see composite_format).

    View source

    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.

    Source

    inner

    fn inner(self: &Self) -> Option<&Rc<dyn IValueConverter>>
    

    Gets an inner value converter which will be called before the string format takes place.

    Source

    format

    fn format(self: &Self) -> &str
    

    Gets the format string.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.