TypeExtension

Trait TypeExtension 

Source
pub trait TypeExtension {
    // Required method
    fn get_self(&self) -> &Type;

    // Provided methods
    fn as_path(&self) -> CodamaResult<&Path> { ... }
    fn single_generic_type_from_path(&self, path: &str) -> CodamaResult<&Type> { ... }
}

Required Methods§

Source

fn get_self(&self) -> &Type

Provided Methods§

Implementations on Foreign Types§

Source§

impl TypeExtension for Type

Source§

fn get_self(&self) -> &Type

Implementors§