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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more