Struct chd::iter::MetadataEntries
source · pub struct MetadataEntries<'a, F: Read + Seek + 'a> { /* private fields */ }
Available on
unstable_lending_iterators
only.Expand description
An iterator over the metadata entries of a CHD file.
Trait Implementations§
source§impl<'next, 'a, F: Read + Seek> LendingIteratorඞItem<'next> for MetadataEntries<'a, F>
impl<'next, 'a, F: Read + Seek> LendingIteratorඞItem<'next> for MetadataEntries<'a, F>
type T = MetadataEntry<'next, F>
source§impl<'a, F: Read + Seek> LendingIterator for MetadataEntries<'a, F>
impl<'a, F: Read + Seek> LendingIterator for MetadataEntries<'a, F>
source§fn filter<F>(self, should_yield: F) -> Filter<Self, F>
fn filter<F>(self, should_yield: F) -> Filter<Self, F>
LendingIterator
counterpart of Iterator::filter()
.source§fn for_each(self, f: impl FnMut(Self::T))where
Self: Sized,
fn for_each(self, f: impl FnMut(Self::T))where
Self: Sized,
LendingIterator
counterpart of Iterator::for_each()
.source§fn fold<Acc>(self, acc: Acc, f: impl FnMut(Acc, Self::T) -> Acc) -> Accwhere
Self: Sized,
fn fold<Acc>(self, acc: Acc, f: impl FnMut(Acc, Self::T) -> Acc) -> Accwhere
Self: Sized,
LendingIterator
counterpart of Iterator::fold()
.source§fn try_for_each<Err>(
&mut self,
f: impl FnMut(Self::T) -> Result<(), Err>
) -> Result<(), Err>
fn try_for_each<Err>( &mut self, f: impl FnMut(Self::T) -> Result<(), Err> ) -> Result<(), Err>
LendingIterator
counterpart of Iterator::try_for_each()
.source§fn try_fold<Acc, Err>(
&mut self,
acc: Acc,
f: impl FnMut(Acc, Self::T) -> Result<Acc, Err>
) -> Result<Acc, Err>
fn try_fold<Acc, Err>( &mut self, acc: Acc, f: impl FnMut(Acc, Self::T) -> Result<Acc, Err> ) -> Result<Acc, Err>
LendingIterator
counterpart of Iterator::try_fold()
.source§fn all(&mut self, predicate: impl FnMut(Self::T) -> bool) -> boolwhere
Self: Sized,
fn all(&mut self, predicate: impl FnMut(Self::T) -> bool) -> boolwhere
Self: Sized,
LendingIterator
counterpart of Iterator::all()
.source§fn any(&mut self, predicate: impl FnMut(Self::T) -> bool) -> boolwhere
Self: Sized,
fn any(&mut self, predicate: impl FnMut(Self::T) -> bool) -> boolwhere
Self: Sized,
LendingIterator
counterpart of Iterator::any()
.source§fn by_ref(&mut self) -> &mut Selfwhere
Self: Sized,
fn by_ref(&mut self) -> &mut Selfwhere
Self: Sized,
LendingIterator
counterpart of Iterator::by_ref()
.source§fn count(self) -> usizewhere
Self: Sized,
fn count(self) -> usizewhere
Self: Sized,
LendingIterator
counterpart of Iterator::count()
.source§fn find<'find>(
&'find mut self,
predicate: impl FnMut(&Self::T) -> bool + 'find
) -> Option<Self::T>where
Self: Sized,
fn find<'find>(
&'find mut self,
predicate: impl FnMut(&Self::T) -> bool + 'find
) -> Option<Self::T>where
Self: Sized,
LendingIterator
counterpart of Iterator::find()
.source§fn fuse(self) -> Fuse<Self>where
Self: Sized,
fn fuse(self) -> Fuse<Self>where
Self: Sized,
LendingIterator
counterpart of Iterator::fuse()
.source§fn nth(&mut self, n: usize) -> Option<Self::T>
fn nth(&mut self, n: usize) -> Option<Self::T>
LendingIterator
counterpart of Iterator::nth()
.source§fn position<F>(
&mut self,
predicate: impl FnMut(Self::T) -> bool
) -> Option<usize>where
Self: Sized,
fn position<F>(
&mut self,
predicate: impl FnMut(Self::T) -> bool
) -> Option<usize>where
Self: Sized,
LendingIterator
counterpart of Iterator::position()
.source§fn skip(self, count: usize) -> Skip<Self>where
Self: Sized,
fn skip(self, count: usize) -> Skip<Self>where
Self: Sized,
LendingIterator
counterpart of Iterator::skip()
.source§fn take(self, count: usize) -> Take<Self>where
Self: Sized,
fn take(self, count: usize) -> Take<Self>where
Self: Sized,
LendingIterator
counterpart of Iterator::take()
.source§fn map<NewItemType, F>(self, f: F) -> Map<Self, F, NewItemType>where
NewItemType: HKT,
F: for<'next> FnMut([&'next Self; 0], Self::T) -> <NewItemType as WithLifetime<'next>>::T,
Self: Sized,
fn map<NewItemType, F>(self, f: F) -> Map<Self, F, NewItemType>where
NewItemType: HKT,
F: for<'next> FnMut([&'next Self; 0], Self::T) -> <NewItemType as WithLifetime<'next>>::T,
Self: Sized,
source§fn map_to_ref<R, F>(
self,
f: F
) -> Map<Self, F, HKT<dyn for<'ඞ> WithLifetime<'ඞ, T = &'ඞ R>>>
fn map_to_ref<R, F>( self, f: F ) -> Map<Self, F, HKT<dyn for<'ඞ> WithLifetime<'ඞ, T = &'ඞ R>>>
source§fn map_to_mut<R, F>(
self,
f: F
) -> Map<Self, F, HKT<dyn for<'ඞ> WithLifetime<'ඞ, T = &'ඞ mut R>>>
fn map_to_mut<R, F>( self, f: F ) -> Map<Self, F, HKT<dyn for<'ඞ> WithLifetime<'ඞ, T = &'ඞ mut R>>>
source§fn map_into_iter<F, NonLendingItem>(self, f: F) -> MapIntoIter<Self, F>
fn map_into_iter<F, NonLendingItem>(self, f: F) -> MapIntoIter<Self, F>
Convenience shorthand for
.map…(…).into_iter()
. Read moresource§fn filter_map<NewItemType, F>(self, f: F) -> FilterMap<Self, F, NewItemType>where
NewItemType: HKT,
F: for<'next> FnMut([&'next Self; 0], Self::T) -> Option<<NewItemType as WithLifetime<'next>>::T>,
Self: Sized,
fn filter_map<NewItemType, F>(self, f: F) -> FilterMap<Self, F, NewItemType>where
NewItemType: HKT,
F: for<'next> FnMut([&'next Self; 0], Self::T) -> Option<<NewItemType as WithLifetime<'next>>::T>,
Self: Sized,
source§fn filter_map_to_ref<R, F>(
self,
f: F
) -> FilterMap<Self, F, HKT<dyn for<'ඞ> WithLifetime<'ඞ, T = &'ඞ R>>>
fn filter_map_to_ref<R, F>( self, f: F ) -> FilterMap<Self, F, HKT<dyn for<'ඞ> WithLifetime<'ඞ, T = &'ඞ R>>>
Convenience method: same as
.filter_map()
, but for hard-coding the
HKT
parameter to HKTRef<R> = HKT!(&R)
. Read moresource§fn filter_map_to_mut<R, F>(
self,
f: F
) -> FilterMap<Self, F, HKT<dyn for<'ඞ> WithLifetime<'ඞ, T = &'ඞ mut R>>>
fn filter_map_to_mut<R, F>( self, f: F ) -> FilterMap<Self, F, HKT<dyn for<'ඞ> WithLifetime<'ඞ, T = &'ඞ mut R>>>
Convenience method: same as
.filter_map()
, but for hard-coding the
HKT
parameter to HKTRefMut<R> = HKT!(&mut R)
. Read moresource§fn filter_map_into_iter<F, NonLendingItem>(
self,
f: F
) -> FilterMapIntoIter<Self, F>
fn filter_map_into_iter<F, NonLendingItem>( self, f: F ) -> FilterMapIntoIter<Self, F>
Convenience shorthand for
.filter_map…(…).into_iter()
. Read moresource§fn into_iter<Item>(self) -> IntoIter<Self>where
Self: for<'any> LendingIteratorඞItem<'any, T = Item> + Sized,
fn into_iter<Item>(self) -> IntoIter<Self>where
Self: for<'any> LendingIteratorඞItem<'any, T = Item> + Sized,
source§fn dyn_boxed<'usability>(
self
) -> Box<dyn LendingIteratorDyn<Item = HKT<dyn for<'ඞ> WithLifetime<'ඞ, T = Self::T>>> + 'usability>where
Self: 'usability + Sized,
fn dyn_boxed<'usability>(
self
) -> Box<dyn LendingIteratorDyn<Item = HKT<dyn for<'ඞ> WithLifetime<'ඞ, T = Self::T>>> + 'usability>where
Self: 'usability + Sized,
source§fn dyn_boxed_auto<BoxedDynLendingIterator, Item>(
self
) -> BoxedDynLendingIterator
fn dyn_boxed_auto<BoxedDynLendingIterator, Item>( self ) -> BoxedDynLendingIterator
Auto Trait Implementations§
impl<'a, F> RefUnwindSafe for MetadataEntries<'a, F>where
F: RefUnwindSafe,
impl<'a, F> Send for MetadataEntries<'a, F>where
F: Send,
impl<'a, F> Sync for MetadataEntries<'a, F>where
F: Sync,
impl<'a, F> Unpin for MetadataEntries<'a, F>
impl<'a, F> !UnwindSafe for MetadataEntries<'a, F>
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