Trait cgmath::FixedArray
[−]
[src]
pub trait FixedArray<V> { fn into_fixed(self) -> V; fn as_fixed<'a>(&'a self) -> &'a V; fn as_mut_fixed<'a>(&'a mut self) -> &'a mut V; fn from_fixed(v: V) -> Self; fn from_fixed_ref<'a>(v: &'a V) -> &'a Self; fn from_fixed_mut<'a>(v: &'a mut V) -> &'a mut Self; }
Homogeneous arrays of elements that can be converted to and from [T, ..N]
arrays.
Required Methods
fn into_fixed(self) -> V
fn as_fixed<'a>(&'a self) -> &'a V
fn as_mut_fixed<'a>(&'a mut self) -> &'a mut V
fn from_fixed(v: V) -> Self
fn from_fixed_ref<'a>(v: &'a V) -> &'a Self
fn from_fixed_mut<'a>(v: &'a mut V) -> &'a mut Self
Implementors
impl<S> FixedArray<[[S; 2]; 2]> for Matrix2<S>
impl<S> FixedArray<[[S; 3]; 3]> for Matrix3<S>
impl<S> FixedArray<[[S; 4]; 4]> for Matrix4<S>
impl<S> FixedArray<[S; 2]> for Vector2<S>
impl<S> FixedArray<[S; 3]> for Vector3<S>
impl<S> FixedArray<[S; 4]> for Vector4<S>
impl<S> FixedArray<[S; 2]> for Point2<S>
impl<S> FixedArray<[S; 3]> for Point3<S>