Construct

Trait Construct 

Source
pub trait Construct<T>:
    Debug
    + Copy
    + Clone
    + PartialEq
    + Add<Self, Output = Self>
    + Add<T, Output = Self>
    + Sub<Self, Output = Self>
    + Sub<T, Output = Self>
    + Mul<Self, Output = Self>
    + Mul<T, Output = Self>
    + Div<Self, Output = Self>
    + Div<T, Output = Self>
    + Rem<Self, Output = Self>
    + Rem<T, Output = Self>
    + Neg<Output = Self>
    + SignOps
    + Zero
    + One
    + Two
    + F32Fmt { }
Expand description

Implemented by all constructs of this library.

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> Construct<T> for Matrix3<T>
where T: Construct<T>,

Source§

impl<T> Construct<T> for Matrix4<T>
where T: Construct<T>,

Source§

impl<T> Construct<T> for Vector3<T>
where T: Construct<T>,

Source§

impl<T> Construct<T> for Vector4<T>
where T: Construct<T>,

Source§

impl<T> Construct<T> for Euler<T>
where T: Construct<T>,

Source§

impl<T> Construct<T> for Quaternion<T>
where T: Construct<T>,

Source§

impl<T: Debug + Copy + Clone + PartialEq + Add<T, Output = T> + Sub<T, Output = T> + Mul<T, Output = T> + Div<T, Output = T> + Rem<T, Output = T> + Neg<Output = T> + SignOps + Zero + One + Two + F32Fmt + Primitive> Construct<T> for T