Struct wasmtime_environ::VMOffsetsFields [−][src]
pub struct VMOffsetsFields { pub pointer_size: u8, pub num_signature_ids: u32, pub num_imported_functions: u32, pub num_imported_tables: u32, pub num_imported_memories: u32, pub num_imported_globals: u32, pub num_defined_functions: u32, pub num_defined_tables: u32, pub num_defined_memories: u32, pub num_defined_globals: u32, }
Expand description
Used to construct a VMOffsets
Fields
pointer_size: u8
The size in bytes of a pointer on the target.
num_signature_ids: u32
The number of signature declarations in the module.
num_imported_functions: u32
The number of imported functions in the module.
num_imported_tables: u32
The number of imported tables in the module.
num_imported_memories: u32
The number of imported memories in the module.
num_imported_globals: u32
The number of imported globals in the module.
num_defined_functions: u32
The number of defined functions in the module.
num_defined_tables: u32
The number of defined tables in the module.
num_defined_memories: u32
The number of defined memories in the module.
num_defined_globals: u32
The number of defined globals in the module.
Trait Implementations
impl Clone for VMOffsetsFields
[src]
impl Clone for VMOffsetsFields
[src]fn clone(&self) -> VMOffsetsFields
[src]
fn clone(&self) -> VMOffsetsFields
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for VMOffsetsFields
[src]
impl Debug for VMOffsetsFields
[src]impl From<VMOffsetsFields> for VMOffsets
[src]
impl From<VMOffsetsFields> for VMOffsets
[src]fn from(fields: VMOffsetsFields) -> VMOffsets
[src]
fn from(fields: VMOffsetsFields) -> VMOffsets
[src]Performs the conversion.
impl Copy for VMOffsetsFields
[src]
Auto Trait Implementations
impl RefUnwindSafe for VMOffsetsFields
impl Send for VMOffsetsFields
impl Sync for VMOffsetsFields
impl Unpin for VMOffsetsFields
impl UnwindSafe for VMOffsetsFields
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more