Trait 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).

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

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