Trait permutation_rs::group::GroupElement [] [src]

pub trait GroupElement {
    fn is_identity(&self) -> bool;
fn times(&self, multiplicant: &Self) -> Self;
fn inverse(&self) -> Self; }

The contract for a group element.

Required Methods

Determine if the group element is the identity.

The associated operation of the Group.

Returns the inverse of the group element.

Implementors