Trait argmin::core::ArgminFloat
source · pub trait ArgminFloat: 'static + Float + FloatConst + FromPrimitive + ToPrimitive + Debug + Display + 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.
Object Safety§
This trait is not object safe.
Implementors§
impl<I> ArgminFloat for Iwhere
I: 'static + Float + FloatConst + FromPrimitive + ToPrimitive + Debug + Display + SendAlias + Into<KvValue>,
ArgminFloat
is automatically implemented for all types which fulfill the trait bounds.