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).
Members
else_
fn else_(self: &Self, action: impl FnOnce() -> ())
Runs action when the option was empty (Else(Action); else is a keyword of Rust).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedEquivalent<K>CloneCopyDebugStructuralPartialEqPartialEqEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.