Trait argmin::core::ArgminFloat
source · pub trait ArgminFloat: 'static + Float + FloatConst + FromPrimitive + ToPrimitive + Debug + Display + SerializeAlias + DeserializeOwnedAlias + SendAlias + Into<KvValue> { }
Expand description
An alias for float types (f32
, f64
) which combines multiple commonly needed traits from
num_traits
, std::fmt
and for serialization/deserialization (the latter only if the serde1
feature is enabled). It is automatically implemented for all types which fulfill the trait
bounds.
Implementors§
impl<I> ArgminFloat for Iwhere
I: 'static + Float + FloatConst + FromPrimitive + ToPrimitive + Debug + Display + SerializeAlias + DeserializeOwnedAlias + SendAlias + Into<KvValue>,
ArgminFloat
is automatically implemented for all types which fulfill the trait bounds.