BuildFrom

Trait BuildFrom 

Source
pub trait BuildFrom<S>: Sized {
    // Required method
    fn build_from(source: S) -> Self;
}

Required Methods§

Source

fn build_from(source: S) -> Self

Converts to this type from the input type.

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§