Struct makepad_shader_compiler::shader_ast::Expr
source · [−]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 !RefUnwindSafe for Expr
impl !Send for Expr
impl !Sync for Expr
impl Unpin for Expr
impl UnwindSafe for Expr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more