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