pub struct MustBeU32<const V: u32>;Implementations§
Trait Implementations§
Source§impl<'de, const V: u32> Deserialize<'de> for MustBeU32<V>
impl<'de, const V: u32> Deserialize<'de> for MustBeU32<V>
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 V: u32> Ord for MustBeU32<V>
impl<const V: u32> Ord for MustBeU32<V>
Source§impl<const V: u32, const W: u32> PartialOrd<MustBeU32<W>> for MustBeU32<V>
impl<const V: u32, const W: u32> PartialOrd<MustBeU32<W>> for MustBeU32<V>
impl<const V: u32> Copy for MustBeU32<V>
impl<const V: u32> Eq for MustBeU32<V>
Auto Trait Implementations§
impl<const V: u32> Freeze for MustBeU32<V>
impl<const V: u32> RefUnwindSafe for MustBeU32<V>
impl<const V: u32> Send for MustBeU32<V>
impl<const V: u32> Sync for MustBeU32<V>
impl<const V: u32> Unpin for MustBeU32<V>
impl<const V: u32> UnwindSafe for MustBeU32<V>
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