pub enum ExprType {
Lit(i128),
Unary(UnaryExprType, Box<Expr>),
Binary(BinaryExprType, Box<Expr>, Box<Expr>),
TypeExpr(TypeExprType, Box<Type>),
Builtin(BuiltinExpr),
Name(String),
Offsetof(OffsetofType, Type, Vec<Index>),
}Variants§
Lit(i128)
Unary(UnaryExprType, Box<Expr>)
Binary(BinaryExprType, Box<Expr>, Box<Expr>)
TypeExpr(TypeExprType, Box<Type>)
Builtin(BuiltinExpr)
Name(String)
Offsetof(OffsetofType, Type, Vec<Index>)
Trait Implementations§
impl Eq for ExprType
impl StructuralPartialEq for ExprType
Auto Trait Implementations§
impl Freeze for ExprType
impl RefUnwindSafe for ExprType
impl Send for ExprType
impl Sync for ExprType
impl Unpin for ExprType
impl UnwindSafe for ExprType
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