#[repr(C)]pub struct Matrix2<T: Float> {
pub x: Vector2<T>,
pub y: Vector2<T>,
}
Fields§
§x: Vector2<T>
§y: Vector2<T>
Implementations§
Trait Implementations§
Source§impl<T: Float> AddAssign for Matrix2<T>
impl<T: Float> AddAssign for Matrix2<T>
Source§fn add_assign(&mut self, rhs: Matrix2<T>)
fn add_assign(&mut self, rhs: Matrix2<T>)
Performs the
+=
operation. Read moreSource§impl<T: Float> MulAssign<T> for Matrix2<T>
impl<T: Float> MulAssign<T> for Matrix2<T>
Source§fn mul_assign(&mut self, rhs: T)
fn mul_assign(&mut self, rhs: T)
Performs the
*=
operation. Read moreSource§impl<T: Float> MulAssign for Matrix2<T>
impl<T: Float> MulAssign for Matrix2<T>
Source§fn mul_assign(&mut self, rhs: Matrix2<T>)
fn mul_assign(&mut self, rhs: Matrix2<T>)
Performs the
*=
operation. Read moreSource§impl<T: Float> SubAssign for Matrix2<T>
impl<T: Float> SubAssign for Matrix2<T>
Source§fn sub_assign(&mut self, rhs: Matrix2<T>)
fn sub_assign(&mut self, rhs: Matrix2<T>)
Performs the
-=
operation. Read moreimpl<T: Copy + Float> Copy for Matrix2<T>
impl<T: Float> StructuralPartialEq for Matrix2<T>
Auto Trait Implementations§
impl<T> Freeze for Matrix2<T>where
T: Freeze,
impl<T> RefUnwindSafe for Matrix2<T>where
T: RefUnwindSafe,
impl<T> Send for Matrix2<T>where
T: Send,
impl<T> Sync for Matrix2<T>where
T: Sync,
impl<T> Unpin for Matrix2<T>where
T: Unpin,
impl<T> UnwindSafe for Matrix2<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