Enum timsrust::PrecursorType
source · pub enum PrecursorType {
Precursor(Precursor),
None,
}Expand description
A type of quadrupole selection.
Variants§
Implementations§
source§impl PrecursorType
impl PrecursorType
pub fn unwrap_as_precursor(&self) -> Precursor
Trait Implementations§
source§impl Clone for PrecursorType
impl Clone for PrecursorType
source§fn clone(&self) -> PrecursorType
fn clone(&self) -> PrecursorType
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 Debug for PrecursorType
impl Debug for PrecursorType
source§impl Default for PrecursorType
impl Default for PrecursorType
source§impl PartialEq for PrecursorType
impl PartialEq for PrecursorType
source§fn eq(&self, other: &PrecursorType) -> bool
fn eq(&self, other: &PrecursorType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for PrecursorType
impl StructuralPartialEq for PrecursorType
Auto Trait Implementations§
impl RefUnwindSafe for PrecursorType
impl Send for PrecursorType
impl Sync for PrecursorType
impl Unpin for PrecursorType
impl UnwindSafe for PrecursorType
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