pub struct Expr {
pub span: TokenSpan,
pub ty: RefCell<Option<Ty>>,
pub const_val: RefCell<Option<Option<Val>>>,
pub const_index: Cell<Option<usize>>,
pub kind: ExprKind,
}
Fields§
§span: TokenSpan
§ty: RefCell<Option<Ty>>
§const_val: RefCell<Option<Option<Val>>>
§const_index: Cell<Option<usize>>
§kind: ExprKind
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Expr
impl !RefUnwindSafe for Expr
impl !Send for Expr
impl !Sync for Expr
impl Unpin for Expr
impl UnwindSafe for Expr
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