pub struct ExportedGlobal { /* private fields */ }Expand description
Exported global metadata.
Implementations§
Source§impl ExportedGlobal
impl ExportedGlobal
Sourcepub const fn new(name: ExportName, index: u32, mutable: bool) -> Self
pub const fn new(name: ExportName, index: u32, mutable: bool) -> Self
Creates exported global metadata.
Sourcepub const fn is_mutable(&self) -> bool
pub const fn is_mutable(&self) -> bool
Returns ‘true’ when the exported global is mutable.
Trait Implementations§
Source§impl Clone for ExportedGlobal
impl Clone for ExportedGlobal
Source§fn clone(&self) -> ExportedGlobal
fn clone(&self) -> ExportedGlobal
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 ExportedGlobal
impl Debug for ExportedGlobal
Source§impl Hash for ExportedGlobal
impl Hash for ExportedGlobal
Source§impl PartialEq for ExportedGlobal
impl PartialEq for ExportedGlobal
Source§fn eq(&self, other: &ExportedGlobal) -> bool
fn eq(&self, other: &ExportedGlobal) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ExportedGlobal
impl StructuralPartialEq for ExportedGlobal
Auto Trait Implementations§
impl Freeze for ExportedGlobal
impl RefUnwindSafe for ExportedGlobal
impl Send for ExportedGlobal
impl Sync for ExportedGlobal
impl Unpin for ExportedGlobal
impl UnsafeUnpin for ExportedGlobal
impl UnwindSafe for ExportedGlobal
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