Skip to main content

AssociativeCompositionSignature

Trait AssociativeCompositionSignature 

Source
pub trait AssociativeCompositionSignature: CompositionSignature {
    // Provided method
    fn compose_nonempty_list(
        &self,
        elems: Vec<impl Borrow<Self::Set>>,
    ) -> Option<Self::Set> { ... }
}
Expand description

When composition is associative.

Provided Methods§

Source

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

Returns None if the list is empty.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§