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.
pub trait Clip<T> {
type Output;
// Required method
fn clip(&self, min: T, max: T) -> Self::Output;
}A trait denoting objects capable of being clipped between some minimum and some maximum.