#[non_exhaustive]
pub enum Feature<T>
where T: Float,
{
Show 40 variants FeatureExtractor(FeatureExtractor<T, Self>), Amplitude(Amplitude), AndersonDarlingNormal(AndersonDarlingNormal), Bins(Bins<T, Self>), BazinFit(BazinFit), BeyondNStd(BeyondNStd<T>), Cusum(Cusum), Duration(Duration), Eta(Eta), EtaE(EtaE), ExcessVariance(ExcessVariance), InterPercentileRange(InterPercentileRange), Kurtosis(Kurtosis), LinearFit(LinearFit), LinearTrend(LinearTrend), LinexpFit(LinexpFit), MagnitudePercentageRatio(MagnitudePercentageRatio), MaximumSlope(MaximumSlope), MaximumTimeInterval(MaximumTimeInterval), MinimumTimeInterval(MinimumTimeInterval), Mean(Mean), MeanVariance(MeanVariance), Median(Median), MedianAbsoluteDeviation(MedianAbsoluteDeviation), MedianBufferRangePercentage(MedianBufferRangePercentage<T>), ObservationCount(ObservationCount), OtsuSplit(OtsuSplit), PercentAmplitude(PercentAmplitude), PercentDifferenceMagnitudePercentile(PercentDifferenceMagnitudePercentile), Periodogram(Periodogram<T, Self>), _PeriodogramPeaks(_PeriodogramPeaks), ReducedChi2(ReducedChi2), Skew(Skew), StandardDeviation(StandardDeviation), StetsonK(StetsonK), TimeMean(TimeMean), TimeStandardDeviation(TimeStandardDeviation), Transformed(Transformed<T, Self, Transformer<T>>), VillarFit(VillarFit), WeightedMean(WeightedMean),
}
Expand description

All features are available as variants of this enum

Consider to import crate::FeatureEvaluator as well

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.
§

FeatureExtractor(FeatureExtractor<T, Self>)

§

Amplitude(Amplitude)

§

AndersonDarlingNormal(AndersonDarlingNormal)

§

Bins(Bins<T, Self>)

§

BazinFit(BazinFit)

§

BeyondNStd(BeyondNStd<T>)

§

Cusum(Cusum)

§

Duration(Duration)

§

Eta(Eta)

§

EtaE(EtaE)

§

ExcessVariance(ExcessVariance)

§

InterPercentileRange(InterPercentileRange)

§

Kurtosis(Kurtosis)

§

LinearFit(LinearFit)

§

LinearTrend(LinearTrend)

§

LinexpFit(LinexpFit)

§

MagnitudePercentageRatio(MagnitudePercentageRatio)

§

MaximumSlope(MaximumSlope)

§

MaximumTimeInterval(MaximumTimeInterval)

§

MinimumTimeInterval(MinimumTimeInterval)

§

Mean(Mean)

§

MeanVariance(MeanVariance)

§

Median(Median)

§

MedianAbsoluteDeviation(MedianAbsoluteDeviation)

§

MedianBufferRangePercentage(MedianBufferRangePercentage<T>)

§

ObservationCount(ObservationCount)

§

OtsuSplit(OtsuSplit)

§

PercentAmplitude(PercentAmplitude)

§

PercentDifferenceMagnitudePercentile(PercentDifferenceMagnitudePercentile)

§

Periodogram(Periodogram<T, Self>)

§

_PeriodogramPeaks(_PeriodogramPeaks)

§

ReducedChi2(ReducedChi2)

§

Skew(Skew)

§

StandardDeviation(StandardDeviation)

§

StetsonK(StetsonK)

§

TimeMean(TimeMean)

§

TimeStandardDeviation(TimeStandardDeviation)

§

Transformed(Transformed<T, Self, Transformer<T>>)

§

VillarFit(VillarFit)

§

WeightedMean(WeightedMean)

Trait Implementations§

source§

impl<T> Clone for Feature<T>
where T: Float + Clone,

source§

fn clone(&self) -> Feature<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<T> Debug for Feature<T>
where T: Float + Debug,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de, T> Deserialize<'de> for Feature<T>
where T: Float,

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<T> EvaluatorInfoTrait for Feature<T>
where T: Float,

source§

fn get_info(&self) -> &EvaluatorInfo

Get feature evaluator meta-information

