Struct wasmbin::instructions::MemArg
source · pub struct MemArg {
pub align_log2: u32,
pub memory: MemId,
pub offset: u32,
}
Expand description
Fields§
§align_log2: u32
§memory: MemId
Available on crate feature
§multi-memory
only.offset: u32
Trait Implementations§
source§impl<const ALIGN_LOG2: u32> From<AlignedMemArg<ALIGN_LOG2>> for MemArg
Available on crate feature threads
only.
impl<const ALIGN_LOG2: u32> From<AlignedMemArg<ALIGN_LOG2>> for MemArg
Available on crate feature
threads
only.source§fn from(arg: AlignedMemArg<ALIGN_LOG2>) -> MemArg
fn from(arg: AlignedMemArg<ALIGN_LOG2>) -> MemArg
Converts to this type from the input type.
source§impl PartialEq for MemArg
impl PartialEq for MemArg
source§impl Visit for MemArgwhere
Self: 'static,
impl Visit for MemArgwhere
Self: 'static,
source§fn visit_children<'a, VisitT: 'static, VisitE, VisitF: FnMut(&'a VisitT) -> Result<(), VisitE>>(
&'a self,
f: &mut VisitF
) -> Result<(), VisitError<VisitE>>
fn visit_children<'a, VisitT: 'static, VisitE, VisitF: FnMut(&'a VisitT) -> Result<(), VisitE>>( &'a self, f: &mut VisitF ) -> Result<(), VisitError<VisitE>>
Traverse the children of this value with the provided callback.
source§fn visit_children_mut<VisitT: 'static, VisitE, VisitF: FnMut(&mut VisitT) -> Result<(), VisitE>>(
&mut self,
f: &mut VisitF
) -> Result<(), VisitError<VisitE>>
fn visit_children_mut<VisitT: 'static, VisitE, VisitF: FnMut(&mut VisitT) -> Result<(), VisitE>>( &mut self, f: &mut VisitF ) -> Result<(), VisitError<VisitE>>
Traverse the children of this value mutably with the provided callback.
source§fn visit<'a, T: 'static, R: VisitResult, F: FnMut(&'a T) -> R>(
&'a self,
f: F
) -> Result<(), VisitError<R::Error>>
fn visit<'a, T: 'static, R: VisitResult, F: FnMut(&'a T) -> R>( &'a self, f: F ) -> Result<(), VisitError<R::Error>>
Traverse this value with the provided callback.
source§fn visit_mut<T: 'static, R: VisitResult, F: FnMut(&mut T) -> R>(
&mut self,
f: F
) -> Result<(), VisitError<R::Error>>
fn visit_mut<T: 'static, R: VisitResult, F: FnMut(&mut T) -> R>( &mut self, f: F ) -> Result<(), VisitError<R::Error>>
Traverse this value mutably with the provided callback.
impl Eq for MemArg
impl StructuralEq for MemArg
impl StructuralPartialEq for MemArg
Auto Trait Implementations§
impl RefUnwindSafe for MemArg
impl Send for MemArg
impl Sync for MemArg
impl Unpin for MemArg
impl UnwindSafe for MemArg
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