Trait qsym2::group::FiniteOrder

source ·
pub trait FiniteOrder {
    type Int: Integer;

    // Required method
    fn order(&self) -> Self::Int;
}
Expand description

Trait for order finiteness of group elements.

Required Associated Types§

source

type Int: Integer

The integer type for the order of the element.

Required Methods§

source

fn order(&self) -> Self::Int

Returns the finite order of the element.

Implementors§