Struct mzdata::spectrum::spectrum::CentroidSpectrum [−][src]
pub struct CentroidSpectrum { pub description: SpectrumDescription, pub peaks: PeakSet, }
Expand description
Represents a spectrum that has been centroided
Fields
description: SpectrumDescription
The spectrum metadata describing acquisition conditions and details.
peaks: PeakSet
The picked centroid peaks
Implementations
Convert a spectrum into a Spectrum
Trait Implementations
Returns the “default value” for a type. Read more
Retrieve a spectrum by it’s native ID
Retrieve a spectrum by it’s integer index
Retrieve a spectrum by its scan start time
fn iter(&mut self) -> ScanIterator<'_, Self, S>ⓘNotable traits for ScanIterator<'lifespan, R, S>
impl<'lifespan, R: ScanSource<S>, S: SpectrumBehavior> Iterator for ScanIterator<'lifespan, R, S> type Item = S;
The method to access the spectrum description itself, which supplies the data for most other methods on this trait. Read more
Retrieve the most processed representation of the mass spectrum’s signal Read more
Access the acquisition information for this spectrum.
A shortcut method to retrieve the scan start time of a spectrum. Read more
Auto Trait Implementations
impl RefUnwindSafe for CentroidSpectrum
impl Send for CentroidSpectrum
impl Sync for CentroidSpectrum
impl Unpin for CentroidSpectrum
impl UnwindSafe for CentroidSpectrum
Blanket Implementations
Mutably borrows from an owned value. Read more