#[repr(C, align(16))]
pub struct VMGlobalDefinition { /* private fields */ }
Expand description

The storage for a WebAssembly global defined within the instance.

TODO: Pack the globals more densely, rather than using the same size for every type.

Implementations

Construct a VMGlobalDefinition.

Return a reference to the value as an i32.

Return a mutable reference to the value as an i32.

Return a reference to the value as a u32.

Return a mutable reference to the value as an u32.

Return a reference to the value as an i64.

Return a mutable reference to the value as an i64.

Return a reference to the value as an u64.

Return a mutable reference to the value as an u64.

Return a reference to the value as an f32.

Return a mutable reference to the value as an f32.

Return a reference to the value as f32 bits.

Return a mutable reference to the value as f32 bits.

Return a reference to the value as an f64.

Return a mutable reference to the value as an f64.

Return a reference to the value as f64 bits.

Return a mutable reference to the value as f64 bits.

Return a reference to the value as an u128.

Return a mutable reference to the value as an u128.

Return a reference to the value as u128 bits.

Return a mutable reference to the value as u128 bits.

Return a reference to the value as an externref.

Return a mutable reference to the value as an externref.

Return a reference to the value as an anyfunc.

Return a mutable reference to the value as an anyfunc.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.