pub struct UnwrapHom<'a, R>where
R: DelegateRing,{ /* private fields */ }Expand description
§Availability
This API is marked as unstable and is only available when the unstable-enable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Implementations§
Trait Implementations§
Source§impl<'a, R> Homomorphism<R, <R as DelegateRing>::Base> for UnwrapHom<'a, R>where
R: DelegateRing,
impl<'a, R> Homomorphism<R, <R as DelegateRing>::Base> for UnwrapHom<'a, R>where
R: DelegateRing,
type DomainStore = RingRef<'a, R>
type CodomainStore = RingRef<'a, <R as DelegateRing>::Base>
fn domain<'b>(&'b self) -> &'b Self::DomainStore
fn codomain<'b>(&'b self) -> &'b Self::CodomainStore
fn map( &self, x: <R as RingBase>::Element, ) -> <<R as DelegateRing>::Base as RingBase>::Element
fn map_ref(&self, x: &Domain::Element) -> Codomain::Element
fn mul_assign_map(&self, lhs: &mut Codomain::Element, rhs: Domain::Element)
fn mul_assign_ref_map(&self, lhs: &mut Codomain::Element, rhs: &Domain::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>,
Auto Trait Implementations§
impl<'a, R> Freeze for UnwrapHom<'a, R>
impl<'a, R> RefUnwindSafe for UnwrapHom<'a, R>
impl<'a, R> Send for UnwrapHom<'a, R>
impl<'a, R> Sync for UnwrapHom<'a, R>
impl<'a, R> Unpin for UnwrapHom<'a, R>
impl<'a, R> UnwindSafe for UnwrapHom<'a, R>
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