pub enum DissociationEnergyTerm {
CollisionEnergy(f32),
NormalizedCollisionEnergy(f32),
CollisionEnergyRampStart(f32),
CollisionEnergyRampEnd(f32),
PercentCollisionEnergyRampStart(f32),
PercentCollisionEnergyRampEnd(f32),
SupplementalCollisionEnergy(f32),
ElectronBeamEnergy(f32),
}Expand description
Energy for an ion experiencing some form of dissociation
Variants§
CollisionEnergy(f32)
collision energy - Energy for an ion experiencing collision with a stationary gas particle resulting in dissociation of the ion.
NormalizedCollisionEnergy(f32)
normalized collision energy - Instrument setting, expressed in percent, for adjusting collisional energies of ions in an effort to provide equivalent excitation of all ions.
CollisionEnergyRampStart(f32)
collision energy ramp start - Collision energy at the start of the collision energy ramp.
CollisionEnergyRampEnd(f32)
collision energy ramp end - Collision energy at the end of the collision energy ramp.
PercentCollisionEnergyRampStart(f32)
percent collision energy ramp start - Collision energy at the start of the collision energy ramp in percent, normalized to the mass of the ion.
PercentCollisionEnergyRampEnd(f32)
percent collision energy ramp end - Collision energy at the end of the collision energy ramp in percent, normalized to the mass of the ion.
SupplementalCollisionEnergy(f32)
supplemental collision energy - Energy for an ion experiencing supplemental collision with a stationary gas particle resulting in dissociation of the ion.
ElectronBeamEnergy(f32)
electron beam energy - The kinetic energy of the electron beam used in dissociation methods induced by a free electron beam, such as electron-capture dissociation (ECD), electron-detachment dissociation (EDD), and electron-activated dissociation (EAD).
Implementations§
Source§impl DissociationEnergyTerm
These methods are part of the controlled vocabulary mapping
impl DissociationEnergyTerm
These methods are part of the controlled vocabulary mapping
Sourcepub const fn accession(&self) -> u32
pub const fn accession(&self) -> u32
Retrieve the accession number for this term, independent of its controlled vocabulary
pub const fn curie(&self) -> CURIE
Sourcepub const fn controlled_vocabulary(&self) -> ControlledVocabulary
pub const fn controlled_vocabulary(&self) -> ControlledVocabulary
Retrieve the controlled vocabulary this term belongs to
Sourcepub const fn name(&self) -> &'static str
pub const fn name(&self) -> &'static str
Retrieve the plain text human readable name for this term
Sourcepub fn from_name(name: &str) -> Option<DissociationEnergyTerm>
pub fn from_name(name: &str) -> Option<DissociationEnergyTerm>
Attempt to map a string by name to retrieve one of the terms from this set.
If no match is found, None is returned.
Sourcepub const fn from_accession(
accession: u32,
value: f32,
) -> Option<DissociationEnergyTerm>
pub const fn from_accession( accession: u32, value: f32, ) -> Option<DissociationEnergyTerm>
Attempt to map the numeric accession number to retrieve one of the terms from this set.
If no match is found, None is returned.
Sourcepub const fn to_param(self) -> ParamCow<'static>
pub const fn to_param(self) -> ParamCow<'static>
Convert this term into a ParamCow without a value.
Sourcepub const fn to_param_value(self, value: ValueRef<'static>) -> ParamCow<'static>
pub const fn to_param_value(self, value: ValueRef<'static>) -> ParamCow<'static>
Convert this term into a ParamCow a specific boxed value.
Sourcepub fn from_curie(curie: &CURIE, value: f32) -> Option<DissociationEnergyTerm>
pub fn from_curie(curie: &CURIE, value: f32) -> Option<DissociationEnergyTerm>
Sourcepub fn from_param(p: &ParamCow<'static>) -> Option<DissociationEnergyTerm>
pub fn from_param(p: &ParamCow<'static>) -> Option<DissociationEnergyTerm>
Sourcepub fn parents(&self) -> Vec<DissociationEnergyTerm>
pub fn parents(&self) -> Vec<DissociationEnergyTerm>
Retrieve the list of zero or more terms in the set which are parents of this term.
Source§impl DissociationEnergyTerm
impl DissociationEnergyTerm
Sourcepub const fn is_supplemental(&self) -> bool
pub const fn is_supplemental(&self) -> bool
Is the collision energy supplemental to another dissociation method?
Sourcepub const fn is_ramp_start(&self) -> bool
pub const fn is_ramp_start(&self) -> bool
Is this the start of an energy ramp?
Sourcepub const fn is_ramp_end(&self) -> bool
pub const fn is_ramp_end(&self) -> bool
Is this the end of an energy ramp?
Sourcepub fn energy_mut(&mut self) -> &mut f32
pub fn energy_mut(&mut self) -> &mut f32
Get a mutable reference to the energy in the term
Trait Implementations§
Source§impl AsRef<f32> for DissociationEnergyTerm
A DissociationEnergyTerm can be treated as a reference to their energy value
impl AsRef<f32> for DissociationEnergyTerm
A DissociationEnergyTerm can be treated as a reference to their energy value
Source§impl Clone for DissociationEnergyTerm
impl Clone for DissociationEnergyTerm
Source§fn clone(&self) -> DissociationEnergyTerm
fn clone(&self) -> DissociationEnergyTerm
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for DissociationEnergyTerm
Source§impl Debug for DissociationEnergyTerm
impl Debug for DissociationEnergyTerm
Source§impl Display for DissociationEnergyTerm
impl Display for DissociationEnergyTerm
Source§impl From<&DissociationEnergyTerm> for ParamCow<'static>
impl From<&DissociationEnergyTerm> for ParamCow<'static>
Source§fn from(value: &DissociationEnergyTerm) -> ParamCow<'static>
fn from(value: &DissociationEnergyTerm) -> ParamCow<'static>
Source§impl From<&DissociationEnergyTerm> for Param
impl From<&DissociationEnergyTerm> for Param
Source§fn from(value: &DissociationEnergyTerm) -> Param
fn from(value: &DissociationEnergyTerm) -> Param
Source§impl From<DissociationEnergyTerm> for ParamCow<'static>
impl From<DissociationEnergyTerm> for ParamCow<'static>
Source§fn from(value: DissociationEnergyTerm) -> ParamCow<'static>
fn from(value: DissociationEnergyTerm) -> ParamCow<'static>
Source§impl From<DissociationEnergyTerm> for Param
impl From<DissociationEnergyTerm> for Param
Source§fn from(value: DissociationEnergyTerm) -> Param
fn from(value: DissociationEnergyTerm) -> Param
Source§impl<P> From<P> for DissociationEnergyTermwhere
P: ParamLike,
impl<P> From<P> for DissociationEnergyTermwhere
P: ParamLike,
Source§fn from(value: P) -> DissociationEnergyTerm
fn from(value: P) -> DissociationEnergyTerm
Source§impl PartialEq for DissociationEnergyTerm
impl PartialEq for DissociationEnergyTerm
Source§impl PartialOrd for DissociationEnergyTerm
impl PartialOrd for DissociationEnergyTerm
impl StructuralPartialEq for DissociationEnergyTerm
Auto Trait Implementations§
impl Freeze for DissociationEnergyTerm
impl RefUnwindSafe for DissociationEnergyTerm
impl Send for DissociationEnergyTerm
impl Sync for DissociationEnergyTerm
impl Unpin for DissociationEnergyTerm
impl UnsafeUnpin for DissociationEnergyTerm
impl UnwindSafe for DissociationEnergyTerm
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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> ⓘ
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> ⓘ
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.