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
source§fn eq(&self, other: &ComdatSymbolKind) -> bool
fn eq(&self, other: &ComdatSymbolKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ComdatSymbolKind
impl Eq for ComdatSymbolKind
impl StructuralPartialEq for ComdatSymbolKind
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.