[][src]Trait sdfu::mathtypes::Clamp

pub trait Clamp {
    fn clamp(&self, low: Self, high: Self) -> Self;
}

Clamp the value(s) of self to between low and high.

Required methods

fn clamp(&self, low: Self, high: Self) -> Self

Loading content...

Implementations on Foreign Types

impl Clamp for f32[src]

impl Clamp for f64[src]

Loading content...

Implementors

Loading content...