pub struct SpectrumList { /* private fields */ }
Expand description
Represents a list of Spectrum
Implementations§
Source§impl SpectrumList
impl SpectrumList
Sourcepub fn new(count: usize, default_data_processing_ref: DataProcessingRef) -> Self
pub fn new(count: usize, default_data_processing_ref: DataProcessingRef) -> Self
Create a new SpectrumList
with specified capacity (count
) and default DataProcessingRef
Trait Implementations§
Source§impl Clone for SpectrumList
impl Clone for SpectrumList
Source§impl<'iter> IntoIterator for &'iter SpectrumList
impl<'iter> IntoIterator for &'iter SpectrumList
Source§impl MzMLTag for SpectrumList
impl MzMLTag for SpectrumList
Source§fn parse_start_tag<B: BufRead>(
parser: &mut MzMLReader<B>,
start_event: &BytesStart<'_>,
) -> Result<Option<Self>, FatalParseError>where
Self: Sized,
fn parse_start_tag<B: BufRead>(
parser: &mut MzMLReader<B>,
start_event: &BytesStart<'_>,
) -> Result<Option<Self>, FatalParseError>where
Self: Sized,
Parse the start tag (capture any attributes, noting any missing or extra as errors).
Source§fn parse_xml<B: BufRead>(
&mut self,
parser: &mut MzMLReader<B>,
buffer: &mut Vec<u8>,
) -> Result<(), FatalParseError>
fn parse_xml<B: BufRead>( &mut self, parser: &mut MzMLReader<B>, buffer: &mut Vec<u8>, ) -> Result<(), FatalParseError>
Parse the child tags (if necessary). This is only called if there are expected to be child tags.
Auto Trait Implementations§
impl Freeze for SpectrumList
impl RefUnwindSafe for SpectrumList
impl Send for SpectrumList
impl Sync for SpectrumList
impl Unpin for SpectrumList
impl UnwindSafe for SpectrumList
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