pub struct BooleanBoxes;Expand description
The cached boxes of true and false.
Implementations§
Source§impl BooleanBoxes
impl BooleanBoxes
Sourcepub fn true_() -> BoxedValue
pub fn true_() -> BoxedValue
The box of true (one per thread).
Sourcepub fn false_() -> BoxedValue
pub fn false_() -> BoxedValue
The box of false (one per thread).
Sourcepub fn box_(value: bool) -> BoxedValue
pub fn box_(value: bool) -> BoxedValue
The cached box of value.
Auto Trait Implementations§
impl Freeze for BooleanBoxes
impl RefUnwindSafe for BooleanBoxes
impl Send for BooleanBoxes
impl Sync for BooleanBoxes
impl Unpin for BooleanBoxes
impl UnsafeUnpin for BooleanBoxes
impl UnwindSafe for BooleanBoxes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more