#[repr(transparent)]pub struct PrecursorT(pub [u8; 64]);Tuple Fields§
§0: [u8; 64]Implementations§
Source§impl<'a> PrecursorT
impl<'a> PrecursorT
pub fn new( mz: f64, intensity: f32, charge: i32, parent_index: i32, isolation_window: &IsolationWindowT, activation: &ActivationT, ) -> Self
pub fn mz(&self) -> f64
pub fn set_mz(&mut self, x: f64)
pub fn intensity(&self) -> f32
pub fn set_intensity(&mut self, x: f32)
pub fn charge(&self) -> i32
pub fn set_charge(&mut self, x: i32)
pub fn parent_index(&self) -> i32
pub fn set_parent_index(&mut self, x: i32)
pub fn isolation_window(&self) -> &IsolationWindowT
pub fn set_isolation_window(&mut self, x: &IsolationWindowT)
pub fn activation(&self) -> &ActivationT
pub fn set_activation(&mut self, x: &ActivationT)
Trait Implementations§
Source§impl Clone for PrecursorT
impl Clone for PrecursorT
Source§fn clone(&self) -> PrecursorT
fn clone(&self) -> PrecursorT
Returns a duplicate 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 PrecursorT
impl Debug for PrecursorT
Source§impl Default for PrecursorT
impl Default for PrecursorT
Source§impl<'a> Follow<'a> for &'a PrecursorT
impl<'a> Follow<'a> for &'a PrecursorT
Source§impl<'a> Follow<'a> for PrecursorT
impl<'a> Follow<'a> for PrecursorT
Source§impl PartialEq for PrecursorT
impl PartialEq for PrecursorT
Source§impl<'b> Push for PrecursorT
impl<'b> Push for PrecursorT
Source§impl<'a> Verifiable for PrecursorT
impl<'a> Verifiable for PrecursorT
Source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize,
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos in the verifier’s buffer.
Should not need to be called directly.impl Copy for PrecursorT
impl SimpleToVerifyInSlice for PrecursorT
impl StructuralPartialEq for PrecursorT
Auto Trait Implementations§
impl Freeze for PrecursorT
impl RefUnwindSafe for PrecursorT
impl Send for PrecursorT
impl Sync for PrecursorT
impl Unpin for PrecursorT
impl UnwindSafe for PrecursorT
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