Struct grammers_tl_parser::tl::Type [−][src]
pub struct Type { pub namespace: Vec<String>, pub name: String, pub bare: bool, pub generic_ref: bool, pub generic_arg: Option<Box<Type>>, }
The type of a definition or a parameter.
Fields
namespace: Vec<String>
The namespace components of the type.
name: String
The name of the type.
bare: bool
Whether this type is bare or boxed.
generic_ref: bool
Whether the type name refers to a generic definition.
generic_arg: Option<Box<Type>>
If the type has a generic argument, which is its type.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Type
impl RefUnwindSafe for Type
impl UnwindSafe for Type
impl UnwindSafe for Type