Struct cranelift_wasm::wasmparser::IndirectNameMap
source · [−]pub struct IndirectNameMap<'a> { /* private fields */ }
Expand description
Represents an indirect name map.
Implementations
sourceimpl<'a> IndirectNameMap<'a>
impl<'a> IndirectNameMap<'a>
sourcepub fn get_indirect_map<'b>(
&self
) -> Result<IndirectNamingReader<'b>, BinaryReaderError> where
'a: 'b,
pub fn get_indirect_map<'b>(
&self
) -> Result<IndirectNamingReader<'b>, BinaryReaderError> where
'a: 'b,
Gets an indirect naming reader for the map.
sourcepub fn original_position(&self) -> usize
pub fn original_position(&self) -> usize
Gets an original position of the map.
Trait Implementations
sourceimpl<'a> Clone for IndirectNameMap<'a>
impl<'a> Clone for IndirectNameMap<'a>
sourcefn clone(&self) -> IndirectNameMap<'a>
fn clone(&self) -> IndirectNameMap<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for IndirectNameMap<'a>
impl<'a> Debug for IndirectNameMap<'a>
impl<'a> Copy for IndirectNameMap<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for IndirectNameMap<'a>
impl<'a> Send for IndirectNameMap<'a>
impl<'a> Sync for IndirectNameMap<'a>
impl<'a> Unpin for IndirectNameMap<'a>
impl<'a> UnwindSafe for IndirectNameMap<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more