pub struct FrameIons { /* private fields */ }Implementations§
Source§impl FrameIons
impl FrameIons
pub fn new( scan_offsets: Vec<usize>, tof_indices: Vec<TofIndex>, intensities: Vec<IntensityIndex>, ) -> Self
pub fn is_empty(&self) -> bool
pub fn scan_offsets(&self) -> &Vec<usize>
pub fn tof_indices(&self) -> &Vec<TofIndex>
pub fn mz_values<C: Converter<TofIndex, Mz>>(&self, converter: &C) -> Vec<Mz>
pub fn intensities(&self) -> &Vec<IntensityIndex>
pub fn intensity_values<C: Converter<IntensityIndex, Intensity>>( &self, converter: &C, ) -> Vec<Intensity>
pub fn read_scan( &self, scan_index: usize, ) -> impl Iterator<Item = (TofIndex, IntensityIndex)> + '_
pub fn scan_count(&self) -> usize
pub fn add_info(self, info: FrameInfo) -> Frame
Trait Implementations§
impl StructuralPartialEq for FrameIons
Auto Trait Implementations§
impl Freeze for FrameIons
impl RefUnwindSafe for FrameIons
impl Send for FrameIons
impl Sync for FrameIons
impl Unpin for FrameIons
impl UnsafeUnpin for FrameIons
impl UnwindSafe for FrameIons
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more