pub struct ComposedHom<R, S, T, F, G>where
F: Homomorphism<R, S>,
G: Homomorphism<S, T>,
R: ?Sized + RingBase,
S: ?Sized + RingBase,
T: ?Sized + RingBase,{ /* private fields */ }Trait Implementations§
Source§impl<R, S, T, F, G> Clone for ComposedHom<R, S, T, F, G>where
F: Clone + Homomorphism<R, S>,
G: Clone + Homomorphism<S, T>,
R: ?Sized + RingBase,
S: ?Sized + RingBase,
T: ?Sized + RingBase,
impl<R, S, T, F, G> Clone for ComposedHom<R, S, T, F, G>where
F: Clone + Homomorphism<R, S>,
G: Clone + Homomorphism<S, T>,
R: ?Sized + RingBase,
S: ?Sized + RingBase,
T: ?Sized + RingBase,
Source§impl<R, S, T, F, G> Homomorphism<R, T> for ComposedHom<R, S, T, F, G>where
F: Homomorphism<R, S>,
G: Homomorphism<S, T>,
R: ?Sized + RingBase,
S: ?Sized + RingBase,
T: ?Sized + RingBase,
impl<R, S, T, F, G> Homomorphism<R, T> for ComposedHom<R, S, T, F, G>where
F: Homomorphism<R, S>,
G: Homomorphism<S, T>,
R: ?Sized + RingBase,
S: ?Sized + RingBase,
T: ?Sized + RingBase,
type DomainStore = <F as Homomorphism<R, S>>::DomainStore
type CodomainStore = <G as Homomorphism<S, T>>::CodomainStore
fn domain<'a>(&'a self) -> &'a Self::DomainStore
fn codomain<'a>(&'a self) -> &'a Self::CodomainStore
fn map(&self, x: <R as RingBase>::Element) -> <T as RingBase>::Element
fn map_ref(&self, x: &<R as RingBase>::Element) -> <T as RingBase>::Element
fn mul_assign_map( &self, lhs: &mut <T as RingBase>::Element, rhs: <R as RingBase>::Element, )
fn mul_assign_ref_map( &self, lhs: &mut <T as RingBase>::Element, rhs: &<R as RingBase>::Element, )
fn mul_map( &self, lhs: Codomain::Element, rhs: Domain::Element, ) -> Codomain::Element
fn mul_ref_fst_map( &self, lhs: &Codomain::Element, rhs: Domain::Element, ) -> Codomain::Element
fn mul_ref_snd_map( &self, lhs: Codomain::Element, rhs: &Domain::Element, ) -> Codomain::Element
fn mul_ref_map( &self, lhs: &Codomain::Element, rhs: &Domain::Element, ) -> Codomain::Element
fn compose<F, PrevDomain: ?Sized + RingBase>(
self,
prev: F,
) -> ComposedHom<PrevDomain, Domain, Codomain, F, Self>where
Self: Sized,
F: Homomorphism<PrevDomain, Domain>,
impl<R, S, T, F, G> Copy for ComposedHom<R, S, T, F, G>where
F: Copy + Homomorphism<R, S>,
G: Copy + Homomorphism<S, T>,
R: ?Sized + RingBase,
S: ?Sized + RingBase,
T: ?Sized + RingBase,
Auto Trait Implementations§
impl<R, S, T, F, G> Freeze for ComposedHom<R, S, T, F, G>
impl<R, S, T, F, G> RefUnwindSafe for ComposedHom<R, S, T, F, G>where
F: RefUnwindSafe,
G: RefUnwindSafe,
R: RefUnwindSafe + ?Sized,
S: RefUnwindSafe + ?Sized,
T: RefUnwindSafe + ?Sized,
impl<R, S, T, F, G> Send for ComposedHom<R, S, T, F, G>
impl<R, S, T, F, G> Sync for ComposedHom<R, S, T, F, G>
impl<R, S, T, F, G> Unpin for ComposedHom<R, S, T, F, G>
impl<R, S, T, F, G> UnwindSafe for ComposedHom<R, S, T, F, G>where
F: UnwindSafe,
G: UnwindSafe,
R: UnwindSafe + ?Sized,
S: UnwindSafe + ?Sized,
T: UnwindSafe + ?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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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