pub enum C2 {
Identity,
Flip,
}Variants§
Trait Implementations§
Source§impl Group for C2
impl Group for C2
fn identity() -> Self
fn inverse(self) -> Self
fn compose_mut(&mut self, other: &Self)
fn inverse_ref(&self) -> Self
fn compose(a: Self, b: Self) -> Self
fn compose_lref(a: &Self, b: Self) -> Self
fn compose_rref(a: Self, b: &Self) -> Self
fn compose_refs(a: &Self, b: &Self) -> Self
fn compose_list(elems: Vec<impl Borrow<Self>>) -> Self
fn nat_pow(&self, n: &Natural) -> Self
fn int_pow(&self, n: &Integer) -> Self
fn generated_finite_subgroup_table(
generators: Vec<Self>,
) -> (Group, Vec<Self>, HashMap<Self, usize>)where
Self: Hash,
fn generated_finite_subgroup(gens: Vec<Self>) -> FiniteSubgroup<Self>where
Self: Hash,
impl Copy for C2
impl Eq for C2
impl StructuralPartialEq for C2
Auto Trait Implementations§
impl Freeze for C2
impl RefUnwindSafe for C2
impl Send for C2
impl Sync for C2
impl Unpin for C2
impl UnwindSafe for C2
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