Struct mzdata::spectrum::IsolationWindow
source · pub struct IsolationWindow {
pub target: f32,
pub lower_bound: f32,
pub upper_bound: f32,
pub flags: IsolationWindowState,
}
Expand description
The interval around the precursor ion that was isolated in the precursor scan.
Although an isolation window may be specified either with explicit bounds or
offsets from the target, this data structure always uses explicit bounds once
it is in a IsolationWindowState::Complete
.
Fields§
§target: f32
The recorded isolation window target m/z, which may actually be outside the window
lower_bound: f32
The lower m/z boundary of the isolation window if flags
is
IsolationWindowState::Explicit
, or the offset from target
if flags
is IsolationWindowState::Offset
upper_bound: f32
The upper m/z boundary of the isolation window if flags
is
IsolationWindowState::Explicit
, or the offset from target
if flags
is IsolationWindowState::Offset
flags: IsolationWindowState
Describes the decision making process used to establish the bounds of the window from the source file.
Implementations§
Trait Implementations§
source§impl Clone for IsolationWindow
impl Clone for IsolationWindow
source§fn clone(&self) -> IsolationWindow
fn clone(&self) -> IsolationWindow
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IsolationWindow
impl Debug for IsolationWindow
source§impl Default for IsolationWindow
impl Default for IsolationWindow
source§fn default() -> IsolationWindow
fn default() -> IsolationWindow
Auto Trait Implementations§
impl Freeze for IsolationWindow
impl RefUnwindSafe for IsolationWindow
impl Send for IsolationWindow
impl Sync for IsolationWindow
impl Unpin for IsolationWindow
impl UnwindSafe for IsolationWindow
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
source§impl<T> Pointable for T
impl<T> Pointable 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.