Trait bones_schema::FromType
source · pub trait FromType<T> {
// Required method
fn from_type() -> Self;
}
Expand description
Trait implemented for types that can produce an instance of themselves from a Rust type.
This is useful for type datas, which may be derived for a type if the type data
implements FromType
for type that is deriving it.
Required Methods§
Object Safety§
This trait is not object safe.