Trait vek::ops::ClampMinus1

source ·
pub trait ClampMinus1: Clamp + One + Neg<Output = Self> { }
Expand description

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

Implementors§

source§

impl<T: Clamp + One + Neg<Output = T>> ClampMinus1 for T