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