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