[−][src]Trait genco::prelude::csharp::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 the name of the type.
fn is_nullable(&self) -> bool
Check if type is nullable.
Provided methods
fn namespace(&self) -> Option<&str>
Get the namespace of the type, if available.
fn type_imports(&self, _: &mut BTreeSet<(ItemStr, ItemStr)>)
Handle imports recursively.