Struct makepad_shader_compiler::shader_ast::ConstDef
source · pub struct ConstDef {
pub span: TokenSpan,
pub ident: Ident,
pub ty_expr: TyExpr,
pub expr: Expr,
}
Fields§
§span: TokenSpan
§ident: Ident
§ty_expr: TyExpr
§expr: Expr
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ConstDef
impl !Send for ConstDef
impl !Sync for ConstDef
impl Unpin for ConstDef
impl UnwindSafe for ConstDef
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