Struct light_curve_feature::prelude::FitArray [−][src]
pub struct FitArray<T, const NPARAMS: usize>(pub [T; NPARAMS]);Tuple Fields
0: [T; NPARAMS]Trait Implementations
impl<'de, T, const NPARAMS: usize> Deserialize<'de> for FitArray<T, NPARAMS> where
T: Debug + Clone + Serialize + DeserializeOwned + JsonSchema,
impl<'de, T, const NPARAMS: usize> Deserialize<'de> for FitArray<T, NPARAMS> where
T: Debug + Clone + Serialize + DeserializeOwned + JsonSchema,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
impl<T, const NPARAMS: usize> Serialize for FitArray<T, NPARAMS> where
T: Debug + Clone + Serialize + DeserializeOwned + JsonSchema,
impl<T, const NPARAMS: usize> Serialize for FitArray<T, NPARAMS> where
T: Debug + Clone + Serialize + DeserializeOwned + JsonSchema,
Auto Trait Implementations
impl<T, const NPARAMS: usize> RefUnwindSafe for FitArray<T, NPARAMS> where
T: RefUnwindSafe,
impl<T, const NPARAMS: usize> UnwindSafe for FitArray<T, NPARAMS> where
T: UnwindSafe,
Blanket Implementations
Convert the given value into an approximately equivalent representation.
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Src where
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Src where
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
The error type produced by a failed conversion.
Convert the subject into an approximately equivalent representation.
Mutably borrows from an owned value. Read more
Approximate the subject with the default scheme.
fn approx_by<Scheme>(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
fn approx_by<Scheme>(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
Approximate the subject with a specific scheme.
Approximate the subject to a given type with the default scheme.
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
Approximate the subject to a given type with a specific scheme.
Attempt to convert the subject to a given type.
