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§
impl Freeze for ExportGlobal
impl RefUnwindSafe for ExportGlobal
impl Unpin for ExportGlobal
impl UnwindSafe for ExportGlobal
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)