#[repr(i8)]pub enum ScanPolarity {
Unknown = 0,
Positive = 1,
Negative = -1,
}Expand description
Describes the polarity of a mass spectrum. A spectrum is either Positive (1+), Negative (-1)
or Unknown (0). The Unknown state is the default.
Variants§
Unknown = 0
The polarity of the spectrum is unknown
Positive = 1
The polarity is positive, where charge states represent the addition of positive charge
Negative = -1
The polarity is negative, where the charge states reprsent the addition of electrons or other negatively charged adduction
Implementations§
Trait Implementations§
Source§impl Clone for ScanPolarity
impl Clone for ScanPolarity
impl Copy for ScanPolarity
Source§impl Debug for ScanPolarity
impl Debug for ScanPolarity
Source§impl Default for ScanPolarity
impl Default for ScanPolarity
Source§impl Display for ScanPolarity
impl Display for ScanPolarity
impl Eq for ScanPolarity
Source§impl PartialEq for ScanPolarity
impl PartialEq for ScanPolarity
Source§impl PartialOrd for ScanPolarity
impl PartialOrd for ScanPolarity
impl StructuralPartialEq for ScanPolarity
Auto Trait Implementations§
impl Freeze for ScanPolarity
impl RefUnwindSafe for ScanPolarity
impl Send for ScanPolarity
impl Sync for ScanPolarity
impl Unpin for ScanPolarity
impl UnsafeUnpin for ScanPolarity
impl UnwindSafe for ScanPolarity
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