Struct gimli::read::RawLocListIter
source · pub struct RawLocListIter<R: Reader> {
input: R,
encoding: Encoding,
format: LocListsFormat,
}
Expand description
A raw iterator over a location list.
This iterator does not perform any processing of the location entries, such as handling base addresses.
Fields§
§input: R
§encoding: Encoding
§format: LocListsFormat
Implementations§
source§impl<R: Reader> RawLocListIter<R>
impl<R: Reader> RawLocListIter<R>
sourcefn new(
input: R,
encoding: Encoding,
format: LocListsFormat,
) -> RawLocListIter<R>
fn new( input: R, encoding: Encoding, format: LocListsFormat, ) -> RawLocListIter<R>
Construct a RawLocListIter
.
sourcepub fn next(&mut self) -> Result<Option<RawLocListEntry<R>>>
pub fn next(&mut self) -> Result<Option<RawLocListEntry<R>>>
Advance the iterator to the next location.
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for RawLocListIter<R>where
R: Freeze,
impl<R> RefUnwindSafe for RawLocListIter<R>where
R: RefUnwindSafe,
impl<R> Send for RawLocListIter<R>where
R: Send,
impl<R> Sync for RawLocListIter<R>where
R: Sync,
impl<R> Unpin for RawLocListIter<R>where
R: Unpin,
impl<R> UnwindSafe for RawLocListIter<R>where
R: UnwindSafe,
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