pub struct Du8<const VAL: u8>(pub u8);
Expand description
Default parameter for primitive type
Tuple Fields§
§0: u8
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<const VAL: u8> Freeze for Du8<VAL>
impl<const VAL: u8> RefUnwindSafe for Du8<VAL>
impl<const VAL: u8> Send for Du8<VAL>
impl<const VAL: u8> Sync for Du8<VAL>
impl<const VAL: u8> Unpin for Du8<VAL>
impl<const VAL: u8> UnwindSafe for Du8<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