pub struct Body<D: Dialect> {
pub instructions: Vec<Instruction<D>>,
pub shared_memories: Vec<SharedMemory<D>>,
pub pipelines: Vec<PipelineOps<D>>,
pub barriers: Vec<BarrierOps<D>>,
pub const_arrays: Vec<ConstArray<D>>,
pub local_arrays: Vec<LocalArray<D>>,
}
Expand description
A body is composed of a list of instructions.
Fields§
§instructions: Vec<Instruction<D>>
§pipelines: Vec<PipelineOps<D>>
§barriers: Vec<BarrierOps<D>>
§const_arrays: Vec<ConstArray<D>>
§local_arrays: Vec<LocalArray<D>>
Trait Implementations§
Auto Trait Implementations§
impl<D> Freeze for Body<D>
impl<D> RefUnwindSafe for Body<D>where
D: RefUnwindSafe,
impl<D> Send for Body<D>
impl<D> Sync for Body<D>
impl<D> Unpin for Body<D>where
D: Unpin,
impl<D> UnwindSafe for Body<D>where
D: UnwindSafe,
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