#[repr(C, align(16))]pub struct Mat4x2 {
pub inner: [Vec4; 2],
/* private fields */
}
Expand description
Matrix of f32
values with 4 rows and 2 columns. Has size 32 and alignment 16.
Fields§
§inner: [Vec4; 2]
Implementations§
Trait Implementations§
Source§impl From<ColumnMatrix4x2<f32>> for Mat4x2
impl From<ColumnMatrix4x2<f32>> for Mat4x2
Source§fn from(other: ColumnMatrix4x2<f32>) -> Self
fn from(other: ColumnMatrix4x2<f32>) -> Self
Converts to this type from the input type.
Source§impl PartialOrd for Mat4x2
impl PartialOrd for Mat4x2
impl Copy for Mat4x2
impl Pod for Mat4x2
impl StructuralPartialEq for Mat4x2
Auto Trait Implementations§
impl Freeze for Mat4x2
impl RefUnwindSafe for Mat4x2
impl Send for Mat4x2
impl Sync for Mat4x2
impl Unpin for Mat4x2
impl UnwindSafe for Mat4x2
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.