Struct wasmi::GlobalDescriptor
source · [−]pub struct GlobalDescriptor { /* private fields */ }
Expand description
Description of a global variable.
Primarly used to describe imports of global variables.
See ImportResolver
for details.
Implementations
sourceimpl GlobalDescriptor
impl GlobalDescriptor
sourcepub fn value_type(&self) -> ValueType
pub fn value_type(&self) -> ValueType
Returns ValueType
of the requested global.
sourcepub fn is_mutable(&self) -> bool
pub fn is_mutable(&self) -> bool
Returns whether the requested global mutable.
Auto Trait Implementations
impl RefUnwindSafe for GlobalDescriptor
impl Send for GlobalDescriptor
impl Sync for GlobalDescriptor
impl Unpin for GlobalDescriptor
impl UnwindSafe for GlobalDescriptor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more