Struct cranelift_wasm::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<ComdatSymbol, BinaryReaderError>
fn from_reader( reader: &mut BinaryReader<'a> ) -> Result<ComdatSymbol, BinaryReaderError>
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