[][src]Trait clamped::Clamp

pub trait Clamp<T> {
    fn clamped(self, min: T, max: T) -> T;
}

Required methods

fn clamped(self, min: T, max: T) -> T

Loading content...

Implementors

impl<T> Clamp<T> for T where
    T: PartialOrd
[src]

Loading content...