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 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 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§fn eq(&self, other: &ComponentIndexSpace) -> bool
fn eq(&self, other: &ComponentIndexSpace) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ComponentIndexSpace
impl PartialOrd for ComponentIndexSpace
source§fn partial_cmp(&self, other: &ComponentIndexSpace) -> Option<Ordering>
fn partial_cmp(&self, other: &ComponentIndexSpace) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§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
impl Section<ComponentIndexSpace, ComponentSectionType> for IgnoredCustom
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
impl Section<ComponentIndexSpace, ComponentSectionType> for MetadataOnlyCustom
fn index_space(&self) -> ComponentIndexSpace
fn section_type(&self) -> ComponentSectionType
source§impl<Ast: AstCustomization> Section<ComponentIndexSpace, ComponentSectionType> for Module<Ast>
impl<Ast: AstCustomization> Section<ComponentIndexSpace, ComponentSectionType> for Module<Ast>
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§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> 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.