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