Struct walrus::ir::AtomicNotify
source · pub struct AtomicNotify {
pub memory: MemoryId,
pub arg: MemArg,
}
Expand description
The atomic.notify
instruction to wake up threads.
Fields§
§memory: MemoryId
The memory we’re notifying through
arg: MemArg
The alignment and offset from the base address
Trait Implementations§
source§impl Clone for AtomicNotify
impl Clone for AtomicNotify
source§fn clone(&self) -> AtomicNotify
fn clone(&self) -> AtomicNotify
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AtomicNotify
impl Debug for AtomicNotify
source§impl From<AtomicNotify> for Instr
impl From<AtomicNotify> for Instr
source§fn from(x: AtomicNotify) -> Instr
fn from(x: AtomicNotify) -> Instr
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for AtomicNotify
impl Send for AtomicNotify
impl Sync for AtomicNotify
impl Unpin for AtomicNotify
impl UnwindSafe for AtomicNotify
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