FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    OptionElse

    struct · ferroui-dynamic-data · v0.5.0

    struct OptionElse
    

    What if_has_value returns: runs the action of else_ when the option was empty (OptionElse).

    View source

    Members

    else_

    fn else_(self: &Self, action: impl FnOnce() -> ())
    

    Runs action when the option was empty (Else(Action); else is a keyword of Rust).

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • Equivalent<K>
    • Clone
    • Copy
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq

    Availability

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