Struct gimli::read::DebugInfoUnitHeadersIter
source · pub struct DebugInfoUnitHeadersIter<R: Reader> {
input: R,
offset: DebugInfoOffset<R::Offset>,
}
Expand description
An iterator over the units of a .debug_info section.
See the documentation on
DebugInfo::units
for more detail.
Fields§
§input: R
§offset: DebugInfoOffset<R::Offset>
Implementations§
source§impl<R: Reader> DebugInfoUnitHeadersIter<R>
impl<R: Reader> DebugInfoUnitHeadersIter<R>
sourcepub fn next(&mut self) -> Result<Option<UnitHeader<R>>>
pub fn next(&mut self) -> Result<Option<UnitHeader<R>>>
Advance the iterator to the next unit header.
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for DebugInfoUnitHeadersIter<R>
impl<R> RefUnwindSafe for DebugInfoUnitHeadersIter<R>
impl<R> Send for DebugInfoUnitHeadersIter<R>
impl<R> Sync for DebugInfoUnitHeadersIter<R>
impl<R> Unpin for DebugInfoUnitHeadersIter<R>
impl<R> UnwindSafe for DebugInfoUnitHeadersIter<R>
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