#[non_exhaustive]pub enum BuiltinDataModel {
Show 26 variants
NirsSignal1d,
NirsSignalWithProcessings,
RamanSignal,
FtirSignal,
TabularNumeric,
TabularMixed,
FeatureBlockSet,
SeriesMultivariate,
ClimateSeriesMultivariate,
GenotypeVariantMatrix,
GenotypeDosageMatrix,
RgbImage,
GrayImage,
MultichannelImage,
MultispectralImage,
HyperspectralCube,
SegmentationMask,
RoiMask,
SampleMetadata,
TargetNumeric,
TargetCategorical,
TargetNumericMatrix,
TargetCategoricalMatrix,
MassSpectrum,
TextRaw,
TextTokenIds,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NirsSignal1d
NirsSignalWithProcessings
RamanSignal
FtirSignal
TabularNumeric
TabularMixed
FeatureBlockSet
SeriesMultivariate
ClimateSeriesMultivariate
GenotypeVariantMatrix
GenotypeDosageMatrix
RgbImage
GrayImage
MultichannelImage
MultispectralImage
HyperspectralCube
SegmentationMask
RoiMask
SampleMetadata
TargetNumeric
TargetCategorical
TargetNumericMatrix
TargetCategoricalMatrix
MassSpectrum
TextRaw
TextTokenIds
Implementations§
Source§impl BuiltinDataModel
impl BuiltinDataModel
pub fn key(self) -> &'static str
pub fn modality(self) -> &'static str
pub fn representation(self) -> RepresentationSpec
pub fn spec(self) -> BuiltinDataModelSpec
Trait Implementations§
Source§impl Clone for BuiltinDataModel
impl Clone for BuiltinDataModel
Source§fn clone(&self) -> BuiltinDataModel
fn clone(&self) -> BuiltinDataModel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BuiltinDataModel
Source§impl Debug for BuiltinDataModel
impl Debug for BuiltinDataModel
impl Eq for BuiltinDataModel
Source§impl PartialEq for BuiltinDataModel
impl PartialEq for BuiltinDataModel
Source§fn eq(&self, other: &BuiltinDataModel) -> bool
fn eq(&self, other: &BuiltinDataModel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BuiltinDataModel
Auto Trait Implementations§
impl Freeze for BuiltinDataModel
impl RefUnwindSafe for BuiltinDataModel
impl Send for BuiltinDataModel
impl Sync for BuiltinDataModel
impl Unpin for BuiltinDataModel
impl UnsafeUnpin for BuiltinDataModel
impl UnwindSafe for BuiltinDataModel
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