pub struct U16<const VAL: u16>;Expand description
Marker type for passing const VAL: u16 as a type parameter.
Implementations§
Source§impl<const VAL: u16> U16<VAL>
impl<const VAL: u16> U16<VAL>
Trait Implementations§
Source§impl<const VAL: u16> ConstMarker for U16<VAL>
impl<const VAL: u16> ConstMarker for U16<VAL>
Source§impl<const VAL: u16> ConstMarkerEq for U16<VAL>
impl<const VAL: u16> ConstMarkerEq for U16<VAL>
Source§type Equals<Rhs: ConstMarkerEqOf<Self::Of>> = StdTypeEquality<u16, U16<VAL>, Rhs>
type Equals<Rhs: ConstMarkerEqOf<Self::Of>> = StdTypeEquality<u16, U16<VAL>, Rhs>
Available on crate feature
rust_1_83 only.impl<const VAL: u16> Copy for U16<VAL>
impl<const VAL: u16> Eq for U16<VAL>
Auto Trait Implementations§
impl<const VAL: u16> Freeze for U16<VAL>
impl<const VAL: u16> RefUnwindSafe for U16<VAL>
impl<const VAL: u16> Send for U16<VAL>
impl<const VAL: u16> Sync for U16<VAL>
impl<const VAL: u16> Unpin for U16<VAL>
impl<const VAL: u16> UnwindSafe for U16<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