//! Float trait
usecast::From;usenum_traits::float;/// This is an extension of `num_traits::float::Float` that adds safe
/// casting and Sync + Send. Once `num_traits` has these features this
/// can be removed.
pubtraitFloat:
float::Float + From<usize, Output = Self> + From<f32, Output = Self> + Sync + Send
{}implFloat forf32{}implFloat forf64{}