pub struct WorkgroupArrayDef {
pub element_ty: Type,
pub count: usize,
pub atomic: bool,
}Expand description
workgroupArray( type, count ) — WorkgroupInfoNode: a var<workgroup>
array every invocation of one workgroup shares.
Its identity is the array: two workgroupArray() calls are two arrays,
each named WorkgroupArray_N by the builder in first-use order.
Fields§
§element_ty: TypeThe array’s element type.
count: usizeThe number of elements.
atomic: bool.toAtomic().
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WorkgroupArrayDef
impl RefUnwindSafe for WorkgroupArrayDef
impl Send for WorkgroupArrayDef
impl Sync for WorkgroupArrayDef
impl Unpin for WorkgroupArrayDef
impl UnsafeUnpin for WorkgroupArrayDef
impl UnwindSafe for WorkgroupArrayDef
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