Skip to main content

CoordsFloat

Trait CoordsFloat 

Source
pub trait CoordsFloat:
    Float
    + Default
    + AddAssign
    + SubAssign
    + MulAssign
    + DivAssign
    + Debug
    + Send
    + Sync
    + 'static { }
Expand description

§Generic FP type trait

This trait is used for vertex & vector values. The static lifetime is a requirements induced by the attribute system implementation.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§