Trait TypeTrait
genco::js
pub trait TypeTrait: 'static + Debug + LangItem<JavaScript> { fn as_enum(&self) -> AnyRef; }
Trait implemented by all types
fn as_enum(&self) -> AnyRef
Coerce trait into an enum that can be used for type-specific operations
impl TypeTrait for Import
impl TypeTrait for ImportDefault
impl TypeTrait for Local