Struct gimli::read::pubtypes::PubTypesEntryIter
source · pub struct PubTypesEntryIter<R: Reader>(LookupEntryIter<R, PubStuffParser<R, PubTypesEntry<R>>>);
Expand description
An iterator over the pubtypes from a .debug_pubtypes
section.
Can be used with
FallibleIterator
.
Tuple Fields§
§0: LookupEntryIter<R, PubStuffParser<R, PubTypesEntry<R>>>
Implementations§
source§impl<R: Reader> PubTypesEntryIter<R>
impl<R: Reader> PubTypesEntryIter<R>
sourcepub fn next(&mut self) -> Result<Option<PubTypesEntry<R>>>
pub fn next(&mut self) -> Result<Option<PubTypesEntry<R>>>
Advance the iterator and return the next pubtype.
Returns the newly parsed pubtype as Ok(Some(pubtype))
. Returns
Ok(None)
when iteration is complete and all pubtypes have already been
parsed and yielded. If an error occurs while parsing the next pubtype,
then this error is returned as Err(e)
, and all subsequent calls return
Ok(None)
.
Trait Implementations§
source§impl<R: Clone + Reader> Clone for PubTypesEntryIter<R>
impl<R: Clone + Reader> Clone for PubTypesEntryIter<R>
source§fn clone(&self) -> PubTypesEntryIter<R>
fn clone(&self) -> PubTypesEntryIter<R>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<R> Freeze for PubTypesEntryIter<R>
impl<R> RefUnwindSafe for PubTypesEntryIter<R>
impl<R> Send for PubTypesEntryIter<R>
impl<R> Sync for PubTypesEntryIter<R>
impl<R> Unpin for PubTypesEntryIter<R>
impl<R> UnwindSafe for PubTypesEntryIter<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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)