FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ObjectConverters

    struct · ferroui-base · v0.5.0

    struct ObjectConverters
    

    Provides a set of useful IValueConverters for working with objects.

    View source

    Members

    is_null

    fn is_null() -> Rc<dyn IValueConverter>
    

    A value converter that returns true if the input object is a null reference.

    Source

    is_not_null

    fn is_not_null() -> Rc<dyn IValueConverter>
    

    A value converter that returns true if the input object is not null.

    Source

    equal

    fn equal() -> Rc<dyn IValueConverter>
    

    A value converter that returns true if the input object is equal to a parameter object.

    Source

    not_equal

    fn not_equal() -> Rc<dyn IValueConverter>
    

    A value converter that returns true if the input object is not equal to a parameter object.

    Source

    are_all_null

    fn are_all_null() -> Rc<dyn IMultiValueConverter>
    

    A multi-value converter that returns true if all inputs are null.

    Source

    are_any_null

    fn are_any_null() -> Rc<dyn IMultiValueConverter>
    

    A multi-value converter that returns true if at least one input is null.

    Source

    are_all_equal

    fn are_all_equal() -> Rc<dyn IMultiValueConverter>
    

    A multi-value converter that returns true if all inputs are equal to each other. Null values are not considered equal to anything.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ErasedDestructor
    • IntoEither
    • MarkupTyped

    Availability

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