pub struct ExportGlobal {
pub definition: *mut VMGlobalDefinition,
pub vmctx: *mut VMContext,
pub global: Global,
}Expand description
A global export value.
Fields§
§definition: *mut VMGlobalDefinitionThe address of the global storage.
vmctx: *mut VMContextPointer to the containing VMContext.
global: GlobalThe 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 duplicate of the value. Read more
1.0.0 (const: unstable) · 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.
Auto Trait Implementations§
impl !Send for ExportGlobal
impl !Sync for ExportGlobal
impl Freeze for ExportGlobal
impl RefUnwindSafe for ExportGlobal
impl Unpin for ExportGlobal
impl UnsafeUnpin 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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more