Struct mzpeaks::peak::DeconvolutedPeak
source · pub struct DeconvolutedPeak {
pub neutral_mass: f64,
pub intensity: f32,
pub charge: i32,
pub index: IndexType,
}
Expand description
Represent a single neutral mass coordinate with an intensity, a known charge and an index.
Fields§
§neutral_mass: f64
§intensity: f32
§charge: i32
§index: IndexType
Implementations§
Trait Implementations§
source§impl Clone for DeconvolutedPeak
impl Clone for DeconvolutedPeak
source§fn clone(&self) -> DeconvolutedPeak
fn clone(&self) -> DeconvolutedPeak
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl CoordinateLike<MZ> for DeconvolutedPeak
impl CoordinateLike<MZ> for DeconvolutedPeak
source§fn coordinate(&self) -> f64
fn coordinate(&self) -> f64
The trait method for accessing the coordinate of the object on coordinate
system
T
source§impl CoordinateLike<Mass> for DeconvolutedPeak
impl CoordinateLike<Mass> for DeconvolutedPeak
source§fn coordinate(&self) -> f64
fn coordinate(&self) -> f64
The trait method for accessing the coordinate of the object on coordinate
system
T
source§impl CoordinateLikeMut<Mass> for DeconvolutedPeak
impl CoordinateLikeMut<Mass> for DeconvolutedPeak
fn coordinate_mut(&mut self) -> &mut f64
source§impl Debug for DeconvolutedPeak
impl Debug for DeconvolutedPeak
source§impl Default for DeconvolutedPeak
impl Default for DeconvolutedPeak
source§fn default() -> DeconvolutedPeak
fn default() -> DeconvolutedPeak
Returns the “default value” for a type. Read more
source§impl Display for DeconvolutedPeak
impl Display for DeconvolutedPeak
source§impl Hash for DeconvolutedPeak
impl Hash for DeconvolutedPeak
source§impl IndexedCoordinate<Mass> for DeconvolutedPeak
impl IndexedCoordinate<Mass> for DeconvolutedPeak
source§impl IntensityMeasurementMut for DeconvolutedPeak
impl IntensityMeasurementMut for DeconvolutedPeak
fn intensity_mut(&mut self) -> &mut f32
source§impl KnownCharge for DeconvolutedPeak
impl KnownCharge for DeconvolutedPeak
source§impl KnownChargeMut for DeconvolutedPeak
impl KnownChargeMut for DeconvolutedPeak
fn charge_mut(&mut self) -> &mut i32
source§impl<T: DeconvolutedCentroidLike> PartialEq<T> for DeconvolutedPeak
impl<T: DeconvolutedCentroidLike> PartialEq<T> for DeconvolutedPeak
source§impl<T: DeconvolutedCentroidLike> PartialOrd<T> for DeconvolutedPeak
impl<T: DeconvolutedCentroidLike> PartialOrd<T> for DeconvolutedPeak
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreAuto Trait Implementations§
impl Freeze for DeconvolutedPeak
impl RefUnwindSafe for DeconvolutedPeak
impl Send for DeconvolutedPeak
impl Sync for DeconvolutedPeak
impl Unpin for DeconvolutedPeak
impl UnwindSafe for DeconvolutedPeak
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