Enum wasmparser::ComdatSymbolKind
source · pub enum ComdatSymbolKind {
Data,
Func,
Global,
Event,
Table,
Section,
}
Expand description
Represents a symbol kind.
Variants§
Data
The symbol is a data segment.
Func
The symbol is a function.
Global
The symbol is a global.
Event
The symbol is an event.
Table
The symbol is a table.
Section
The symbol is a section.
Trait Implementations§
source§impl Clone for ComdatSymbolKind
impl Clone for ComdatSymbolKind
source§fn clone(&self) -> ComdatSymbolKind
fn clone(&self) -> ComdatSymbolKind
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 ComdatSymbolKind
impl Debug for ComdatSymbolKind
source§impl<'a> FromReader<'a> for ComdatSymbolKind
impl<'a> FromReader<'a> for ComdatSymbolKind
source§fn from_reader(reader: &mut BinaryReader<'a>) -> Result<Self>
fn from_reader(reader: &mut BinaryReader<'a>) -> Result<Self>
Attempts to read
Self
from the provided binary reader, returning an
error if it is unable to do so.source§impl Hash for ComdatSymbolKind
impl Hash for ComdatSymbolKind
source§impl PartialEq for ComdatSymbolKind
impl PartialEq for ComdatSymbolKind
impl Copy for ComdatSymbolKind
impl Eq for ComdatSymbolKind
impl StructuralPartialEq for ComdatSymbolKind
Auto Trait Implementations§
impl Freeze for ComdatSymbolKind
impl RefUnwindSafe for ComdatSymbolKind
impl Send for ComdatSymbolKind
impl Sync for ComdatSymbolKind
impl Unpin for ComdatSymbolKind
impl UnwindSafe for ComdatSymbolKind
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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.