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

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

Object Safety§

This trait is not object safe.

Implementors§

source§

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