Trait nannou::geom::Scalar

source ·
pub trait Scalar: Clone + Copy + Num + PartialOrd + AddAssign + SubAssign + MulAssign + DivAssign + RemAssign + Neg<Output = Self> { }
Expand description

Implemented for all numeric scalar types used within geom.

A base set of traits that must be implemented by all types used to represent scalar values within the geom module abstractions.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> Scalar for T
where T: Clone + Copy + Num + NumOps + PartialOrd + AddAssign + SubAssign + MulAssign + DivAssign + RemAssign + Neg<Output = T>,