[][src]Trait conventus::AssembleFrom

pub trait AssembleFrom<N> where
    Self: Sized
{ type Error: Error; fn assemble_from(
        components: &mut Vec<N>
    ) -> Result<Self, AssembleFailure<Self::Error>>; }

Converts a sequence of components of type N into Self.

Associated Types

type Error: Error

The type of the error that could be thrown during assembly.

Loading content...

Required methods

fn assemble_from(
    components: &mut Vec<N>
) -> Result<Self, AssembleFailure<Self::Error>>

Converts components into a Self.

Loading content...

Implementors

Loading content...