pub struct Uint<const BITS: usize>(pub [u8; 32]);
Expand description
uint<M>
type mapping
Tuple Fields§
§0: [u8; 32]
Implementations§
Trait Implementations§
Source§impl<'de, const BITS: usize> Deserialize<'de> for Uint<BITS>
impl<'de, const BITS: usize> Deserialize<'de> for Uint<BITS>
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 BITS: usize> PartialOrd for Uint<BITS>
impl<const BITS: usize> PartialOrd for Uint<BITS>
impl<const BITS: usize> Copy for Uint<BITS>
impl<const BITS: usize> Eq for Uint<BITS>
impl<const BITS: usize> StructuralPartialEq for Uint<BITS>
Auto Trait Implementations§
impl<const BITS: usize> Freeze for Uint<BITS>
impl<const BITS: usize> RefUnwindSafe for Uint<BITS>
impl<const BITS: usize> Send for Uint<BITS>
impl<const BITS: usize> Sync for Uint<BITS>
impl<const BITS: usize> Unpin for Uint<BITS>
impl<const BITS: usize> UnwindSafe for Uint<BITS>
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