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