Enum mzdata::spectrum::spectrum::PeakDataLevel[][src]

pub enum PeakDataLevel<'lifespan> {
    Missing,
    RawData(&'lifespan BinaryArrayMap),
    Centroid(&'lifespan PeakSet),
}
Expand description

An variant for dispatching to different strategies of computing common statistics of different levels of peak data.

Variants

Missing
RawData(&'lifespan BinaryArrayMap)
Centroid(&'lifespan PeakSet)

Implementations

Compute the base peak of a spectrum

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.