pub enum TypeExpr {
Var(String),
StructVar(String),
Ptr(PTypeExpr),
Struct(Vec<(PTypeExpr, String)>),
FunctionPtr(PTypeExpr, Vec<PTypeExpr>),
Array(PTypeExpr),
}
Variants§
Var(String)
StructVar(String)
Ptr(PTypeExpr)
Struct(Vec<(PTypeExpr, String)>)
FunctionPtr(PTypeExpr, Vec<PTypeExpr>)
Array(PTypeExpr)
Trait Implementations§
impl Eq for TypeExpr
impl StructuralPartialEq for TypeExpr
Auto Trait Implementations§
impl Freeze for TypeExpr
impl RefUnwindSafe for TypeExpr
impl !Send for TypeExpr
impl !Sync for TypeExpr
impl Unpin for TypeExpr
impl UnwindSafe for TypeExpr
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