pub trait Clamp {
fn clamp(&self, low: Self, high: Self) -> Self;
}
Clamp the value(s) of self to between low
and high
.
fn clamp(&self, low: Self, high: Self) -> Self
Loading content...fn clamp(&self, low: Self, high: Self) -> Self
[src]
fn clamp(&self, low: Self, high: Self) -> Self
[src]
Loading content...Loading content...