Struct mzdata::io::mzmlb::MzMLbSpectrumBuilder

source ·
pub struct MzMLbSpectrumBuilder<'a, C: CentroidPeakAdapting + BuildFromArrayMap, D: DeconvolutedPeakAdapting + BuildFromArrayMap> { /* private fields */ }

Implementations§

Trait Implementations§

source§

impl<'a, C: Default + CentroidPeakAdapting + BuildFromArrayMap, D: Default + DeconvolutedPeakAdapting + BuildFromArrayMap> Default for MzMLbSpectrumBuilder<'a, C, D>

source§

fn default() -> MzMLbSpectrumBuilder<'a, C, D>

Returns the “default value” for a type. Read more
source§

impl<'a, C: CentroidPeakAdapting + BuildFromArrayMap, D: DeconvolutedPeakAdapting + BuildFromArrayMap> MzMLSAX for MzMLbSpectrumBuilder<'a, C, D>

source§

impl<'a, C: CentroidPeakAdapting + BuildFromArrayMap, D: DeconvolutedPeakAdapting + BuildFromArrayMap> SpectrumBuilding<'a, C, D, MultiLayerSpectrum<C, D>> for MzMLbSpectrumBuilder<'a, C, D>

source§

fn isolation_window_mut(&mut self) -> &mut IsolationWindow

Get the last isolation window being constructed
source§

fn scan_window_mut(&mut self) -> &mut ScanWindow

Get the last scan window being constructed.
source§

fn selected_ion_mut(&mut self) -> &mut SelectedIon

source§

fn current_array_mut(&mut self) -> &mut DataArray

source§

fn into_spectrum(self, spectrum: &mut MultiLayerSpectrum<C, D>)

Move all the data into the provided spectrum reference
source§

fn fill_spectrum<P: ParamLike + Into<Param> + ParamValue>(&mut self, param: P)

source§

fn fill_binary_data_array<P: ParamLike + Into<Param> + ParamValue>( &mut self, param: P )

source§

fn borrow_instrument_configuration( self, instrument_configurations: &'a mut IncrementingIdMap ) -> Self

source§

fn new_selected_ion(&mut self) -> &mut SelectedIon

source§

fn into_chromatogram(self, chromatogram: &mut Chromatogram)

source§

fn fill_selected_ion(&mut self, param: Param)

source§

fn fill_isolation_window(&mut self, param: Param)

source§

fn fill_scan_window(&mut self, param: Param)

Auto Trait Implementations§

§

impl<'a, C, D> Freeze for MzMLbSpectrumBuilder<'a, C, D>

§

impl<'a, C, D> RefUnwindSafe for MzMLbSpectrumBuilder<'a, C, D>

§

impl<'a, C, D> Send for MzMLbSpectrumBuilder<'a, C, D>
where C: Send, D: Send,

§

impl<'a, C, D> Sync for MzMLbSpectrumBuilder<'a, C, D>
where C: Sync, D: Sync,

§

impl<'a, C, D> Unpin for MzMLbSpectrumBuilder<'a, C, D>
where C: Unpin, D: Unpin,

§

impl<'a, C, D> !UnwindSafe for MzMLbSpectrumBuilder<'a, C, D>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Pointable for T

source§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

source§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
source§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
source§

fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
source§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.