Trait veloren_voxygen::scene::math::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).

Object Safety§

This trait is not object safe.

Implementors§

source§

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