Type Alias mzdata::io::mzml::MzMLReader

source ·
pub type MzMLReader<R> = MzMLReaderType<R, CentroidPeak, DeconvolutedPeak>;
Expand description

A specialization of MzMLReaderType for the default peak types, for common use.

Aliased Type§

struct MzMLReader<R> {
    pub state: MzMLParserState,
    pub spectrum_index: OffsetIndex,
    pub chromatogram_index: Box<OffsetIndex>,
    pub reference_param_groups: HashMap<String, Vec<Param>>,
    pub detail_level: DetailLevel,
    pub run: MassSpectrometryRun,
    /* private fields */
}

Fields§

§state: MzMLParserState

The state the parser was in last.

§spectrum_index: OffsetIndex

A spectrum ID to byte offset for fast random access

§chromatogram_index: Box<OffsetIndex>§reference_param_groups: HashMap<String, Vec<Param>>

A cache of repeated paramters

§detail_level: DetailLevel§run: MassSpectrometryRun