Struct aidl_parser::ast::Type [−][src]
pub struct Type {
pub name: String,
pub kind: TypeKind,
pub generic_types: Vec<Type>,
pub definition: Option<ItemKey>,
pub symbol_range: Range,
}
Fields
name: String
kind: TypeKind
generic_types: Vec<Type>
definition: Option<ItemKey>
symbol_range: Range
Implementations
pub fn simple_type<S: Into<String>>(
name: S,
kind: TypeKind,
lookup: &LineColLookup<'_>,
start: usize,
end: usize
) -> Self
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Type
impl UnwindSafe for Type
Blanket Implementations
Mutably borrows from an owned value. Read more