pub struct Dbool<const VAL: bool>(/* private fields */);Expand description
Default parameter for primitive type
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<const VAL: bool> Freeze for Dbool<VAL>
impl<const VAL: bool> RefUnwindSafe for Dbool<VAL>
impl<const VAL: bool> Send for Dbool<VAL>
impl<const VAL: bool> Sync for Dbool<VAL>
impl<const VAL: bool> Unpin for Dbool<VAL>
impl<const VAL: bool> UnwindSafe for Dbool<VAL>
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