struct Body {
parent: usize,
data: Vec<BodyFragment>,
}
Expand description
An intermediate representation of a Naga Block
.
This will be assembled into a Block
once we’ve added spills for phi nodes
and out-of-scope expressions. See BlockContext
for details.
Fields§
§parent: usize
The index of the direct parent of this body
data: Vec<BodyFragment>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Body
impl RefUnwindSafe for Body
impl Send for Body
impl Sync for Body
impl Unpin for Body
impl UnwindSafe for Body
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