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§
fn compose_list(&self, elems: Vec<impl Borrow<Self::Set>>) -> Self::Set
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.