pub trait RangeOpwhere
Self: Sized,{
type Step;
// Required methods
fn add_clamp(self, delta: Self::Step, bounds: (Self, Self)) -> Self;
fn sub_clamp(self, delta: Self::Step, bounds: (Self, Self)) -> Self;
}Expand description
Bounded numeric add and subtract.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.