BooleanBoxes
struct · ferroui-base · v0.5.0
struct BooleanBoxes
The cached boxes of true and false.
Members
true_
fn true_() -> BoxedValue
The box of true (one per thread).
false_
fn false_() -> BoxedValue
The box of false (one per thread).
box_
fn box_(value: bool) -> BoxedValue
The cached box of value.
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.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyErasedDestructorIntoEither
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.