Struct golem_wasm_ast::component::ComponentExport
source · pub struct ComponentExport {
pub name: ComponentExternName,
pub kind: ComponentExternalKind,
pub idx: u32,
pub desc: Option<ComponentTypeRef>,
}
Fields§
§name: ComponentExternName
§kind: ComponentExternalKind
§idx: u32
§desc: Option<ComponentTypeRef>
Trait Implementations§
source§impl Clone for ComponentExport
impl Clone for ComponentExport
source§fn clone(&self) -> ComponentExport
fn clone(&self) -> ComponentExport
Returns a copy 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 ComponentExport
impl Debug for ComponentExport
source§impl<'a> From<&'a ComponentExport> for (&'a str, ComponentExportKind, u32)
impl<'a> From<&'a ComponentExport> for (&'a str, ComponentExportKind, u32)
source§fn from(value: &'a ComponentExport) -> Self
fn from(value: &'a ComponentExport) -> Self
Converts to this type from the input type.
source§impl From<&ComponentExport> for ComponentExportSection
impl From<&ComponentExport> for ComponentExportSection
source§fn from(value: &ComponentExport) -> Self
fn from(value: &ComponentExport) -> Self
Converts to this type from the input type.
source§impl PartialEq for ComponentExport
impl PartialEq for ComponentExport
source§fn eq(&self, other: &ComponentExport) -> bool
fn eq(&self, other: &ComponentExport) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Section<ComponentIndexSpace, ComponentSectionType> for ComponentExport
impl Section<ComponentIndexSpace, ComponentSectionType> for ComponentExport
fn index_space(&self) -> ComponentIndexSpace
fn section_type(&self) -> ComponentSectionType
source§impl<'a> TryFrom<ComponentExport<'a>> for ComponentExport
impl<'a> TryFrom<ComponentExport<'a>> for ComponentExport
impl Eq for ComponentExport
impl StructuralPartialEq for ComponentExport
Auto Trait Implementations§
impl Freeze for ComponentExport
impl RefUnwindSafe for ComponentExport
impl Send for ComponentExport
impl Sync for ComponentExport
impl Unpin for ComponentExport
impl UnwindSafe for ComponentExport
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.