#[repr(C, align(16))]pub struct Mat3x3 {
pub inner: [Vec3; 3],
/* private fields */
}
Expand description
Matrix of f32
values with 3 rows and 3 columns. Has size 48 and alignment 16.
Fields§
§inner: [Vec3; 3]
Implementations§
Trait Implementations§
Source§impl From<ColumnMatrix3<f32>> for Mat3x3
impl From<ColumnMatrix3<f32>> for Mat3x3
Source§fn from(other: ColumnMatrix3<f32>) -> Self
fn from(other: ColumnMatrix3<f32>) -> Self
Converts to this type from the input type.
Source§impl PartialOrd for Mat3x3
impl PartialOrd for Mat3x3
impl Copy for Mat3x3
impl Pod for Mat3x3
impl StructuralPartialEq for Mat3x3
Auto Trait Implementations§
impl Freeze for Mat3x3
impl RefUnwindSafe for Mat3x3
impl Send for Mat3x3
impl Sync for Mat3x3
impl Unpin for Mat3x3
impl UnwindSafe for Mat3x3
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
.