Trait client::util::ToArr
[−]
[src]
pub trait ToArr { type Output; fn to_arr(&self) -> Self::Output; }
Helper trait to easily convert various cgmath
types into array form to
use them in glium
Associated Types
type Output
Required Methods
Implementors
impl<T: BaseNum> ToArr for Matrix4<T>
impl<T: BaseNum> ToArr for Matrix3<T>
impl<T: BaseNum> ToArr for Matrix2<T>
impl<T: BaseNum> ToArr for Vector4<T>
impl<T: BaseNum> ToArr for Vector3<T>
impl<T: BaseFloat> ToArr for Vector2<T>
impl<T: BaseNum> ToArr for Point2<T>
impl<T: BaseNum> ToArr for Point3<T>