pub struct ImportedGlobal { /* private fields */ }Expand description
Imported global metadata.
Implementations§
Source§impl ImportedGlobal
impl ImportedGlobal
Sourcepub const fn new(
module: ImportModuleName,
name: ImportName,
mutable: bool,
) -> Self
pub const fn new( module: ImportModuleName, name: ImportName, mutable: bool, ) -> Self
Creates imported global metadata.
Sourcepub const fn is_mutable(&self) -> bool
pub const fn is_mutable(&self) -> bool
Returns ‘true’ when the imported global is mutable.
Trait Implementations§
Source§impl Clone for ImportedGlobal
impl Clone for ImportedGlobal
Source§fn clone(&self) -> ImportedGlobal
fn clone(&self) -> ImportedGlobal
Returns a duplicate 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 ImportedGlobal
impl Debug for ImportedGlobal
Source§impl Hash for ImportedGlobal
impl Hash for ImportedGlobal
Source§impl PartialEq for ImportedGlobal
impl PartialEq for ImportedGlobal
impl Eq for ImportedGlobal
impl StructuralPartialEq for ImportedGlobal
Auto Trait Implementations§
impl Freeze for ImportedGlobal
impl RefUnwindSafe for ImportedGlobal
impl Send for ImportedGlobal
impl Sync for ImportedGlobal
impl Unpin for ImportedGlobal
impl UnsafeUnpin for ImportedGlobal
impl UnwindSafe for ImportedGlobal
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