Struct Word32
#[repr(transparent)]pub struct Word32(pub u32);Expand description
A 32-bit wrapping integer: the ring ℤ/2^32ℤ, where every operation is total and wraps modulo 2^32.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
§impl Ord for Word32
impl Ord for Word32
1.21.0 (const: unstable) · 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
§impl PartialOrd for Word32
impl PartialOrd for Word32
Source§impl WordRotate for Word32
impl WordRotate for Word32
impl Copy for Word32
impl Eq for Word32
impl StructuralPartialEq for Word32
Auto Trait Implementations§
impl Freeze for Word32
impl RefUnwindSafe for Word32
impl Send for Word32
impl Sync for Word32
impl Unpin for Word32
impl UnsafeUnpin for Word32
impl UnwindSafe for Word32
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.