pub struct AtomicAdd {
pub view: u32,
pub address: [u32; 3],
pub value: u32,
}Expand description
An atomic add (imm_atomic_iadd) to the 32-bit word of an unordered-access view at address: a structured view’s
element and byte offset in its first two lanes, a typed view’s x, y (and z) otherwise (0 where the view has fewer).
Fields§
§view: u32Unordered-access view bind slot (u<n>).
address: [u32; 3]Where the add lands: a structured view’s element and byte offset, or a typed view’s x, y and z.
value: u32The value added to the 32-bit word.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AtomicAdd
impl RefUnwindSafe for AtomicAdd
impl Send for AtomicAdd
impl Sync for AtomicAdd
impl Unpin for AtomicAdd
impl UnsafeUnpin for AtomicAdd
impl UnwindSafe for AtomicAdd
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