Trait type_description::AsTypeDescription
source · pub trait AsTypeDescription {
// Required method
fn as_type_description() -> TypeDescription;
}
Expand description
Turn a Rust type into a TypeDescription
object
Crate authors can either implement this manually or use the TypeDescription
derive
macro.
Required Methods§
sourcefn as_type_description() -> TypeDescription
fn as_type_description() -> TypeDescription
Get a TypeDescription
object from the type