#[repr(transparent)]pub struct ConstId<const N: u64, const S: u64>(pub u64);Tuple Fields§
§0: u64Implementations§
Trait Implementations§
Source§impl<'de, const N: u64, const S: u64> Deserialize<'de> for ConstId<N, S>
impl<'de, const N: u64, const S: u64> Deserialize<'de> for ConstId<N, S>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<const N: u64, const S: u64> Ord for ConstId<N, S>
impl<const N: u64, const S: u64> Ord for ConstId<N, S>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<const N: u64, const S: u64> PartialOrd for ConstId<N, S>
impl<const N: u64, const S: u64> PartialOrd for ConstId<N, S>
impl<const N: u64, const S: u64> Copy for ConstId<N, S>
impl<const N: u64, const S: u64> Eq for ConstId<N, S>
impl<const N: u64, const S: u64> StructuralPartialEq for ConstId<N, S>
Auto Trait Implementations§
impl<const N: u64, const S: u64> Freeze for ConstId<N, S>
impl<const N: u64, const S: u64> RefUnwindSafe for ConstId<N, S>
impl<const N: u64, const S: u64> Send for ConstId<N, S>
impl<const N: u64, const S: u64> Sync for ConstId<N, S>
impl<const N: u64, const S: u64> Unpin for ConstId<N, S>
impl<const N: u64, const S: u64> UnwindSafe for ConstId<N, S>
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