pub struct LocalsReader<'a> { /* private fields */ }
Expand description
A reader for a function body’s locals.
Implementations§
Source§impl<'a> LocalsReader<'a>
impl<'a> LocalsReader<'a>
Trait Implementations§
Source§impl<'a> IntoIterator for LocalsReader<'a>
impl<'a> IntoIterator for LocalsReader<'a>
Source§type Item = Result<(u32, ValType), BinaryReaderError>
type Item = Result<(u32, ValType), BinaryReaderError>
The type of the elements being iterated over.
Source§type IntoIter = LocalsIterator<'a>
type IntoIter = LocalsIterator<'a>
Which kind of iterator are we turning this into?
Source§fn into_iter(self) -> <LocalsReader<'a> as IntoIterator>::IntoIter
fn into_iter(self) -> <LocalsReader<'a> as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
Auto Trait Implementations§
impl<'a> Freeze for LocalsReader<'a>
impl<'a> RefUnwindSafe for LocalsReader<'a>
impl<'a> Send for LocalsReader<'a>
impl<'a> Sync for LocalsReader<'a>
impl<'a> Unpin for LocalsReader<'a>
impl<'a> UnwindSafe for LocalsReader<'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