IdentitySignature

Trait IdentitySignature 

Source
pub trait IdentitySignature: SetSignature {
    // Required method
    fn identity(&self) -> Self::Set;
}
Expand description

A set with a special element e called the identity element.

Required Methods§

Source

fn identity(&self) -> Self::Set

Returns the identity element e.

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 IdentitySignature for C2CanonicalStructure

Source§

impl IdentitySignature for algebraeon_groups::permutation::PermutationCanonicalStructure

Source§

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