[−][src]Trait genco::prelude::java::TypeTrait
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
fn name(&self) -> &str
Get package type belongs to.
Provided methods
fn package(&self) -> Option<&str>
Get package type belongs to.
fn arguments(&self) -> Option<&[TypeBox]>
Get generic arguments associated with type.
fn type_imports(&self, _: &mut BTreeSet<(ItemStr, ItemStr)>)
Process which kinds of imports to deal with.