pub struct TDFSpectrumReader<ImC> { /* private fields */ }Implementations§
Source§impl<ImC: InvertibleConverter<ScanIndex, Im> + Send + Sync + Debug> TDFSpectrumReader<ImC>
impl<ImC: InvertibleConverter<ScanIndex, Im> + Send + Sync + Debug> TDFSpectrumReader<ImC>
pub fn new( path: impl TDFPathLike, config: SpectrumReaderConfig<ImC>, im_converter: Arc<ImC>, ) -> Result<Self, TDFSpectrumReaderError>
pub fn build() -> SpectrumReaderBuilder<ImC>
pub fn get_all(&self) -> Vec<Result<Spectrum, TDFSpectrumReaderError>>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn calibrate(&mut self)
Trait Implementations§
Source§impl<ImC: Debug> Debug for TDFSpectrumReader<ImC>
impl<ImC: Debug> Debug for TDFSpectrumReader<ImC>
Source§impl<ImC: InvertibleConverter<ScanIndex, Im> + Send + Sync + Debug> IndexedReader<Spectrum> for TDFSpectrumReader<ImC>
impl<ImC: InvertibleConverter<ScanIndex, Im> + Send + Sync + Debug> IndexedReader<Spectrum> for TDFSpectrumReader<ImC>
Auto Trait Implementations§
impl<ImC> !RefUnwindSafe for TDFSpectrumReader<ImC>
impl<ImC> !UnwindSafe for TDFSpectrumReader<ImC>
impl<ImC> Freeze for TDFSpectrumReader<ImC>
impl<ImC> Send for TDFSpectrumReader<ImC>
impl<ImC> Sync for TDFSpectrumReader<ImC>
impl<ImC> Unpin for TDFSpectrumReader<ImC>
impl<ImC> UnsafeUnpin for TDFSpectrumReader<ImC>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more