pub struct BigIntToZnHom<I, J: ?Sized + IntegerRing, R: ?Sized + ZnRing>{ /* private fields */ }Expand description
A generic ZZ -> Z/nZ homomorphism. Optimized for the case that values of ZZ can be very
large, but allow for efficient estimation of their approximate size.
Auto Trait Implementations§
impl<I, J, R> Freeze for BigIntToZnHom<I, J, R>where
<I as CanHomFrom<<R as ZnRing>::IntegerRingBase>>::Homomorphism: Freeze,
<I as CanIsoFromTo<<R as ZnRing>::IntegerRingBase>>::Isomorphism: Freeze,
<I as CanIsoFromTo<J>>::Isomorphism: Freeze,
I: ?Sized,
J: ?Sized,
R: ?Sized,
impl<I, J, R> RefUnwindSafe for BigIntToZnHom<I, J, R>where
<I as CanHomFrom<<R as ZnRing>::IntegerRingBase>>::Homomorphism: RefUnwindSafe,
<I as CanIsoFromTo<<R as ZnRing>::IntegerRingBase>>::Isomorphism: RefUnwindSafe,
<I as CanIsoFromTo<J>>::Isomorphism: RefUnwindSafe,
I: RefUnwindSafe + ?Sized,
J: RefUnwindSafe + ?Sized,
R: ?Sized,
impl<I, J, R> Send for BigIntToZnHom<I, J, R>where
<I as CanHomFrom<<R as ZnRing>::IntegerRingBase>>::Homomorphism: Send,
<I as CanIsoFromTo<<R as ZnRing>::IntegerRingBase>>::Isomorphism: Send,
<I as CanIsoFromTo<J>>::Isomorphism: Send,
I: Send + ?Sized,
J: Send + ?Sized,
R: ?Sized,
impl<I, J, R> Sync for BigIntToZnHom<I, J, R>where
<I as CanHomFrom<<R as ZnRing>::IntegerRingBase>>::Homomorphism: Sync,
<I as CanIsoFromTo<<R as ZnRing>::IntegerRingBase>>::Isomorphism: Sync,
<I as CanIsoFromTo<J>>::Isomorphism: Sync,
I: Sync + ?Sized,
J: Sync + ?Sized,
R: ?Sized,
impl<I, J, R> Unpin for BigIntToZnHom<I, J, R>where
<I as CanHomFrom<<R as ZnRing>::IntegerRingBase>>::Homomorphism: Unpin,
<I as CanIsoFromTo<<R as ZnRing>::IntegerRingBase>>::Isomorphism: Unpin,
<I as CanIsoFromTo<J>>::Isomorphism: Unpin,
I: Unpin + ?Sized,
J: Unpin + ?Sized,
R: ?Sized,
impl<I, J, R> UnsafeUnpin for BigIntToZnHom<I, J, R>where
<I as CanHomFrom<<R as ZnRing>::IntegerRingBase>>::Homomorphism: UnsafeUnpin,
<I as CanIsoFromTo<<R as ZnRing>::IntegerRingBase>>::Isomorphism: UnsafeUnpin,
<I as CanIsoFromTo<J>>::Isomorphism: UnsafeUnpin,
I: ?Sized,
J: ?Sized,
R: ?Sized,
impl<I, J, R> UnwindSafe for BigIntToZnHom<I, J, R>where
<I as CanHomFrom<<R as ZnRing>::IntegerRingBase>>::Homomorphism: UnwindSafe,
<I as CanIsoFromTo<<R as ZnRing>::IntegerRingBase>>::Isomorphism: UnwindSafe,
<I as CanIsoFromTo<J>>::Isomorphism: UnwindSafe,
I: UnwindSafe + ?Sized,
J: UnwindSafe + ?Sized,
R: ?Sized,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more