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