Struct makepad_widgets::shader::std::makepad_shader_compiler::shader_ast::Expr
pub struct Expr {
pub span: TokenSpan,
pub ty: RefCell<Option<ShaderTy>>,
pub const_val: RefCell<Option<Option<Val>>>,
pub const_index: Cell<Option<usize>>,
pub kind: ExprKind,
}Fields§
§span: TokenSpan§ty: RefCell<Option<ShaderTy>>§const_val: RefCell<Option<Option<Val>>>§const_index: Cell<Option<usize>>§kind: ExprKindTrait 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§
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