ObjectConverters
struct · ferroui-base · v0.5.0
struct ObjectConverters
Provides a set of useful IValueConverters for working with objects.
Members
is_null
fn is_null() -> Rc<dyn IValueConverter>
A value converter that returns true if the input object is a null reference.
is_not_null
fn is_not_null() -> Rc<dyn IValueConverter>
A value converter that returns true if the input object is not null.
equal
fn equal() -> Rc<dyn IValueConverter>
A value converter that returns true if the input object is equal to a parameter object.
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.
are_all_null
fn are_all_null() -> Rc<dyn IMultiValueConverter>
A multi-value converter that returns true if all inputs are null.
are_any_null
fn are_any_null() -> Rc<dyn IMultiValueConverter>
A multi-value converter that returns true if at least one input is null.
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.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyErasedDestructorIntoEitherMarkupTyped
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.