pub struct Bool<const B: bool>;Expand description
A
bool
represented as a type.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<const B: bool> Freeze for Bool<B>
impl<const B: bool> RefUnwindSafe for Bool<B>
impl<const B: bool> Send for Bool<B>
impl<const B: bool> Sync for Bool<B>
impl<const B: bool> Unpin for Bool<B>
impl<const B: bool> UnwindSafe for Bool<B>
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