Struct walrus::ir::AtomicWait
source · pub struct AtomicWait {
pub memory: MemoryId,
pub arg: MemArg,
pub sixty_four: bool,
}
Expand description
The *.atomic.wait
instruction to block threads.
Fields§
§memory: MemoryId
The memory we’re waiting through.
arg: MemArg
The alignment and offset from the base address.
sixty_four: bool
Whether or not this is an i32
or i64
wait.
Trait Implementations§
source§impl Clone for AtomicWait
impl Clone for AtomicWait
source§fn clone(&self) -> AtomicWait
fn clone(&self) -> AtomicWait
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 AtomicWait
impl Debug for AtomicWait
source§impl From<AtomicWait> for Instr
impl From<AtomicWait> for Instr
source§fn from(x: AtomicWait) -> Instr
fn from(x: AtomicWait) -> Instr
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for AtomicWait
impl Send for AtomicWait
impl Sync for AtomicWait
impl Unpin for AtomicWait
impl UnwindSafe for AtomicWait
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