FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    BooleanBoxes

    struct · ferroui-base · v0.5.0

    struct BooleanBoxes
    

    The cached boxes of true and false.

    View source

    Members

    true_

    fn true_() -> BoxedValue
    

    The box of true (one per thread).

    Source

    false_

    fn false_() -> BoxedValue
    

    The box of false (one per thread).

    Source

    box_

    fn box_(value: bool) -> BoxedValue
    

    The cached box of value.

    Source

    box_value

    fn box_value<T: PartialEq + Clone + 'static>(value: &T) -> BoxedValue
    

    Boxes value: a boolean as its cached box, any other value as a new box.

    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

    Availability

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