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