[][src]Trait genco::prelude::js::TypeTrait

pub trait TypeTrait: 'static + Debug + LangItem<JavaScript> {
    fn as_enum(&self) -> TypeEnum;
}

Trait implemented by all types.

Required methods

fn as_enum(&self) -> TypeEnum

Coerce trait into an enum that can be used for type-specific operations.

Loading content...

Implementors

impl TypeTrait for Import[src]

impl TypeTrait for ImportDefault[src]

impl TypeTrait for Local[src]

Loading content...