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