pub struct BoolWrapper(pub bool);Expand description
Wrapper for boolean values with conditional logic support.
Tuple Fields§
§0: boolTrait Implementations§
Source§impl From<BoolWrapper> for bool
Available on crate feature logic only.
impl From<BoolWrapper> for bool
Available on crate feature
logic only.Source§fn from(wrapper: BoolWrapper) -> Self
fn from(wrapper: BoolWrapper) -> Self
Converts to this type from the input type.
Source§impl From<IfExpression<bool, Responsive>> for BoolWrapper
Available on crate feature logic only.
impl From<IfExpression<bool, Responsive>> for BoolWrapper
Available on crate feature
logic only.Source§fn from(if_expr: IfExpression<bool, Responsive>) -> Self
fn from(if_expr: IfExpression<bool, Responsive>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BoolWrapper
impl RefUnwindSafe for BoolWrapper
impl Send for BoolWrapper
impl Sync for BoolWrapper
impl Unpin for BoolWrapper
impl UnsafeUnpin for BoolWrapper
impl UnwindSafe for BoolWrapper
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