Skip to main content

ToType

Trait ToType 

Source
pub trait ToType {
    // Required method
    fn to_type(&self) -> Type;
}

Required Methods§

Source

fn to_type(&self) -> Type

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§