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
sourceimpl<'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
sourceimpl<'a> Clone for IndirectNaming<'a>
impl<'a> Clone for IndirectNaming<'a>
sourcefn clone(&self) -> IndirectNaming<'a>
fn clone(&self) -> IndirectNaming<'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 IndirectNaming<'a>
impl<'a> Debug for IndirectNaming<'a>
impl<'a> Copy for IndirectNaming<'a>
Auto Trait Implementations
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
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