Struct wasmtime_environ::wasmparser::IndirectNaming
source · pub struct IndirectNaming<'a> {
pub indirect_index: u32,
/* private fields */
}
Expand description
Represents an indirect name in the names custom section.
Fields§
§indirect_index: u32
The indirect index of the name.
Implementations§
source§impl<'a> IndirectNaming<'a>
impl<'a> IndirectNaming<'a>
sourcepub fn get_map<'b>(&self) -> Result<NamingReader<'b>, BinaryReaderError>where
'a: 'b,
pub fn get_map<'b>(&self) -> Result<NamingReader<'b>, BinaryReaderError>where
'a: 'b,
Gets the naming reader for the indirect name.
sourcepub fn original_position(&self) -> usize
pub fn original_position(&self) -> usize
Gets the original position of the indirect name.
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 more