pub struct NonZeroFactored<ObjectSet: Debug + Clone, ExponentSet: Debug + Clone> { /* private fields */ }Implementations§
Source§impl<ObjectSet: Debug + Clone, ExponentSet: Debug + Clone> NonZeroFactored<ObjectSet, ExponentSet>
impl<ObjectSet: Debug + Clone, ExponentSet: Debug + Clone> NonZeroFactored<ObjectSet, ExponentSet>
pub fn powers(&self) -> &Vec<(ObjectSet, ExponentSet)>
pub fn into_powers(self) -> Vec<(ObjectSet, ExponentSet)>
pub fn unit(&self) -> &ObjectSet
pub fn into_unit(self) -> ObjectSet
pub fn unit_and_powers(&self) -> (&ObjectSet, &Vec<(ObjectSet, ExponentSet)>)
pub fn into_unit_and_powers(self) -> (ObjectSet, Vec<(ObjectSet, ExponentSet)>)
pub fn distinct_irreducibles(&self) -> Vec<&ObjectSet>
pub fn into_distinct_irreducibles(self) -> Vec<ObjectSet>
Trait Implementations§
Source§impl<ObjectSet: Clone + Debug + Clone, ExponentSet: Clone + Debug + Clone> Clone for NonZeroFactored<ObjectSet, ExponentSet>
impl<ObjectSet: Clone + Debug + Clone, ExponentSet: Clone + Debug + Clone> Clone for NonZeroFactored<ObjectSet, ExponentSet>
Source§fn clone(&self) -> NonZeroFactored<ObjectSet, ExponentSet>
fn clone(&self) -> NonZeroFactored<ObjectSet, ExponentSet>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<ObjectSet, ExponentSet> Freeze for NonZeroFactored<ObjectSet, ExponentSet>where
ObjectSet: Freeze,
impl<ObjectSet, ExponentSet> RefUnwindSafe for NonZeroFactored<ObjectSet, ExponentSet>where
ObjectSet: RefUnwindSafe,
ExponentSet: RefUnwindSafe,
impl<ObjectSet, ExponentSet> Send for NonZeroFactored<ObjectSet, ExponentSet>
impl<ObjectSet, ExponentSet> Sync for NonZeroFactored<ObjectSet, ExponentSet>
impl<ObjectSet, ExponentSet> Unpin for NonZeroFactored<ObjectSet, ExponentSet>
impl<ObjectSet, ExponentSet> UnsafeUnpin for NonZeroFactored<ObjectSet, ExponentSet>where
ObjectSet: UnsafeUnpin,
impl<ObjectSet, ExponentSet> UnwindSafe for NonZeroFactored<ObjectSet, ExponentSet>where
ObjectSet: UnwindSafe,
ExponentSet: 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
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