[−][src]Struct shader_types::Mat4x4
Matrix of f32
values with 4 rows and 4 columns. Has size 64 and alignment 16.
Fields
inner: [Vec4; 4]
Implementations
impl Mat4x4
[src]
pub fn new(inner: [Vec4; 4]) -> Self
[src]
pub fn from_mint<T: Into<ColumnMatrix4<f32>>>(value: T) -> Self
[src]
This is supported on crate feature
mint
only.Construct a Mat4x4
from any type which is convertable into a mint::ColumnMatrix4<f32>
.
Trait Implementations
impl Clone for Mat4x4
[src]
impl Copy for Mat4x4
[src]
impl Debug for Mat4x4
[src]
impl Default for Mat4x4
[src]
impl From<[[f32; 4]; 4]> for Mat4x4
[src]
impl From<[Vec4; 4]> for Mat4x4
[src]
impl From<[f32; 16]> for Mat4x4
[src]
impl From<ColumnMatrix4<f32>> for Mat4x4
[src]
impl From<Mat4x4> for ColumnMatrix4<f32>
[src]
impl From<Mat4x4> for [Vec4; 4]
[src]
impl From<Mat4x4> for [f32; 16]
[src]
impl From<Mat4x4> for [[f32; 4]; 4]
[src]
impl PartialEq<Mat4x4> for Mat4x4
[src]
impl PartialOrd<Mat4x4> for Mat4x4
[src]
fn partial_cmp(&self, other: &Mat4x4) -> Option<Ordering>
[src]
fn lt(&self, other: &Mat4x4) -> bool
[src]
fn le(&self, other: &Mat4x4) -> bool
[src]
fn gt(&self, other: &Mat4x4) -> bool
[src]
fn ge(&self, other: &Mat4x4) -> bool
[src]
impl Pod for Mat4x4
[src]
impl StructuralPartialEq for Mat4x4
[src]
impl Zeroable for Mat4x4
[src]
Auto Trait Implementations
impl RefUnwindSafe for Mat4x4
impl Send for Mat4x4
impl Sync for Mat4x4
impl Unpin for Mat4x4
impl UnwindSafe for Mat4x4
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>,