source§

fn size_hint(&self) -> usize

Size of vectors returned by eval(), get_names() and get_descriptions()

source§

fn min_ts_length(&self) -> usize

Minimum time series length required to successfully evaluate feature

source§

fn is_t_required(&self) -> bool

If time array used by the feature

source§

fn is_m_required(&self) -> bool

If magnitude array is used by the feature

source§

fn is_w_required(&self) -> bool

If weight array is used by the feature

source§

fn is_sorting_required(&self) -> bool

If feature requires time-sorting on the input TimeSeries

source§

impl<T> FeatureEvaluator<T> for Feature<T>
where T: Float,

source§

fn eval( &self, __enum_dispatch_arg_0: &mut TimeSeries<'_, T> ) -> Result<Vec<T>, EvaluatorError>

Vector of feature values or EvaluatorError

source§

fn eval_or_fill( &self, __enum_dispatch_arg_0: &mut TimeSeries<'_, T>, __enum_dispatch_arg_1: T ) -> Vec<T>

Returns vector of feature values and fill invalid components with given value

source§

fn check_ts_length( &self, __enum_dispatch_arg_0: &TimeSeries<'_, T> ) -> Result<usize, EvaluatorError>

Checks if TimeSeries has enough points to evaluate the feature

source§

impl<T> FeatureNamesDescriptionsTrait for Feature<T>
where T: Float,

source§

fn get_names(&self) -> Vec<&str>

Vector of feature names. The length and feature order corresponds to eval() output

source§

fn get_descriptions(&self) -> Vec<&str>

Vector of feature descriptions. The length and feature order corresponds to eval() output

source§

impl<T> From<Amplitude> for Feature<T>
where T: Float,

source§

fn from(v: Amplitude) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<AndersonDarlingNormal> for Feature<T>
where T: Float,

source§

fn from(v: AndersonDarlingNormal) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<BazinFit> for Feature<T>
where T: Float,

source§

fn from(v: BazinFit) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<BeyondNStd<T>> for Feature<T>
where T: Float,

source§

fn from(v: BeyondNStd<T>) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<Bins<T, Feature<T>>> for Feature<T>
where T: Float,

source§

fn from(v: Bins<T, Self>) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<Cusum> for Feature<T>
where T: Float,

source§

fn from(v: Cusum) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<Duration> for Feature<T>
where T: Float,

source§

fn from(v: Duration) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<Eta> for Feature<T>
where T: Float,

source§

fn from(v: Eta) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<EtaE> for Feature<T>
where T: Float,

source§

fn from(v: EtaE) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<ExcessVariance> for Feature<T>
where T: Float,

source§

fn from(v: ExcessVariance) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<FeatureExtractor<T, Feature<T>>> for Feature<T>
where T: Float,

source§

fn from(v: FeatureExtractor<T, Self>) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<InterPercentileRange> for Feature<T>
where T: Float,

source§

fn from(v: InterPercentileRange) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<Kurtosis> for Feature<T>
where T: Float,

source§

fn from(v: Kurtosis) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<LinearFit> for Feature<T>
where T: Float,

source§

fn from(v: LinearFit) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<LinearTrend> for Feature<T>
where T: Float,

source§

fn from(v: LinearTrend) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<LinexpFit> for Feature<T>
where T: Float,

source§

fn from(v: LinexpFit) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<MagnitudePercentageRatio> for Feature<T>
where T: Float,

source§

fn from(v: MagnitudePercentageRatio) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<MaximumSlope> for Feature<T>
where T: Float,

source§

fn from(v: MaximumSlope) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<MaximumTimeInterval> for Feature<T>
where T: Float,

source§

fn from(v: MaximumTimeInterval) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<Mean> for Feature<T>
where T: Float,

source§

fn from(v: Mean) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<MeanVariance> for Feature<T>
where T: Float,

source§

fn from(v: MeanVariance) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<Median> for Feature<T>
where T: Float,

source§

fn from(v: Median) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<MedianAbsoluteDeviation> for Feature<T>
where T: Float,

source§

fn from(v: MedianAbsoluteDeviation) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<MedianBufferRangePercentage<T>> for Feature<T>
where T: Float,

source§

fn from(v: MedianBufferRangePercentage<T>) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<MinimumTimeInterval> for Feature<T>
where T: Float,

source§

fn from(v: MinimumTimeInterval) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<ObservationCount> for Feature<T>
where T: Float,

source§

fn from(v: ObservationCount) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<OtsuSplit> for Feature<T>
where T: Float,

source§

fn from(v: OtsuSplit) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<PercentAmplitude> for Feature<T>
where T: Float,

source§

fn from(v: PercentAmplitude) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<PercentDifferenceMagnitudePercentile> for Feature<T>
where T: Float,

source§

fn from(v: PercentDifferenceMagnitudePercentile) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<Periodogram<T, Feature<T>>> for Feature<T>
where T: Float,

source§

fn from(v: Periodogram<T, Self>) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<ReducedChi2> for Feature<T>
where T: Float,

source§

fn from(v: ReducedChi2) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<Skew> for Feature<T>
where T: Float,

source§

fn from(v: Skew) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<StandardDeviation> for Feature<T>
where T: Float,

source§

fn from(v: StandardDeviation) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<StetsonK> for Feature<T>
where T: Float,

source§

fn from(v: StetsonK) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<TimeMean> for Feature<T>
where T: Float,

source§

fn from(v: TimeMean) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<TimeStandardDeviation> for Feature<T>
where T: Float,

source§

fn from(v: TimeStandardDeviation) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<Transformed<T, Feature<T>, Transformer<T>>> for Feature<T>
where T: Float,

source§

fn from(v: Transformed<T, Self, Transformer<T>>) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<VillarFit> for Feature<T>
where T: Float,

source§

fn from(v: VillarFit) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> From<WeightedMean> for Feature<T>
where T: Float,

source§

fn from(v: WeightedMean) -> Feature<T>

Converts to this type from the input type.
source§

impl<T> JsonSchema for Feature<T>
where T: Float + JsonSchema,

source§

fn schema_name() -> String

The name of the generated JSON Schema. Read more
source§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
source§

fn json_schema(gen: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
source§

fn is_referenceable() -> bool

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
source§

impl<T> Serialize for Feature<T>
where T: Float,

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<T> TryInto<Amplitude> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into(self) -> Result<Amplitude, <Self as TryInto<Amplitude>>::Error>

Performs the conversion.
source§

impl<T> TryInto<AndersonDarlingNormal> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into( self ) -> Result<AndersonDarlingNormal, <Self as TryInto<AndersonDarlingNormal>>::Error>

Performs the conversion.
source§

impl<T> TryInto<BazinFit> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into(self) -> Result<BazinFit, <Self as TryInto<BazinFit>>::Error>

Performs the conversion.
source§

impl<T> TryInto<BeyondNStd<T>> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into( self ) -> Result<BeyondNStd<T>, <Self as TryInto<BeyondNStd<T>>>::Error>

Performs the conversion.
source§

impl<T> TryInto<Bins<T, Feature<T>>> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into( self ) -> Result<Bins<T, Self>, <Self as TryInto<Bins<T, Self>>>::Error>

Performs the conversion.
source§

impl<T> TryInto<Cusum> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into(self) -> Result<Cusum, <Self as TryInto<Cusum>>::Error>

Performs the conversion.
source§

impl<T> TryInto<Duration> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into(self) -> Result<Duration, <Self as TryInto<Duration>>::Error>

Performs the conversion.
source§

impl<T> TryInto<Eta> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into(self) -> Result<Eta, <Self as TryInto<Eta>>::Error>

Performs the conversion.
source§

impl<T> TryInto<EtaE> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into(self) -> Result<EtaE, <Self as TryInto<EtaE>>::Error>

Performs the conversion.
source§

impl<T> TryInto<ExcessVariance> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into( self ) -> Result<ExcessVariance, <Self as TryInto<ExcessVariance>>::Error>

Performs the conversion.
source§

impl<T> TryInto<FeatureExtractor<T, Feature<T>>> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into( self ) -> Result<FeatureExtractor<T, Self>, <Self as TryInto<FeatureExtractor<T, Self>>>::Error>

Performs the conversion.
source§

impl<T> TryInto<InterPercentileRange> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into( self ) -> Result<InterPercentileRange, <Self as TryInto<InterPercentileRange>>::Error>

Performs the conversion.
source§

impl<T> TryInto<Kurtosis> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into(self) -> Result<Kurtosis, <Self as TryInto<Kurtosis>>::Error>

Performs the conversion.
source§

impl<T> TryInto<LinearFit> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into(self) -> Result<LinearFit, <Self as TryInto<LinearFit>>::Error>

Performs the conversion.
source§

impl<T> TryInto<LinearTrend> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into(self) -> Result<LinearTrend, <Self as TryInto<LinearTrend>>::Error>

Performs the conversion.
source§

impl<T> TryInto<LinexpFit> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into(self) -> Result<LinexpFit, <Self as TryInto<LinexpFit>>::Error>

Performs the conversion.
source§

impl<T> TryInto<MagnitudePercentageRatio> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into( self ) -> Result<MagnitudePercentageRatio, <Self as TryInto<MagnitudePercentageRatio>>::Error>

Performs the conversion.
source§

impl<T> TryInto<MaximumSlope> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into( self ) -> Result<MaximumSlope, <Self as TryInto<MaximumSlope>>::Error>

Performs the conversion.
source§

impl<T> TryInto<MaximumTimeInterval> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into( self ) -> Result<MaximumTimeInterval, <Self as TryInto<MaximumTimeInterval>>::Error>

Performs the conversion.
source§

impl<T> TryInto<Mean> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into(self) -> Result<Mean, <Self as TryInto<Mean>>::Error>

Performs the conversion.
source§

impl<T> TryInto<MeanVariance> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into( self ) -> Result<MeanVariance, <Self as TryInto<MeanVariance>>::Error>

Performs the conversion.
source§

impl<T> TryInto<Median> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into(self) -> Result<Median, <Self as TryInto<Median>>::Error>

Performs the conversion.
source§

impl<T> TryInto<MedianAbsoluteDeviation> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into( self ) -> Result<MedianAbsoluteDeviation, <Self as TryInto<MedianAbsoluteDeviation>>::Error>

Performs the conversion.
source§

impl<T> TryInto<MedianBufferRangePercentage<T>> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into( self ) -> Result<MedianBufferRangePercentage<T>, <Self as TryInto<MedianBufferRangePercentage<T>>>::Error>

Performs the conversion.
source§

impl<T> TryInto<MinimumTimeInterval> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into( self ) -> Result<MinimumTimeInterval, <Self as TryInto<MinimumTimeInterval>>::Error>

Performs the conversion.
source§

impl<T> TryInto<ObservationCount> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into( self ) -> Result<ObservationCount, <Self as TryInto<ObservationCount>>::Error>

Performs the conversion.
source§

impl<T> TryInto<OtsuSplit> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into(self) -> Result<OtsuSplit, <Self as TryInto<OtsuSplit>>::Error>

Performs the conversion.
source§

impl<T> TryInto<PercentAmplitude> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into( self ) -> Result<PercentAmplitude, <Self as TryInto<PercentAmplitude>>::Error>

Performs the conversion.
source§

impl<T> TryInto<PercentDifferenceMagnitudePercentile> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into( self ) -> Result<PercentDifferenceMagnitudePercentile, <Self as TryInto<PercentDifferenceMagnitudePercentile>>::Error>

Performs the conversion.
source§

impl<T> TryInto<Periodogram<T, Feature<T>>> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into( self ) -> Result<Periodogram<T, Self>, <Self as TryInto<Periodogram<T, Self>>>::Error>

Performs the conversion.
source§

impl<T> TryInto<ReducedChi2> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into(self) -> Result<ReducedChi2, <Self as TryInto<ReducedChi2>>::Error>

Performs the conversion.
source§

impl<T> TryInto<Skew> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into(self) -> Result<Skew, <Self as TryInto<Skew>>::Error>

Performs the conversion.
source§

impl<T> TryInto<StandardDeviation> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into( self ) -> Result<StandardDeviation, <Self as TryInto<StandardDeviation>>::Error>

Performs the conversion.
source§

impl<T> TryInto<StetsonK> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into(self) -> Result<StetsonK, <Self as TryInto<StetsonK>>::Error>

Performs the conversion.
source§

impl<T> TryInto<TimeMean> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into(self) -> Result<TimeMean, <Self as TryInto<TimeMean>>::Error>

Performs the conversion.
source§

impl<T> TryInto<TimeStandardDeviation> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into( self ) -> Result<TimeStandardDeviation, <Self as TryInto<TimeStandardDeviation>>::Error>

Performs the conversion.
source§

impl<T> TryInto<Transformed<T, Feature<T>, Transformer<T>>> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into( self ) -> Result<Transformed<T, Self, Transformer<T>>, <Self as TryInto<Transformed<T, Self, Transformer<T>>>>::Error>

Performs the conversion.
source§

impl<T> TryInto<VillarFit> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into(self) -> Result<VillarFit, <Self as TryInto<VillarFit>>::Error>

Performs the conversion.
source§

impl<T> TryInto<WeightedMean> for Feature<T>
where T: Float,

§

type Error = &'static str

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

fn try_into( self ) -> Result<WeightedMean, <Self as TryInto<WeightedMean>>::Error>

Performs the conversion.

Auto Trait Implementations§

§

impl<T> RefUnwindSafe for Feature<T>
where T: RefUnwindSafe,

§

impl<T> Send for Feature<T>

§

impl<T> Sync for Feature<T>

§

impl<T> Unpin for Feature<T>
where T: Unpin,

§

impl<T> UnwindSafe for Feature<T>
where T: UnwindSafe,

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<Src, Scheme> ApproxFrom<Src, Scheme> for Src
where Scheme: ApproxScheme,

§

type Err = NoError

The error type produced by a failed conversion.
source§

fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>

Convert the given value into an approximately equivalent representation.
source§

impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Src
where Dst: ApproxFrom<Src, Scheme>, Scheme: ApproxScheme,

§

type Err = <Dst as ApproxFrom<Src, Scheme>>::Err

The error type produced by a failed conversion.
source§

fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>

Convert the subject into an approximately equivalent representation.
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, Dst> ConvAsUtil<Dst> for T

source§

fn approx(self) -> Result<Dst, Self::Err>
where Self: Sized + ApproxInto<Dst>,

Approximate the subject with the default scheme.
source§

fn approx_by<Scheme>(self) -> Result<Dst, Self::Err>
where Self: Sized + ApproxInto<Dst, Scheme>, Scheme: ApproxScheme,

Approximate the subject with a specific scheme.
source§

impl<T> ConvUtil for T

source§

fn approx_as<Dst>(self) -> Result<Dst, Self::Err>
where Self: Sized + ApproxInto<Dst>,

Approximate the subject to a given type with the default scheme.
source§

fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>
where Self: Sized + ApproxInto<Dst, Scheme>, Scheme: ApproxScheme,

Approximate the subject to a given type with a specific scheme.
source§

fn into_as<Dst>(self) -> Dst
where Self: Sized + Into<Dst>,

Convert the subject to a given type.
source§

fn try_as<Dst>(self) -> Result<Dst, Self::Err>
where Self: Sized + TryInto<Dst>,

Attempt to convert the subject to a given type.
source§

fn value_as<Dst>(self) -> Result<Dst, Self::Err>
where Self: Sized + ValueInto<Dst>,

Attempt a value conversion of the subject to a given type.
source§

impl<T> DynClone for T
where T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

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> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<Src> TryFrom<Src> for Src

§

type Err = NoError

The error type produced by a failed conversion.
source§

fn try_from(src: Src) -> Result<Src, <Src as TryFrom<Src>>::Err>

Convert the given value into the subject type.
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<Src, Dst> TryInto<Dst> for Src
where Dst: TryFrom<Src>,

§

type Err = <Dst as TryFrom<Src>>::Err

The error type produced by a failed conversion.
source§

fn try_into(self) -> Result<Dst, <Src as TryInto<Dst>>::Err>

Convert the subject into the destination type.
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.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<Src> ValueFrom<Src> for Src

§

type Err = NoError

The error type produced by a failed conversion.
source§

fn value_from(src: Src) -> Result<Src, <Src as ValueFrom<Src>>::Err>

Convert the given value into an exactly equivalent representation.
source§

impl<Src, Dst> ValueInto<Dst> for Src
where Dst: ValueFrom<Src>,

§

type Err = <Dst as ValueFrom<Src>>::Err

The error type produced by a failed conversion.
source§

fn value_into(self) -> Result<Dst, <Src as ValueInto<Dst>>::Err>

Convert the subject into an exactly equivalent representation.
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,