#[repr(C)]pub struct Matrix3x4<T: BaseFloat> {
pub c0: Vector4<T>,
pub c1: Vector4<T>,
pub c2: Vector4<T>,
}
Fields§
§c0: Vector4<T>
§c1: Vector4<T>
§c2: Vector4<T>
Implementations§
Source§impl<T: BaseFloat> Matrix3x4<T>
impl<T: BaseFloat> Matrix3x4<T>
pub fn new(c0: Vector4<T>, c1: Vector4<T>, c2: Vector4<T>) -> Matrix3x4<T>
pub fn from_array(ary: &[Vector4<T>; 3]) -> &Matrix3x4<T>
pub fn from_array_mut(ary: &mut [Vector4<T>; 3]) -> &mut Matrix3x4<T>
pub fn as_array(&self) -> &[Vector4<T>; 3]
pub fn as_array_mut(&mut self) -> &mut [Vector4<T>; 3]
pub fn add_s(&self, rhs: T) -> Matrix3x4<T>
pub fn add_m(&self, rhs: &Matrix3x4<T>) -> Matrix3x4<T>
pub fn sub_s(&self, rhs: T) -> Matrix3x4<T>
pub fn sub_m(&self, rhs: &Matrix3x4<T>) -> Matrix3x4<T>
pub fn div_m(&self, rhs: &Matrix3x4<T>) -> Matrix3x4<T>
pub fn div_s(&self, rhs: T) -> Matrix3x4<T>
pub fn rem_m(&self, rhs: &Matrix3x4<T>) -> Matrix3x4<T>
pub fn rem_s(&self, rhs: T) -> Matrix3x4<T>
pub fn mul_s(&self, rhs: T) -> Matrix3x4<T>
pub fn mul_v(&self, rhs: &Vector3<T>) -> Vector4<T>
pub fn mul_m(&self, rhs: &Matrix4x3<T>) -> Matrix4<T>
pub fn neg_m(&self) -> Matrix3x4<T>
Trait Implementations§
Source§impl<T: BaseFloat> ApproxEq for Matrix3x4<T>
impl<T: BaseFloat> ApproxEq for Matrix3x4<T>
impl<T: Copy + BaseFloat> Copy for Matrix3x4<T>
impl<T: BaseFloat> StructuralPartialEq for Matrix3x4<T>
Auto Trait Implementations§
impl<T> Freeze for Matrix3x4<T>where
T: Freeze,
impl<T> RefUnwindSafe for Matrix3x4<T>where
T: RefUnwindSafe,
impl<T> Send for Matrix3x4<T>
impl<T> Sync for Matrix3x4<T>where
T: Sync,
impl<T> Unpin for Matrix3x4<T>where
T: Unpin,
impl<T> UnwindSafe for Matrix3x4<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more