MonoidSignature

Trait MonoidSignature 

Source
pub trait MonoidSignature: IdentitySignature + AssociativeCompositionSignature {
    // Provided methods
    fn compose_list(&self, elems: Vec<impl Borrow<Self::Set>>) -> Self::Set { ... }
    fn nat_pow(&self, a: &Self::Set, n: &Natural) -> Self::Set { ... }
}
Expand description

When compose(x, e) = compose(e, x) = x for all x.

Provided Methods§

Source

fn compose_list(&self, elems: Vec<impl Borrow<Self::Set>>) -> Self::Set

Source

fn nat_pow(&self, a: &Self::Set, n: &Natural) -> Self::Set

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl MonoidSignature for C2CanonicalStructure

Source§

impl MonoidSignature for algebraeon_groups::permutation::PermutationCanonicalStructure

Source§

impl<const N: usize> MonoidSignature for algebraeon_groups::examples::symmetric::PermutationCanonicalStructure<N>