pub struct I32<const VAL: i32>;Expand description
Marker type for passing const VAL: i32 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: i32> I32<VAL>
impl<const VAL: i32> I32<VAL>
Trait Implementations§
Source§impl<const VAL: i32> ConstMarker for I32<VAL>
impl<const VAL: i32> ConstMarker for I32<VAL>
Source§impl<const VAL: i32> Ord for I32<VAL>
impl<const VAL: i32> Ord for I32<VAL>
Source§impl<const L: i32, const R: i32> PartialOrd<I32<R>> for I32<L>
impl<const L: i32, const R: i32> PartialOrd<I32<R>> for I32<L>
impl<const VAL: i32> Copy for I32<VAL>
impl<const VAL: i32> Eq for I32<VAL>
Auto Trait Implementations§
impl<const VAL: i32> Freeze for I32<VAL>
impl<const VAL: i32> RefUnwindSafe for I32<VAL>
impl<const VAL: i32> Send for I32<VAL>
impl<const VAL: i32> Sync for I32<VAL>
impl<const VAL: i32> Unpin for I32<VAL>
impl<const VAL: i32> UnwindSafe for I32<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