Struct e2rcore::implement::math::mat::Mat1x4
[−]
[src]
pub struct Mat1x4<T> where
T: Copy + Clone, { pub _val: [T; 4], }
Fields
_val: [T; 4]
Methods
impl Mat1x4<f32>[src]
fn size(&self) -> Option<u32>[src]
fn mul_elem(&self, other: &Mat1x4<f32>) -> Option<Mat1x4<f32>>[src]
fn mul_mat4x4(&self, other: &Mat4<f32>) -> Option<Mat1x4<f32>>[src]
fn div(&self, other: &Mat1x4<f32>) -> Option<Mat1x4<f32>>[src]
fn plus(&self, other: &Mat1x4<f32>) -> Option<Mat1x4<f32>>[src]
fn minus(&self, other: &Mat1x4<f32>) -> Option<Mat1x4<f32>>[src]
fn dot(&self, other: &Mat1x4<f32>) -> Option<f32>[src]
fn cross(&self, other: &Self) -> Option<Self>[src]
fn magnitude(&self) -> Option<f32>[src]
fn normalize(self) -> Option<Self>[src]
fn scale(&self, s: f32) -> Option<Self>[src]
fn transpose(self) -> Mat4x1<f32>[src]
impl Mat1x4<f64>[src]
fn size(&self) -> Option<u32>[src]
fn mul_elem(&self, other: &Mat1x4<f64>) -> Option<Mat1x4<f64>>[src]
fn mul_mat4x4(&self, other: &Mat4<f64>) -> Option<Mat1x4<f64>>[src]
fn div(&self, other: &Mat1x4<f64>) -> Option<Mat1x4<f64>>[src]
fn plus(&self, other: &Mat1x4<f64>) -> Option<Mat1x4<f64>>[src]
fn minus(&self, other: &Mat1x4<f64>) -> Option<Mat1x4<f64>>[src]
fn dot(&self, other: &Mat1x4<f64>) -> Option<f64>[src]
fn cross(&self, other: &Self) -> Option<Self>[src]
fn magnitude(&self) -> Option<f64>[src]
fn normalize(self) -> Option<Self>[src]
fn scale(&self, s: f64) -> Option<Self>[src]
fn transpose(self) -> Mat4x1<f64>[src]
Trait Implementations
impl<T: Debug> Debug for Mat1x4<T> where
T: Copy + Clone, [src]
T: Copy + Clone,
impl<T: Copy> Copy for Mat1x4<T> where
T: Copy + Clone, [src]
T: Copy + Clone,
impl<T: Clone> Clone for Mat1x4<T> where
T: Copy + Clone, [src]
T: Copy + Clone,
fn clone(&self) -> Mat1x4<T>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<T> Index<u32> for Mat1x4<T> where
T: Copy + Clone, [src]
T: Copy + Clone,
type Output = T
The returned type after indexing.
fn index(&self, index: u32) -> &T[src]
Performs the indexing (container[index]) operation.
impl<T> IndexMut<u32> for Mat1x4<T> where
T: Copy + Clone, [src]
T: Copy + Clone,
fn index_mut(&mut self, index: u32) -> &mut T[src]
Performs the mutable indexing (container[index]) operation.