pub struct StreamingSpectrumIterator<C, D, S, I>{ /* private fields */ }
Expand description
An alternative implementation of SpectrumSource
for non-rewindable underlying iterators.
When the source doesn’t support io::Seek
, most reader types don’t
even implement SpectrumSource
, although they still implement
Iterator
. The StreamingSpectrumIterator
wrapper does implement parts of SpectrumSource
using less efficient
mechanism, but in situations where it cannot satisfy the request, it will panic
instead. It also,
naturally doesn’t support reading spectra that have already been seen as the stream cannot be reversed.
Implementations§
Source§impl<C, D, S, I> StreamingSpectrumIterator<C, D, S, I>
impl<C, D, S, I> StreamingSpectrumIterator<C, D, S, I>
Trait Implementations§
Source§impl<C, D, S> From<Receiver<S>> for StreamingSpectrumIterator<C, D, S, SpectrumReceiver<C, D, S>>
impl<C, D, S> From<Receiver<S>> for StreamingSpectrumIterator<C, D, S, SpectrumReceiver<C, D, S>>
Source§fn from(
value: Receiver<S>,
) -> StreamingSpectrumIterator<C, D, S, SpectrumReceiver<C, D, S>> ⓘ
fn from( value: Receiver<S>, ) -> StreamingSpectrumIterator<C, D, S, SpectrumReceiver<C, D, S>> ⓘ
Source§impl<C, D, S> From<SpectrumReceiver<C, D, S>> for StreamingSpectrumIterator<C, D, S, SpectrumReceiver<C, D, S>>
impl<C, D, S> From<SpectrumReceiver<C, D, S>> for StreamingSpectrumIterator<C, D, S, SpectrumReceiver<C, D, S>>
Source§fn from(
value: SpectrumReceiver<C, D, S>,
) -> StreamingSpectrumIterator<C, D, S, SpectrumReceiver<C, D, S>> ⓘ
fn from( value: SpectrumReceiver<C, D, S>, ) -> StreamingSpectrumIterator<C, D, S, SpectrumReceiver<C, D, S>> ⓘ
Source§impl<C, D, I> IntoIonMobilityFrameSource<C, D> for StreamingSpectrumIterator<C, D, MultiLayerSpectrum<C, D>, I>where
C: CentroidLike + From<CentroidPeak>,
D: DeconvolutedCentroidLike + From<DeconvolutedPeak>,
I: Iterator<Item = MultiLayerSpectrum<C, D>>,
impl<C, D, I> IntoIonMobilityFrameSource<C, D> for StreamingSpectrumIterator<C, D, MultiLayerSpectrum<C, D>, I>where
C: CentroidLike + From<CentroidPeak>,
D: DeconvolutedCentroidLike + From<DeconvolutedPeak>,
I: Iterator<Item = MultiLayerSpectrum<C, D>>,
Source§type IonMobilityFrameSource<CF: FeatureLike<MZ, IonMobility>, DF: FeatureLike<Mass, IonMobility> + KnownCharge> = Generic3DIonMobilityFrameSource<C, D, StreamingSpectrumIterator<C, D, MultiLayerSpectrum<C, D>, I>, CF, DF>
type IonMobilityFrameSource<CF: FeatureLike<MZ, IonMobility>, DF: FeatureLike<Mass, IonMobility> + KnownCharge> = Generic3DIonMobilityFrameSource<C, D, StreamingSpectrumIterator<C, D, MultiLayerSpectrum<C, D>, I>, CF, DF>
Source§fn has_ion_mobility(&mut self) -> Option<HasIonMobility>
fn has_ion_mobility(&mut self) -> Option<HasIonMobility>
SpectrumSource
, testing
for the presence of ion mobility data.Source§fn try_into_frame_source<CF, DF>(
self,
) -> Result<<StreamingSpectrumIterator<C, D, MultiLayerSpectrum<C, D>, I> as IntoIonMobilityFrameSource<C, D>>::IonMobilityFrameSource<CF, DF>, IntoIonMobilityFrameSourceError>
fn try_into_frame_source<CF, DF>( self, ) -> Result<<StreamingSpectrumIterator<C, D, MultiLayerSpectrum<C, D>, I> as IntoIonMobilityFrameSource<C, D>>::IonMobilityFrameSource<CF, DF>, IntoIonMobilityFrameSourceError>
SpectrumSource
into an IonMobilityFrameSource
, returning IntoIonMobilityFrameSourceError
if it is not possibleSource§fn into_frame_source<CF, DF>(self) -> Self::IonMobilityFrameSource<CF, DF>
fn into_frame_source<CF, DF>(self) -> Self::IonMobilityFrameSource<CF, DF>
IntoIonMobilityFrameSource::try_into_frame_source
, panicking if an error is returned.Source§impl<C, D, S, I> Iterator for StreamingSpectrumIterator<C, D, S, I>
impl<C, D, S, I> Iterator for StreamingSpectrumIterator<C, D, S, I>
Source§fn next(
&mut self,
) -> Option<<StreamingSpectrumIterator<C, D, S, I> as Iterator>::Item>
fn next( &mut self, ) -> Option<<StreamingSpectrumIterator<C, D, S, I> as Iterator>::Item>
Source§fn next_chunk<const N: usize>(
&mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
Self: Sized,
fn next_chunk<const N: usize>(
&mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
Self: Sized,
iter_next_chunk
)N
values. Read more1.0.0 · Source§fn size_hint(&self) -> (usize, Option<usize>)
fn size_hint(&self) -> (usize, Option<usize>)
1.0.0 · Source§fn count(self) -> usizewhere
Self: Sized,
fn count(self) -> usizewhere
Self: Sized,
1.0.0 · Source§fn last(self) -> Option<Self::Item>where
Self: Sized,
fn last(self) -> Option<Self::Item>where
Self: Sized,
Source§fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>
fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>
iter_advance_by
)n
elements. Read more1.0.0 · Source§fn nth(&mut self, n: usize) -> Option<Self::Item>
fn nth(&mut self, n: usize) -> Option<Self::Item>
n
th element of the iterator. Read more1.28.0 · Source§fn step_by(self, step: usize) -> StepBy<Self>where
Self: Sized,
fn step_by(self, step: usize) -> StepBy<Self>where
Self: Sized,
1.0.0 · Source§fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
1.0.0 · Source§fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>where
Self: Sized,
U: IntoIterator,
fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>where
Self: Sized,
U: IntoIterator,
Source§fn intersperse(self, separator: Self::Item) -> Intersperse<Self>
fn intersperse(self, separator: Self::Item) -> Intersperse<Self>
iter_intersperse
)separator
between adjacent
items of the original iterator. Read moreSource§fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
iter_intersperse
)separator
between adjacent items of the original iterator. Read more1.0.0 · Source§fn map<B, F>(self, f: F) -> Map<Self, F>
fn map<B, F>(self, f: F) -> Map<Self, F>
1.0.0 · Source§fn filter<P>(self, predicate: P) -> Filter<Self, P>
fn filter<P>(self, predicate: P) -> Filter<Self, P>
1.0.0 · Source§fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
1.0.0 · Source§fn enumerate(self) -> Enumerate<Self>where
Self: Sized,
fn enumerate(self) -> Enumerate<Self>where
Self: Sized,
1.0.0 · Source§fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
1.0.0 · Source§fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
1.57.0 · Source§fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
1.0.0 · Source§fn skip(self, n: usize) -> Skip<Self>where
Self: Sized,
fn skip(self, n: usize) -> Skip<Self>where
Self: Sized,
n
elements. Read more1.0.0 · Source§fn take(self, n: usize) -> Take<Self>where
Self: Sized,
fn take(self, n: usize) -> Take<Self>where
Self: Sized,
n
elements, or fewer
if the underlying iterator ends sooner. Read more1.0.0 · Source§fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
1.29.0 · Source§fn flatten(self) -> Flatten<Self>
fn flatten(self) -> Flatten<Self>
Source§fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
iter_map_windows
)f
for each contiguous window of size N
over
self
and returns an iterator over the outputs of f
. Like slice::windows()
,
the windows during mapping overlap as well. Read more1.0.0 · Source§fn inspect<F>(self, f: F) -> Inspect<Self, F>
fn inspect<F>(self, f: F) -> Inspect<Self, F>
1.0.0 · Source§fn by_ref(&mut self) -> &mut Selfwhere
Self: Sized,
fn by_ref(&mut self) -> &mut Selfwhere
Self: Sized,
Iterator
. Read moreSource§fn try_collect<B>(
&mut self,
) -> <<Self::Item as Try>::Residual as Residual<B>>::TryType
fn try_collect<B>( &mut self, ) -> <<Self::Item as Try>::Residual as Residual<B>>::TryType
iterator_try_collect
)Source§fn collect_into<E>(self, collection: &mut E) -> &mut E
fn collect_into<E>(self, collection: &mut E) -> &mut E
iter_collect_into
)1.0.0 · Source§fn partition<B, F>(self, f: F) -> (B, B)
fn partition<B, F>(self, f: F) -> (B, B)
Source§fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
iter_partition_in_place
)true
precede all those that return false
.
Returns the number of true
elements found. Read moreSource§fn is_partitioned<P>(self, predicate: P) -> bool
fn is_partitioned<P>(self, predicate: P) -> bool
iter_is_partitioned
)true
precede all those that return false
. Read more1.27.0 · Source§fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
1.27.0 · Source§fn try_for_each<F, R>(&mut self, f: F) -> R
fn try_for_each<F, R>(&mut self, f: F) -> R
1.0.0 · Source§fn fold<B, F>(self, init: B, f: F) -> B
fn fold<B, F>(self, init: B, f: F) -> B
1.51.0 · Source§fn reduce<F>(self, f: F) -> Option<Self::Item>
fn reduce<F>(self, f: F) -> Option<Self::Item>
Source§fn try_reduce<R>(
&mut self,
f: impl FnMut(Self::Item, Self::Item) -> R,
) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
fn try_reduce<R>( &mut self, f: impl FnMut(Self::Item, Self::Item) -> R, ) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
iterator_try_reduce
)1.0.0 · Source§fn all<F>(&mut self, f: F) -> bool
fn all<F>(&mut self, f: F) -> bool
1.0.0 · Source§fn any<F>(&mut self, f: F) -> bool
fn any<F>(&mut self, f: F) -> bool
1.0.0 · Source§fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
1.30.0 · Source§fn find_map<B, F>(&mut self, f: F) -> Option<B>
fn find_map<B, F>(&mut self, f: F) -> Option<B>
Source§fn try_find<R>(
&mut self,
f: impl FnMut(&Self::Item) -> R,
) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
fn try_find<R>( &mut self, f: impl FnMut(&Self::Item) -> R, ) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
try_find
)1.0.0 · Source§fn position<P>(&mut self, predicate: P) -> Option<usize>
fn position<P>(&mut self, predicate: P) -> Option<usize>
1.0.0 · Source§fn rposition<P>(&mut self, predicate: P) -> Option<usize>
fn rposition<P>(&mut self, predicate: P) -> Option<usize>
1.0.0 · Source§fn max(self) -> Option<Self::Item>
fn max(self) -> Option<Self::Item>
1.0.0 · Source§fn min(self) -> Option<Self::Item>
fn min(self) -> Option<Self::Item>
1.6.0 · Source§fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
1.15.0 · Source§fn max_by<F>(self, compare: F) -> Option<Self::Item>
fn max_by<F>(self, compare: F) -> Option<Self::Item>
1.6.0 · Source§fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
1.15.0 · Source§fn min_by<F>(self, compare: F) -> Option<Self::Item>
fn min_by<F>(self, compare: F) -> Option<Self::Item>
1.0.0 · Source§fn rev(self) -> Rev<Self>where
Self: Sized + DoubleEndedIterator,
fn rev(self) -> Rev<Self>where
Self: Sized + DoubleEndedIterator,
1.0.0 · Source§fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
1.36.0 · Source§fn copied<'a, T>(self) -> Copied<Self>
fn copied<'a, T>(self) -> Copied<Self>
Source§fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>where
Self: Sized,
fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>where
Self: Sized,
iter_array_chunks
)N
elements of the iterator at a time. Read more1.11.0 · Source§fn product<P>(self) -> P
fn product<P>(self) -> P
Source§fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
iter_order_by
)Iterator
with those
of another with respect to the specified comparison function. Read more1.5.0 · Source§fn partial_cmp<I>(self, other: I) -> Option<Ordering>
fn partial_cmp<I>(self, other: I) -> Option<Ordering>
PartialOrd
elements of
this Iterator
with those of another. The comparison works like short-circuit
evaluation, returning a result without comparing the remaining elements.
As soon as an order can be determined, the evaluation stops and a result is returned. Read moreSource§fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>where
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,
fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>where
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,
iter_order_by
)Iterator
with those
of another with respect to the specified comparison function. Read moreSource§fn eq_by<I, F>(self, other: I, eq: F) -> bool
fn eq_by<I, F>(self, other: I, eq: F) -> bool
iter_order_by
)1.5.0 · Source§fn lt<I>(self, other: I) -> bool
fn lt<I>(self, other: I) -> bool
Iterator
are lexicographically
less than those of another. Read more1.5.0 · Source§fn le<I>(self, other: I) -> bool
fn le<I>(self, other: I) -> bool
Iterator
are lexicographically
less or equal to those of another. Read more1.5.0 · Source§fn gt<I>(self, other: I) -> bool
fn gt<I>(self, other: I) -> bool
Iterator
are lexicographically
greater than those of another. Read more1.5.0 · Source§fn ge<I>(self, other: I) -> bool
fn ge<I>(self, other: I) -> bool
Iterator
are lexicographically
greater than or equal to those of another. Read more1.82.0 · Source§fn is_sorted(self) -> bool
fn is_sorted(self) -> bool
1.82.0 · Source§fn is_sorted_by<F>(self, compare: F) -> bool
fn is_sorted_by<F>(self, compare: F) -> bool
1.82.0 · Source§fn is_sorted_by_key<F, K>(self, f: F) -> bool
fn is_sorted_by_key<F, K>(self, f: F) -> bool
Source§impl<C, D, S, I> MSDataFileMetadata for StreamingSpectrumIterator<C, D, S, I>where
C: CentroidLike,
D: DeconvolutedCentroidLike,
S: SpectrumLike<C, D>,
I: Iterator<Item = S> + MSDataFileMetadata,
If the underlying iterator implements MSDataFileMetadata
then StreamingSpectrumIterator
will
forward that implementation, assuming it is available.
impl<C, D, S, I> MSDataFileMetadata for StreamingSpectrumIterator<C, D, S, I>where
C: CentroidLike,
D: DeconvolutedCentroidLike,
S: SpectrumLike<C, D>,
I: Iterator<Item = S> + MSDataFileMetadata,
If the underlying iterator implements MSDataFileMetadata
then StreamingSpectrumIterator
will
forward that implementation, assuming it is available.
Source§fn data_processings(&self) -> &Vec<DataProcessing>
fn data_processings(&self) -> &Vec<DataProcessing>
DataProcessing
workflows applied to spectra in
this data file.Source§fn instrument_configurations(&self) -> &HashMap<u32, InstrumentConfiguration>
fn instrument_configurations(&self) -> &HashMap<u32, InstrumentConfiguration>
InstrumentConfiguration
modes that spectra
were acquired under.Source§fn file_description(&self) -> &FileDescription
fn file_description(&self) -> &FileDescription
Source§fn softwares(&self) -> &Vec<Software>
fn softwares(&self) -> &Vec<Software>
Software
applied to the data file to apply different
DataProcessing
methods.Source§fn samples(&self) -> &Vec<Sample>
fn samples(&self) -> &Vec<Sample>
Source§fn data_processings_mut(&mut self) -> &mut Vec<DataProcessing>
fn data_processings_mut(&mut self) -> &mut Vec<DataProcessing>
DataProcessing
list for this data fileSource§fn instrument_configurations_mut(
&mut self,
) -> &mut HashMap<u32, InstrumentConfiguration>
fn instrument_configurations_mut( &mut self, ) -> &mut HashMap<u32, InstrumentConfiguration>
InstrumentConfiguration
mapping for this data fileSource§fn file_description_mut(&mut self) -> &mut FileDescription
fn file_description_mut(&mut self) -> &mut FileDescription
FileDescription
description of the contents and the
sources for this mass spectrometry data file.Source§fn softwares_mut(&mut self) -> &mut Vec<Software>
fn softwares_mut(&mut self) -> &mut Vec<Software>
Software
of this data file.fn samples_mut(&mut self) -> &mut Vec<Sample>
Source§fn spectrum_count_hint(&self) -> Option<u64>
fn spectrum_count_hint(&self) -> Option<u64>
Source§fn run_description(&self) -> Option<&MassSpectrometryRun>
fn run_description(&self) -> Option<&MassSpectrometryRun>
MassSpectrometryRun
metadata record if it is availableSource§fn run_description_mut(&mut self) -> Option<&mut MassSpectrometryRun>
fn run_description_mut(&mut self) -> Option<&mut MassSpectrometryRun>
MassSpectrometryRun
metadata record if it is availableSource§fn source_file_name(&self) -> Option<&str>
fn source_file_name(&self) -> Option<&str>
Source§fn copy_metadata_from(&mut self, source: &impl MSDataFileMetadata)where
Self: Sized,
fn copy_metadata_from(&mut self, source: &impl MSDataFileMetadata)where
Self: Sized,
MSDataFileMetadata
implementation into
this one.fn set_spectrum_count_hint(&mut self, _value: Option<u64>)
Source§impl<C, D, S, I> RandomAccessSpectrumIterator<C, D, S> for StreamingSpectrumIterator<C, D, S, I>
StreamingSpectrumIterator
implements RandomAccessSpectrumIterator
in a limited fashion
by reading through successive spectra until the target spectrum is found. This will exhaust the
underlying iterator if the requested coordinate is not found.
impl<C, D, S, I> RandomAccessSpectrumIterator<C, D, S> for StreamingSpectrumIterator<C, D, S, I>
StreamingSpectrumIterator
implements RandomAccessSpectrumIterator
in a limited fashion
by reading through successive spectra until the target spectrum is found. This will exhaust the
underlying iterator if the requested coordinate is not found.
Source§fn start_from_id(
&mut self,
id: &str,
) -> Result<&mut StreamingSpectrumIterator<C, D, S, I>, SpectrumAccessError>
fn start_from_id( &mut self, id: &str, ) -> Result<&mut StreamingSpectrumIterator<C, D, S, I>, SpectrumAccessError>
id
Source§fn start_from_index(
&mut self,
index: usize,
) -> Result<&mut StreamingSpectrumIterator<C, D, S, I>, SpectrumAccessError>
fn start_from_index( &mut self, index: usize, ) -> Result<&mut StreamingSpectrumIterator<C, D, S, I>, SpectrumAccessError>
index
Source§fn start_from_time(
&mut self,
time: f64,
) -> Result<&mut StreamingSpectrumIterator<C, D, S, I>, SpectrumAccessError>
fn start_from_time( &mut self, time: f64, ) -> Result<&mut StreamingSpectrumIterator<C, D, S, I>, SpectrumAccessError>
time
Source§impl<C, D, S, I> SpectrumSource<C, D, S> for StreamingSpectrumIterator<C, D, S, I>
impl<C, D, S, I> SpectrumSource<C, D, S> for StreamingSpectrumIterator<C, D, S, I>
Source§fn detail_level(&self) -> &DetailLevel
fn detail_level(&self) -> &DetailLevel
DetailLevel
the reader currently usesSource§fn set_detail_level(&mut self, _detail_level: DetailLevel)
fn set_detail_level(&mut self, _detail_level: DetailLevel)
DetailLevel
for the reader, changing
the amount of work done immediately on loading a
spectrum. Read moreSource§fn iter(
&mut self,
) -> SpectrumIterator<'_, C, D, S, StreamingSpectrumIterator<C, D, S, I>> ⓘwhere
StreamingSpectrumIterator<C, D, S, I>: Sized,
fn iter(
&mut self,
) -> SpectrumIterator<'_, C, D, S, StreamingSpectrumIterator<C, D, S, I>> ⓘwhere
StreamingSpectrumIterator<C, D, S, I>: Sized,
Source§fn get_spectrum_by_id(&mut self, id: &str) -> Option<S>
fn get_spectrum_by_id(&mut self, id: &str) -> Option<S>
Source§fn get_spectrum_by_index(&mut self, index: usize) -> Option<S>
fn get_spectrum_by_index(&mut self, index: usize) -> Option<S>
Source§fn get_spectrum_by_time(&mut self, time: f64) -> Option<S>
fn get_spectrum_by_time(&mut self, time: f64) -> Option<S>
Source§fn get_index(&self) -> &OffsetIndex
fn get_index(&self) -> &OffsetIndex
Source§fn set_index(&mut self, index: OffsetIndex)
fn set_index(&mut self, index: OffsetIndex)
Source§fn len(&self) -> usize
fn len(&self) -> usize
fn is_empty(&self) -> bool
Source§fn _offset_of_index(&self, index: usize) -> Option<u64>
fn _offset_of_index(&self, index: usize) -> Option<u64>
Source§fn _offset_of_time(&mut self, time: f64) -> Option<u64>
fn _offset_of_time(&mut self, time: f64) -> Option<u64>
Source§fn get_group_by_index(&mut self, index: usize) -> Option<SpectrumGroup<C, D, S>>where
Self: Sized,
fn get_group_by_index(&mut self, index: usize) -> Option<SpectrumGroup<C, D, S>>where
Self: Sized,
SpectrumGroup
from this sourceSource§fn groups(
&mut self,
) -> SpectrumGroupingIterator<SpectrumIterator<'_, C, D, S, Self>, C, D, S> ⓘwhere
Self: Sized,
fn groups(
&mut self,
) -> SpectrumGroupingIterator<SpectrumIterator<'_, C, D, S, Self>, C, D, S> ⓘwhere
Self: Sized,
Source§fn into_groups(self) -> SpectrumGroupingIterator<Self, C, D, S> ⓘwhere
Self: Sized,
fn into_groups(self) -> SpectrumGroupingIterator<Self, C, D, S> ⓘwhere
Self: Sized,
self
to create a SpectrumGroupingIterator
. This is ideal for non-rewindable streams
like io::stdin
which don’t implement io::Seek