Enum golem_wasm_ast::core::CoreIndexSpace
source · pub enum CoreIndexSpace {
Show 13 variants
Type,
Func,
Table,
Mem,
Global,
Elem,
Data,
Local,
Label,
Code,
Export,
Start,
Custom,
}
Expand description
The core index space
See IndexSpace for more information.
Variants§
Trait Implementations§
source§impl Clone for CoreIndexSpace
impl Clone for CoreIndexSpace
source§fn clone(&self) -> CoreIndexSpace
fn clone(&self) -> CoreIndexSpace
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 CoreIndexSpace
impl Debug for CoreIndexSpace
source§impl IndexSpace for CoreIndexSpace
impl IndexSpace for CoreIndexSpace
source§impl Ord for CoreIndexSpace
impl Ord for CoreIndexSpace
source§fn cmp(&self, other: &CoreIndexSpace) -> Ordering
fn cmp(&self, other: &CoreIndexSpace) -> 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 CoreIndexSpace
impl PartialEq for CoreIndexSpace
source§fn eq(&self, other: &CoreIndexSpace) -> bool
fn eq(&self, other: &CoreIndexSpace) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CoreIndexSpace
impl PartialOrd for CoreIndexSpace
source§fn partial_cmp(&self, other: &CoreIndexSpace) -> Option<Ordering>
fn partial_cmp(&self, other: &CoreIndexSpace) -> 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<Ast: AstCustomization> Section<CoreIndexSpace, CoreSectionType> for CoreSection<Ast>
impl<Ast: AstCustomization> Section<CoreIndexSpace, CoreSectionType> for CoreSection<Ast>
fn index_space(&self) -> CoreIndexSpace
fn section_type(&self) -> CoreSectionType
source§impl Section<CoreIndexSpace, CoreSectionType> for Custom
impl Section<CoreIndexSpace, CoreSectionType> for Custom
fn index_space(&self) -> CoreIndexSpace
fn section_type(&self) -> CoreSectionType
source§impl<Expr: Debug + Clone + PartialEq> Section<CoreIndexSpace, CoreSectionType> for Data<Expr>
impl<Expr: Debug + Clone + PartialEq> Section<CoreIndexSpace, CoreSectionType> for Data<Expr>
fn index_space(&self) -> CoreIndexSpace
fn section_type(&self) -> CoreSectionType
source§impl Section<CoreIndexSpace, CoreSectionType> for DataCount
impl Section<CoreIndexSpace, CoreSectionType> for DataCount
fn index_space(&self) -> CoreIndexSpace
fn section_type(&self) -> CoreSectionType
source§impl<Expr: Debug + Clone + PartialEq> Section<CoreIndexSpace, CoreSectionType> for Elem<Expr>
impl<Expr: Debug + Clone + PartialEq> Section<CoreIndexSpace, CoreSectionType> for Elem<Expr>
fn index_space(&self) -> CoreIndexSpace
fn section_type(&self) -> CoreSectionType
source§impl Section<CoreIndexSpace, CoreSectionType> for Export
impl Section<CoreIndexSpace, CoreSectionType> for Export
fn index_space(&self) -> CoreIndexSpace
fn section_type(&self) -> CoreSectionType
source§impl<Expr: Debug + Clone + PartialEq> Section<CoreIndexSpace, CoreSectionType> for FuncCode<Expr>
impl<Expr: Debug + Clone + PartialEq> Section<CoreIndexSpace, CoreSectionType> for FuncCode<Expr>
fn index_space(&self) -> CoreIndexSpace
fn section_type(&self) -> CoreSectionType
source§impl Section<CoreIndexSpace, CoreSectionType> for FuncType
impl Section<CoreIndexSpace, CoreSectionType> for FuncType
fn index_space(&self) -> CoreIndexSpace
fn section_type(&self) -> CoreSectionType
source§impl Section<CoreIndexSpace, CoreSectionType> for FuncTypeRef
impl Section<CoreIndexSpace, CoreSectionType> for FuncTypeRef
fn index_space(&self) -> CoreIndexSpace
fn section_type(&self) -> CoreSectionType
source§impl Section<CoreIndexSpace, CoreSectionType> for Global
impl Section<CoreIndexSpace, CoreSectionType> for Global
fn index_space(&self) -> CoreIndexSpace
fn section_type(&self) -> CoreSectionType
source§impl Section<CoreIndexSpace, CoreSectionType> for IgnoredCustom
impl Section<CoreIndexSpace, CoreSectionType> for IgnoredCustom
fn index_space(&self) -> CoreIndexSpace
fn section_type(&self) -> CoreSectionType
source§impl Section<CoreIndexSpace, CoreSectionType> for IgnoredData
impl Section<CoreIndexSpace, CoreSectionType> for IgnoredData
fn index_space(&self) -> CoreIndexSpace
fn section_type(&self) -> CoreSectionType
source§impl Section<CoreIndexSpace, CoreSectionType> for Import
impl Section<CoreIndexSpace, CoreSectionType> for Import
fn index_space(&self) -> CoreIndexSpace
fn section_type(&self) -> CoreSectionType
source§impl Section<CoreIndexSpace, CoreSectionType> for Mem
impl Section<CoreIndexSpace, CoreSectionType> for Mem
fn index_space(&self) -> CoreIndexSpace
fn section_type(&self) -> CoreSectionType
source§impl Section<CoreIndexSpace, CoreSectionType> for MetadataOnlyCustom
impl Section<CoreIndexSpace, CoreSectionType> for MetadataOnlyCustom
fn index_space(&self) -> CoreIndexSpace
fn section_type(&self) -> CoreSectionType
source§impl Section<CoreIndexSpace, CoreSectionType> for Start
impl Section<CoreIndexSpace, CoreSectionType> for Start
fn index_space(&self) -> CoreIndexSpace
fn section_type(&self) -> CoreSectionType
source§impl Section<CoreIndexSpace, CoreSectionType> for Table
impl Section<CoreIndexSpace, CoreSectionType> for Table
fn index_space(&self) -> CoreIndexSpace
fn section_type(&self) -> CoreSectionType
impl Eq for CoreIndexSpace
impl StructuralPartialEq for CoreIndexSpace
Auto Trait Implementations§
impl Freeze for CoreIndexSpace
impl RefUnwindSafe for CoreIndexSpace
impl Send for CoreIndexSpace
impl Sync for CoreIndexSpace
impl Unpin for CoreIndexSpace
impl UnwindSafe for CoreIndexSpace
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.