#[repr(C)]pub struct ColumnMatrix2<T> {
pub x: Vector2<T>,
pub y: Vector2<T>,
}
Fields§
§x: Vector2<T>
§y: Vector2<T>
Trait Implementations§
Source§impl<T> AsMut<[T; 4]> for ColumnMatrix2<T>
impl<T> AsMut<[T; 4]> for ColumnMatrix2<T>
Source§impl<T> AsRef<[T; 4]> for ColumnMatrix2<T>
impl<T> AsRef<[T; 4]> for ColumnMatrix2<T>
Source§impl<T: Clone> Clone for ColumnMatrix2<T>
impl<T: Clone> Clone for ColumnMatrix2<T>
Source§fn clone(&self) -> ColumnMatrix2<T>
fn clone(&self) -> ColumnMatrix2<T>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Debug> Debug for ColumnMatrix2<T>
impl<T: Debug> Debug for ColumnMatrix2<T>
Source§impl<T> From<ColumnMatrix2<T>> for [T; 4]
impl<T> From<ColumnMatrix2<T>> for [T; 4]
Source§fn from(name: ColumnMatrix2<T>) -> [T; 4]
fn from(name: ColumnMatrix2<T>) -> [T; 4]
Converts to this type from the input type.
Source§impl<T> From<ColumnMatrix2<T>> for RowMatrix2<T>
impl<T> From<ColumnMatrix2<T>> for RowMatrix2<T>
Source§fn from(m: ColumnMatrix2<T>) -> Self
fn from(m: ColumnMatrix2<T>) -> Self
Converts to this type from the input type.
Source§impl<T> From<RowMatrix2<T>> for ColumnMatrix2<T>
impl<T> From<RowMatrix2<T>> for ColumnMatrix2<T>
Source§fn from(m: RowMatrix2<T>) -> Self
fn from(m: RowMatrix2<T>) -> Self
Converts to this type from the input type.
Source§impl<T: Hash> Hash for ColumnMatrix2<T>
impl<T: Hash> Hash for ColumnMatrix2<T>
Source§impl<T> IntoMint for ColumnMatrix2<T>
impl<T> IntoMint for ColumnMatrix2<T>
Source§type MintType = ColumnMatrix2<T>
type MintType = ColumnMatrix2<T>
The mint type that this type is associated with.
Source§impl<T: Ord> Ord for ColumnMatrix2<T>
impl<T: Ord> Ord for ColumnMatrix2<T>
Source§fn cmp(&self, other: &ColumnMatrix2<T>) -> Ordering
fn cmp(&self, other: &ColumnMatrix2<T>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialEq> PartialEq for ColumnMatrix2<T>
impl<T: PartialEq> PartialEq for ColumnMatrix2<T>
Source§impl<T: PartialOrd> PartialOrd for ColumnMatrix2<T>
impl<T: PartialOrd> PartialOrd for ColumnMatrix2<T>
impl<T: Copy> Copy for ColumnMatrix2<T>
impl<T: Eq> Eq for ColumnMatrix2<T>
impl<T> StructuralPartialEq for ColumnMatrix2<T>
Auto Trait Implementations§
impl<T> Freeze for ColumnMatrix2<T>where
T: Freeze,
impl<T> RefUnwindSafe for ColumnMatrix2<T>where
T: RefUnwindSafe,
impl<T> Send for ColumnMatrix2<T>where
T: Send,
impl<T> Sync for ColumnMatrix2<T>where
T: Sync,
impl<T> Unpin for ColumnMatrix2<T>where
T: Unpin,
impl<T> UnwindSafe for ColumnMatrix2<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