[−][src]Struct shader_types::Mat3x3
Matrix of f32
values with 3 rows and 3 columns. Has size 48 and alignment 16.
Fields
inner: [Vec3; 3]
Implementations
impl Mat3x3
[src]
pub fn new(inner: [Vec3; 3]) -> Self
[src]
pub fn from_mint<T: Into<ColumnMatrix3<f32>>>(value: T) -> Self
[src]
This is supported on crate feature
mint
only.Construct a Mat3x3
from any type which is convertable into a mint::ColumnMatrix3<f32>
.
Trait Implementations
impl Clone for Mat3x3
[src]
impl Copy for Mat3x3
[src]
impl Debug for Mat3x3
[src]
impl Default for Mat3x3
[src]
impl From<[[f32; 3]; 3]> for Mat3x3
[src]
impl From<[Vec3; 3]> for Mat3x3
[src]
impl From<[f32; 9]> for Mat3x3
[src]
impl From<ColumnMatrix3<f32>> for Mat3x3
[src]
impl From<Mat3x3> for ColumnMatrix3<f32>
[src]
impl From<Mat3x3> for [Vec3; 3]
[src]
impl From<Mat3x3> for [f32; 9]
[src]
impl From<Mat3x3> for [[f32; 3]; 3]
[src]
impl PartialEq<Mat3x3> for Mat3x3
[src]
impl PartialOrd<Mat3x3> for Mat3x3
[src]
fn partial_cmp(&self, other: &Mat3x3) -> Option<Ordering>
[src]
fn lt(&self, other: &Mat3x3) -> bool
[src]
fn le(&self, other: &Mat3x3) -> bool
[src]
fn gt(&self, other: &Mat3x3) -> bool
[src]
fn ge(&self, other: &Mat3x3) -> bool
[src]
impl Pod for Mat3x3
[src]
impl StructuralPartialEq for Mat3x3
[src]
impl Zeroable for Mat3x3
[src]
Auto Trait Implementations
impl RefUnwindSafe for Mat3x3
impl Send for Mat3x3
impl Sync for Mat3x3
impl Unpin for Mat3x3
impl UnwindSafe for Mat3x3
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,