pub enum TypeData {
EnumType(ParenElems),
RangeType(Box<Expr>, Option<Vec<(Ident, Option<Box<Expr>>)>>),
ArrayType(ParenElems, SubtypeInd),
RecordType(Vec<(Vec<Ident>, SubtypeInd)>),
AccessType(SubtypeInd),
FileType(CompoundName),
ProtectedType(Vec<DeclItem>),
}Variants§
EnumType(ParenElems)
RangeType(Box<Expr>, Option<Vec<(Ident, Option<Box<Expr>>)>>)
ArrayType(ParenElems, SubtypeInd)
RecordType(Vec<(Vec<Ident>, SubtypeInd)>)
AccessType(SubtypeInd)
FileType(CompoundName)
ProtectedType(Vec<DeclItem>)
Trait Implementations§
impl Eq for TypeData
impl StructuralPartialEq for TypeData
Auto Trait Implementations§
impl Freeze for TypeData
impl RefUnwindSafe for TypeData
impl Send for TypeData
impl Sync for TypeData
impl Unpin for TypeData
impl UnwindSafe for TypeData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more