Struct wasmparser::ComdatSymbol
source · pub struct ComdatSymbol {
pub kind: ComdatSymbolKind,
pub index: u32,
}
Expand description
Represents a symbol that is part of a comdat.
Fields§
§kind: ComdatSymbolKind
The kind of the symbol.
index: u32
The index of the symbol. Must not be an import.
Trait Implementations§
source§impl Clone for ComdatSymbol
impl Clone for ComdatSymbol
source§fn clone(&self) -> ComdatSymbol
fn clone(&self) -> ComdatSymbol
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 ComdatSymbol
impl Debug for ComdatSymbol
source§impl<'a> FromReader<'a> for ComdatSymbol
impl<'a> FromReader<'a> for ComdatSymbol
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.impl Copy for ComdatSymbol
Auto Trait Implementations§
impl Freeze for ComdatSymbol
impl RefUnwindSafe for ComdatSymbol
impl Send for ComdatSymbol
impl Sync for ComdatSymbol
impl Unpin for ComdatSymbol
impl UnwindSafe for ComdatSymbol
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
)