pub trait AsType: Debug {
    // Required method
    fn as_type(&self) -> Type;
}

Required Methods§

fn as_type(&self) -> Type

Implementors§

§

impl AsType for Type

source§

impl AsType for CallbackInterface

source§

impl AsType for Enum

source§

impl AsType for Argument

source§

impl AsType for Object

source§

impl AsType for Field

source§

impl AsType for Record

§

impl<T, C> AsType for T
where T: Deref<Target = C> + Debug, C: AsType,