pub trait BuildFrom<S>: Sized {
// Required method
fn build_from(source: S) -> Self;
}Required Methods§
Sourcefn build_from(source: S) -> Self
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.