Trait vek::ops::Clamp01

source ·
pub trait Clamp01: Clamp + Zero + One { }
Expand description

A scalar or vector that can be constrained to be between 0 and 1 (inclusive).

Implementors§

source§

impl<T: Clamp + Zero + One> Clamp01 for T