Trait FixedMatrix4

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

Convert to fixed precision 4x4 matrix

Required Methods§

Source

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

Source

fn wrapping_from_num<N: ToFixed>(num: Matrix4<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> FixedMatrix4<S> for Matrix4<S>
where S: Fixed,

Source§

impl<S, U, V> FixedMatrix4<S> for Transform4<S, U, V>
where S: Fixed + Zero + One,