FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    DirectPropertyMetadata

    struct · ferroui-base · v0.5.0

    struct DirectPropertyMetadata<T>
    

    Metadata for direct properties.

    View source

    Members

    new

    fn new(unset_value: Option<T>) -> Self
    

    Source

    with_default_binding_mode

    fn with_default_binding_mode(self: Self, mode: BindingMode) -> Self
    

    Source

    with_enable_data_validation

    fn with_enable_data_validation(self: Self, enable: bool) -> Self
    

    Source

    unset_value

    fn unset_value(self: &Self) -> &T
    

    The value to use when the property is set to the unset value.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Receiver
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • Deref

    Availability

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