pub enum ComponentIndexSpace {
Show 14 variants
Func,
CoreType,
Type,
Module,
Component,
CoreInstance,
Instance,
Value,
CoreTable,
CoreFunc,
CoreGlobal,
CoreMem,
Start,
Custom,
}Expand description
The Component Model index spaces.
See IndexSpace for more information.
Variants§
Func
CoreType
Type
Module
Component
CoreInstance
Instance
Value
CoreTable
CoreFunc
CoreGlobal
CoreMem
Start
Custom
Trait Implementations§
Source§impl Clone for ComponentIndexSpace
impl Clone for ComponentIndexSpace
Source§fn clone(&self) -> ComponentIndexSpace
fn clone(&self) -> ComponentIndexSpace
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 ComponentIndexSpace
impl Debug for ComponentIndexSpace
Source§impl IndexSpace for ComponentIndexSpace
impl IndexSpace for ComponentIndexSpace
Source§impl Ord for ComponentIndexSpace
impl Ord for ComponentIndexSpace
Source§fn cmp(&self, other: &ComponentIndexSpace) -> Ordering
fn cmp(&self, other: &ComponentIndexSpace) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ComponentIndexSpace
impl PartialEq for ComponentIndexSpace
Source§impl PartialOrd for ComponentIndexSpace
impl PartialOrd for ComponentIndexSpace
Source§impl Section<ComponentIndexSpace, ComponentSectionType> for Alias
impl Section<ComponentIndexSpace, ComponentSectionType> for Alias
fn index_space(&self) -> ComponentIndexSpace
fn section_type(&self) -> ComponentSectionType
Source§impl Section<ComponentIndexSpace, ComponentSectionType> for Canon
impl Section<ComponentIndexSpace, ComponentSectionType> for Canon
fn index_space(&self) -> ComponentIndexSpace
fn section_type(&self) -> ComponentSectionType
Source§impl<Ast: AstCustomization> Section<ComponentIndexSpace, ComponentSectionType> for Component<Ast>
impl<Ast: AstCustomization> Section<ComponentIndexSpace, ComponentSectionType> for Component<Ast>
fn index_space(&self) -> ComponentIndexSpace
fn section_type(&self) -> ComponentSectionType
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 Section<ComponentIndexSpace, ComponentSectionType> for ComponentImport
impl Section<ComponentIndexSpace, ComponentSectionType> for ComponentImport
fn index_space(&self) -> ComponentIndexSpace
fn section_type(&self) -> ComponentSectionType
Source§impl Section<ComponentIndexSpace, ComponentSectionType> for ComponentInstance
impl Section<ComponentIndexSpace, ComponentSectionType> for ComponentInstance
fn index_space(&self) -> ComponentIndexSpace
fn section_type(&self) -> ComponentSectionType
Source§impl<Ast: AstCustomization> Section<ComponentIndexSpace, ComponentSectionType> for ComponentSection<Ast>
impl<Ast: AstCustomization> Section<ComponentIndexSpace, ComponentSectionType> for ComponentSection<Ast>
fn index_space(&self) -> ComponentIndexSpace
fn section_type(&self) -> ComponentSectionType
Source§impl Section<ComponentIndexSpace, ComponentSectionType> for ComponentStart
impl Section<ComponentIndexSpace, ComponentSectionType> for ComponentStart
fn index_space(&self) -> ComponentIndexSpace
fn section_type(&self) -> ComponentSectionType
Source§impl Section<ComponentIndexSpace, ComponentSectionType> for ComponentType
impl Section<ComponentIndexSpace, ComponentSectionType> for ComponentType
fn index_space(&self) -> ComponentIndexSpace
fn section_type(&self) -> ComponentSectionType
Source§impl Section<ComponentIndexSpace, ComponentSectionType> for CoreType
impl Section<ComponentIndexSpace, ComponentSectionType> for CoreType
fn index_space(&self) -> ComponentIndexSpace
fn section_type(&self) -> ComponentSectionType
Source§impl Section<ComponentIndexSpace, ComponentSectionType> for Custom
impl Section<ComponentIndexSpace, ComponentSectionType> for Custom
fn index_space(&self) -> ComponentIndexSpace
fn section_type(&self) -> ComponentSectionType
Source§impl Section<ComponentIndexSpace, ComponentSectionType> for IgnoredCustom
Available on crate feature component only.
impl Section<ComponentIndexSpace, ComponentSectionType> for IgnoredCustom
Available on crate feature
component only.fn index_space(&self) -> ComponentIndexSpace
fn section_type(&self) -> ComponentSectionType
Source§impl Section<ComponentIndexSpace, ComponentSectionType> for Instance
impl Section<ComponentIndexSpace, ComponentSectionType> for Instance
fn index_space(&self) -> ComponentIndexSpace
fn section_type(&self) -> ComponentSectionType
Source§impl Section<ComponentIndexSpace, ComponentSectionType> for MetadataOnlyCustom
Available on crate feature component only.
impl Section<ComponentIndexSpace, ComponentSectionType> for MetadataOnlyCustom
Available on crate feature
component only.fn index_space(&self) -> ComponentIndexSpace
fn section_type(&self) -> ComponentSectionType
Source§impl<Ast: AstCustomization> Section<ComponentIndexSpace, ComponentSectionType> for Module<Ast>
Available on crate feature component only.
impl<Ast: AstCustomization> Section<ComponentIndexSpace, ComponentSectionType> for Module<Ast>
Available on crate feature
component only.fn index_space(&self) -> ComponentIndexSpace
fn section_type(&self) -> ComponentSectionType
impl Eq for ComponentIndexSpace
impl StructuralPartialEq for ComponentIndexSpace
Auto Trait Implementations§
impl Freeze for ComponentIndexSpace
impl RefUnwindSafe for ComponentIndexSpace
impl Send for ComponentIndexSpace
impl Sync for ComponentIndexSpace
impl Unpin for ComponentIndexSpace
impl UnwindSafe for ComponentIndexSpace
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§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more