pub trait Clip<T> {
type Output;
// Required method
fn clip(&self, min: T, max: T) -> Self::Output;
}Expand description
A trait denoting objects capable of being clipped between some minimum and some maximum.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".