Trait tract_pulse::internal::ClampCast [−]
pub trait ClampCast: 'static + PartialOrd<Self> + Copy { fn clamp_cast<O>(self) -> O
where
Self: AsPrimitive<O>,
O: AsPrimitive<Self> + Bounded, { ... } }
Provided methods
fn clamp_cast<O>(self) -> O where
Self: AsPrimitive<O>,
O: AsPrimitive<Self> + Bounded,
Implementors
impl<T> ClampCast for T where
T: 'static + PartialOrd<T> + Copy,