Trait FixedMatrix3

Source
pub trait FixedMatrix3<S> {
    // Required methods
    fn from_num<N: ToFixed>(num: Matrix3<N>) -> Self;
    fn wrapping_from_num<N: ToFixed>(num: Matrix3<N>) -> Self;
}
Expand description

Convert to fixed precision 3x3 matrix

Required Methods§

Source

fn from_num<N: ToFixed>(num: Matrix3<N>) -> Self

Source

fn wrapping_from_num<N: ToFixed>(num: Matrix3<N>) -> Self

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<S> FixedMatrix3<S> for Matrix3<S>
where S: Fixed,

Source§

impl<S, U, V> FixedMatrix3<S> for Transform3<S, U, V>
where S: Fixed + Zero + One,