Struct wasmtime_runtime::ExportGlobal
source · pub struct ExportGlobal {
pub definition: *mut VMGlobalDefinition,
pub global: Global,
}
Expand description
A global export value.
Fields§
§definition: *mut VMGlobalDefinition
The address of the global storage.
global: Global
The global declaration, used for compatibilty checking.
Trait Implementations§
source§impl Clone for ExportGlobal
impl Clone for ExportGlobal
source§fn clone(&self) -> ExportGlobal
fn clone(&self) -> ExportGlobal
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 ExportGlobal
impl Debug for ExportGlobal
source§impl From<ExportGlobal> for Export
impl From<ExportGlobal> for Export
source§fn from(func: ExportGlobal) -> Export
fn from(func: ExportGlobal) -> Export
Converts to this type from the input type.
impl Send for ExportGlobal
impl Sync for ExportGlobal
Auto Trait Implementations§
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