pub struct Raw32 { /* private fields */ }Expand description
An internal representation of Residue32 without an associated Modulus32.
Conceptually, Residue32 = Raw32 + Modulus32.
Raw32 stores the value part alone, without holding a reference to its modulus.
This separation is useful for reducing the size of collections of Residue32
and for avoiding self-referential structures when a type needs to contain both
a residue and its modulus.
Implementations§
Trait Implementations§
impl Copy for Raw32
impl Eq for Raw32
impl StructuralPartialEq for Raw32
Auto Trait Implementations§
impl Freeze for Raw32
impl RefUnwindSafe for Raw32
impl Send for Raw32
impl Sync for Raw32
impl Unpin for Raw32
impl UnsafeUnpin for Raw32
impl UnwindSafe for Raw32
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