pub struct Group<Domain, G>{ /* private fields */ }
Expand description
The actual group.
Implementations§
Source§impl<Domain, G> Group<Domain, G>
impl<Domain, G> Group<Domain, G>
Sourcepub fn new(gset: Vec<Domain>, generators: Vec<G>) -> Group<Domain, G>
pub fn new(gset: Vec<Domain>, generators: Vec<G>) -> Group<Domain, G>
Creates a group with a given set of generators on a certain gset.
Sourcepub fn size(&self) -> usize
pub fn size(&self) -> usize
The order of the group, i.e. the number of elements this group has.
Trait Implementations§
Auto Trait Implementations§
impl<Domain, G> Freeze for Group<Domain, G>
impl<Domain, G> RefUnwindSafe for Group<Domain, G>where
Domain: RefUnwindSafe,
G: RefUnwindSafe,
impl<Domain, G> Send for Group<Domain, G>
impl<Domain, G> Sync for Group<Domain, G>
impl<Domain, G> Unpin for Group<Domain, G>
impl<Domain, G> UnwindSafe for Group<Domain, G>where
Domain: UnwindSafe,
G: 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