Struct golem_wasm_ast::core::Export
source · pub struct Export {
pub name: String,
pub desc: ExportDesc,
}
Expand description
The exports component of a module defines a set of exports that become accessible to the host environment once the module has been instantiated.
Each export is labeled by a unique name. Exportable definitions are functions, tables, memories, and globals, which are referenced through a respective descriptor.
Fields§
§name: String
§desc: ExportDesc
Trait Implementations§
source§impl From<&Export> for ExportSection
impl From<&Export> for ExportSection
source§impl PartialEq for Export
impl PartialEq for Export
source§impl Section<CoreIndexSpace, CoreSectionType> for Export
impl Section<CoreIndexSpace, CoreSectionType> for Export
fn index_space(&self) -> CoreIndexSpace
fn section_type(&self) -> CoreSectionType
impl Eq for Export
impl StructuralPartialEq for Export
Auto Trait Implementations§
impl Freeze for Export
impl RefUnwindSafe for Export
impl Send for Export
impl Sync for Export
impl Unpin for Export
impl UnwindSafe for Export
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
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.