FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    StringFormatMultiValueConverter

    struct · ferroui-base · v0.5.0

    struct StringFormatMultiValueConverter
    

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

    View source

    Members

    new

    fn new(format: impl Into<String>, inner: Option<Rc<dyn IMultiValueConverter>>) -> Self
    

    Creates a string format multi-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 IMultiValueConverter>>
    

    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.