pub struct SelectedIon {
pub mz: f64,
pub intensity: f32,
pub charge: Option<i32>,
pub params: Option<Box<ParamList>>,
}Expand description
Describes a single selected ion from a precursor isolation
Fields§
§mz: f64The selected ion’s m/z as reported, may not be the monoisotopic peak.
intensity: f32The reported intensity of the selected ion’s peak
charge: Option<i32>The reported precursor ion’s charge state. May be absent in some source files.
params: Option<Box<ParamList>>Additional lazily initialized ParamList
Trait Implementations§
Source§impl Clone for SelectedIon
impl Clone for SelectedIon
Source§impl Debug for SelectedIon
impl Debug for SelectedIon
Source§impl Default for SelectedIon
impl Default for SelectedIon
Source§impl IonMobilityMeasure for SelectedIon
impl IonMobilityMeasure for SelectedIon
Source§fn ion_mobility(&self) -> Option<f64>
fn ion_mobility(&self) -> Option<f64>
Get the ion mobility coordinate, if one is available.
Source§fn has_ion_mobility(&self) -> bool
fn has_ion_mobility(&self) -> bool
Test if an ion mobility value is present
Source§impl IonProperties for SelectedIon
impl IonProperties for SelectedIon
Source§impl ParamDescribed for SelectedIon
impl ParamDescribed for SelectedIon
Source§fn params_mut(&mut self) -> &mut ParamList
fn params_mut(&mut self) -> &mut ParamList
Obtain an mutable slice over the encapsulated
Param listSource§fn extend_params(&mut self, it: impl IntoIterator<Item = Param>)
fn extend_params(&mut self, it: impl IntoIterator<Item = Param>)
Add all parameters from an iterator of
Param to the entitySource§fn get_param_by_name(&self, name: &str) -> Option<&Param>
fn get_param_by_name(&self, name: &str) -> Option<&Param>
Find the first
Param whose name matches nameSource§impl PartialEq for SelectedIon
impl PartialEq for SelectedIon
impl StructuralPartialEq for SelectedIon
Auto Trait Implementations§
impl Freeze for SelectedIon
impl RefUnwindSafe for SelectedIon
impl Send for SelectedIon
impl Sync for SelectedIon
impl Unpin for SelectedIon
impl UnsafeUnpin for SelectedIon
impl UnwindSafe for SelectedIon
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