pub enum SymbolKind {
Function {
ty: u32,
import: Option<Import>,
},
Data {
place: Option<Place>,
},
Global {
ty: ValType,
mutable: bool,
import: Option<Import>,
},
Table {
import: Option<Import>,
},
Tag {
ty: u32,
import: Option<Import>,
},
}Expand description
What a symbol is.
Variants§
Function
A function of the type at this index. It is imported when no Function defines it.
Data
A data object. It is defined when it has a place.
Global
A global, always imported.
Table
A table of function references, always imported.
Tag
An exception tag of the function type at this index, always imported.
Trait Implementations§
Source§impl Clone for SymbolKind
impl Clone for SymbolKind
Source§impl Debug for SymbolKind
impl Debug for SymbolKind
impl Eq for SymbolKind
Source§impl PartialEq for SymbolKind
impl PartialEq for SymbolKind
impl StructuralPartialEq for SymbolKind
Auto Trait Implementations§
impl Freeze for SymbolKind
impl RefUnwindSafe for SymbolKind
impl Send for SymbolKind
impl Sync for SymbolKind
impl Unpin for SymbolKind
impl UnsafeUnpin for SymbolKind
impl UnwindSafe for SymbolKind
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> 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.