pub trait RangeExt<T> {
// Required methods
fn exceeds_max(&self, other: &T) -> bool
where T: PartialOrd<T>;
fn under_min(&self, item: &T) -> bool
where T: PartialOrd<T>;
fn contains(&self, item: &T) -> bool
where T: PartialOrd<T>;
fn into_tuple(self) -> (Bound<T>, Bound<T>)
where T: Copy + Sized;
}Required Methods§
fn exceeds_max(&self, other: &T) -> boolwhere
T: PartialOrd<T>,
fn under_min(&self, item: &T) -> boolwhere
T: PartialOrd<T>,
fn contains(&self, item: &T) -> boolwhere
T: PartialOrd<T>,
fn into_tuple(self) -> (Bound<T>, Bound<T>)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".