pub struct StmtContext {
pub hir_exprs: Arena<HirExpr>,
}
Expand description
Helper struct passed when parsing expressions
This struct should only be obtained through stmt_ctx
and only one of these may be active at any time per context.
Fields§
§hir_exprs: Arena<HirExpr>
A arena of high level expressions which can be lowered through a
Context
to Naga’s Expression
s
Implementations§
source§impl StmtContext
impl StmtContext
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StmtContext
impl RefUnwindSafe for StmtContext
impl Send for StmtContext
impl Sync for StmtContext
impl Unpin for StmtContext
impl UnwindSafe for StmtContext
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