[−][src]Struct gimli::read::LocListIter
An iterator over a location list.
This iterator internally handles processing of base address selection entries and list end entries. Thus, it only returns location entries that are valid and already adjusted for the base address.
Implementations
impl<R: Reader> LocListIter<R>
[src]
pub fn next(&mut self) -> Result<Option<LocationListEntry<R>>>
[src]
Advance the iterator to the next location.
Trait Implementations
impl<R: Debug + Reader> Debug for LocListIter<R> where
R::Offset: Debug,
[src]
R::Offset: Debug,
impl<R: Reader> FallibleIterator for LocListIter<R>
[src]
type Item = LocationListEntry<R>
The type being iterated over.
type Error = Error
The error type.
fn next(&mut self) -> Result<Option<Self::Item>, Self::Error>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn count(self) -> Result<usize, Self::Error>
[src]
fn last(self) -> Result<Option<Self::Item>, Self::Error>
[src]
fn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>
[src]
fn step_by(self, step: usize) -> StepBy<Self>
[src]
fn chain<I>(self, it: I) -> Chain<Self, I> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
fn zip<I>(
self,
o: I
) -> Zip<Self, <I as IntoFallibleIterator>::IntoFallibleIter> where
I: IntoFallibleIterator<Error = Self::Error>,
[src]
self,
o: I
) -> Zip<Self, <I as IntoFallibleIterator>::IntoFallibleIter> where
I: IntoFallibleIterator<Error = Self::Error>,
fn map<F, B>(self, f: F) -> Map<Self, F> where
F: FnMut(Self::Item) -> Result<B, Self::Error>,
[src]
F: FnMut(Self::Item) -> Result<B, Self::Error>,
fn for_each<F>(self, f: F) -> Result<(), Self::Error> where
F: FnMut(Self::Item) -> Result<(), Self::Error>,
[src]
F: FnMut(Self::Item) -> Result<(), Self::Error>,
fn filter<F>(self, f: F) -> Filter<Self, F> where
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn enumerate(self) -> Enumerate<Self>
[src]
fn peekable(self) -> Peekable<Self>
[src]
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
P: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn skip(self, n: usize) -> Skip<Self>
[src]
fn take(self, n: usize) -> Take<Self>
[src]
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
[src]
F: FnMut(&mut St, Self::Item) -> Result<Option<B>, Self::Error>,
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where
F: FnMut(Self::Item) -> Result<U, Self::Error>,
U: IntoFallibleIterator<Error = Self::Error>,
[src]
F: FnMut(Self::Item) -> Result<U, Self::Error>,
U: IntoFallibleIterator<Error = Self::Error>,
fn flatten(self) -> Flatten<Self> where
Self::Item: IntoFallibleIterator,
<Self::Item as IntoFallibleIterator>::Error == Self::Error,
[src]
Self::Item: IntoFallibleIterator,
<Self::Item as IntoFallibleIterator>::Error == Self::Error,
fn fuse(self) -> Fuse<Self>
[src]
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
[src]
F: FnMut(&Self::Item) -> Result<(), Self::Error>,
fn by_ref(&mut self) -> &mut Self
[src]
fn collect<T>(self) -> Result<T, Self::Error> where
T: FromFallibleIterator<Self::Item>,
[src]
T: FromFallibleIterator<Self::Item>,
fn partition<B, F>(self, f: F) -> Result<(B, B), Self::Error> where
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
B: Default + Extend<Self::Item>,
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
[src]
F: FnMut(B, Self::Item) -> Result<B, Self::Error>,
fn try_fold<B, E, F>(&mut self, init: B, f: F) -> Result<B, E> where
E: From<Self::Error>,
F: FnMut(B, Self::Item) -> Result<B, E>,
[src]
E: From<Self::Error>,
F: FnMut(B, Self::Item) -> Result<B, E>,
fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
[src]
F: FnMut(&Self::Item) -> Result<bool, Self::Error>,
fn find_map<B, F>(&mut self, f: F) -> Result<Option<B>, Self::Error> where
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
[src]
F: FnMut(Self::Item) -> Result<Option<B>, Self::Error>,
fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
[src]
F: FnMut(Self::Item) -> Result<bool, Self::Error>,
fn max(self) -> Result<Option<Self::Item>, Self::Error> where
Self::Item: Ord,
[src]
Self::Item: Ord,
fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn max_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn min(self) -> Result<Option<Self::Item>, Self::Error> where
Self::Item: Ord,
[src]
Self::Item: Ord,
fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
[src]
B: Ord,
F: FnMut(&Self::Item) -> Result<B, Self::Error>,
fn min_by<F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
[src]
F: FnMut(&Self::Item, &Self::Item) -> Result<Ordering, Self::Error>,
fn rev(self) -> Rev<Self> where
Self: DoubleEndedFallibleIterator,
[src]
Self: DoubleEndedFallibleIterator,
fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> where
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
Self: FallibleIterator<Item = (A, B)>,
[src]
FromA: Default + Extend<A>,
FromB: Default + Extend<B>,
Self: FallibleIterator<Item = (A, B)>,
fn cloned<'a, T>(self) -> Cloned<Self> where
Self: FallibleIterator<Item = &'a T>,
T: 'a + Clone,
[src]
Self: FallibleIterator<Item = &'a T>,
T: 'a + Clone,
fn cycle(self) -> Cycle<Self> where
Self: Clone,
[src]
Self: Clone,
fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
[src]
I: IntoFallibleIterator<Item = Self::Item, Error = Self::Error>,
Self::Item: Ord,
fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<<I as IntoFallibleIterator>::Item>,
[src]
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<<I as IntoFallibleIterator>::Item>,
fn eq<I>(self, other: I) -> Result<bool, Self::Error> where
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<<I as IntoFallibleIterator>::Item>,
[src]
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<<I as IntoFallibleIterator>::Item>,
fn ne<I>(self, other: I) -> Result<bool, Self::Error> where
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<<I as IntoFallibleIterator>::Item>,
[src]
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialEq<<I as IntoFallibleIterator>::Item>,
fn lt<I>(self, other: I) -> Result<bool, Self::Error> where
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<<I as IntoFallibleIterator>::Item>,
[src]
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<<I as IntoFallibleIterator>::Item>,
fn le<I>(self, other: I) -> Result<bool, Self::Error> where
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<<I as IntoFallibleIterator>::Item>,
[src]
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<<I as IntoFallibleIterator>::Item>,
fn gt<I>(self, other: I) -> Result<bool, Self::Error> where
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<<I as IntoFallibleIterator>::Item>,
[src]
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<<I as IntoFallibleIterator>::Item>,
fn ge<I>(self, other: I) -> Result<bool, Self::Error> where
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<<I as IntoFallibleIterator>::Item>,
[src]
I: IntoFallibleIterator<Error = Self::Error>,
Self::Item: PartialOrd<<I as IntoFallibleIterator>::Item>,
fn iterator(self) -> Iterator<Self>
[src]
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where
F: FnMut(Self::Error) -> B,
[src]
F: FnMut(Self::Error) -> B,
Auto Trait Implementations
impl<R> RefUnwindSafe for LocListIter<R> where
R: RefUnwindSafe,
<R as Reader>::Offset: RefUnwindSafe,
R: RefUnwindSafe,
<R as Reader>::Offset: RefUnwindSafe,
impl<R> Send for LocListIter<R> where
R: Send,
<R as Reader>::Offset: Send,
R: Send,
<R as Reader>::Offset: Send,
impl<R> Sync for LocListIter<R> where
R: Sync,
<R as Reader>::Offset: Sync,
R: Sync,
<R as Reader>::Offset: Sync,
impl<R> Unpin for LocListIter<R> where
R: Unpin,
<R as Reader>::Offset: Unpin,
R: Unpin,
<R as Reader>::Offset: Unpin,
impl<R> UnwindSafe for LocListIter<R> where
R: UnwindSafe,
<R as Reader>::Offset: UnwindSafe,
R: UnwindSafe,
<R as Reader>::Offset: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<I> IntoFallibleIterator for I where
I: FallibleIterator,
[src]
I: FallibleIterator,
type Item = <I as FallibleIterator>::Item
The elements of the iterator.
type Error = <I as FallibleIterator>::Error
The error value of the iterator.
type IntoFallibleIter = I
The iterator.
fn into_fallible_iter(self) -> I
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,