pub struct I16<const VAL: i16>;Expand description
Marker type for passing const VAL: i16 as a type parameter.
§Serde compatibility
When the "serde" feature is enabled,
this type is serialized/deserialized as the VAL const parameter.
Implementations§
Source§impl<const VAL: i16> I16<VAL>
impl<const VAL: i16> I16<VAL>
Trait Implementations§
Source§impl<const VAL: i16> ConstMarker for I16<VAL>
impl<const VAL: i16> ConstMarker for I16<VAL>
Source§impl<const VAL: i16> Ord for I16<VAL>
impl<const VAL: i16> Ord for I16<VAL>
Source§impl<const L: i16, const R: i16> PartialOrd<I16<R>> for I16<L>
impl<const L: i16, const R: i16> PartialOrd<I16<R>> for I16<L>
impl<const VAL: i16> Copy for I16<VAL>
impl<const VAL: i16> Eq for I16<VAL>
Auto Trait Implementations§
impl<const VAL: i16> Freeze for I16<VAL>
impl<const VAL: i16> RefUnwindSafe for I16<VAL>
impl<const VAL: i16> Send for I16<VAL>
impl<const VAL: i16> Sync for I16<VAL>
impl<const VAL: i16> Unpin for I16<VAL>
impl<const VAL: i16> UnwindSafe for I16<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