Struct wasmparser::IndirectNaming
source · pub struct IndirectNaming<'a> {
pub index: u32,
pub names: NameMap<'a>,
}
Expand description
Represents an indirect name in the names custom section.
Fields§
§index: u32
The indirect index of the name.
names: NameMap<'a>
The map of names within the index
prior.
Trait Implementations§
source§impl<'a> Clone for IndirectNaming<'a>
impl<'a> Clone for IndirectNaming<'a>
source§fn clone(&self) -> IndirectNaming<'a>
fn clone(&self) -> IndirectNaming<'a>
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<'a> Debug for IndirectNaming<'a>
impl<'a> Debug for IndirectNaming<'a>
source§impl<'a> FromReader<'a> for IndirectNaming<'a>
impl<'a> FromReader<'a> for IndirectNaming<'a>
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.Auto Trait Implementations§
impl<'a> Freeze for IndirectNaming<'a>
impl<'a> RefUnwindSafe for IndirectNaming<'a>
impl<'a> Send for IndirectNaming<'a>
impl<'a> Sync for IndirectNaming<'a>
impl<'a> Unpin for IndirectNaming<'a>
impl<'a> UnwindSafe for IndirectNaming<'a>
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)