Trait TypeTrait
genco::lang::python
pub trait TypeTrait: 'static + Debug + LangItem<Python> { fn as_enum(&self) -> AnyRef; }
Trait implemented by all language items.
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 ImportModule