Struct ring::arithmetic::bigint::Elem
source · pub struct Elem<M, E = Unencoded> {
limbs: BoxedLimbs<M>,
encoding: PhantomData<E>,
}
Expand description
Elements of ℤ/mℤ for some modulus m.
Fields§
§limbs: BoxedLimbs<M>
§encoding: PhantomData<E>
The number of Montgomery factors that need to be canceled out from
value
to get the actual value.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<M, E> Freeze for Elem<M, E>
impl<M, E> RefUnwindSafe for Elem<M, E>where
E: RefUnwindSafe,
M: RefUnwindSafe,
impl<M, E> Send for Elem<M, E>
impl<M, E> Sync for Elem<M, E>
impl<M, E> Unpin for Elem<M, E>
impl<M, E> UnwindSafe for Elem<M, E>where
E: UnwindSafe,
M: UnwindSafe,
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