[−][src]Struct ultraviolet::mat::Wat2
Fields
cols: [Wec2; 2]Methods
impl Wat2[src]
pub fn new(col1: Wec2, col2: Wec2) -> Self[src]
pub fn identity() -> Self[src]
pub fn into_homogeneous(self) -> Wat3[src]
Turn this into a homogeneous 2d transformation matrix.
pub fn layout() -> Layout[src]
pub fn as_slice(&self) -> &[f32x4][src]
pub fn as_component_slice(&self) -> &[Wec2][src]
pub fn as_byte_slice(&self) -> &[u8][src]
pub fn as_mut_slice(&mut self) -> &mut [f32x4][src]
pub fn as_mut_component_slice(&mut self) -> &mut [Wec2][src]
pub fn as_mut_byte_slice(&mut self) -> &mut [u8][src]
Trait Implementations
impl From<[f32x4; 4]> for Wat2[src]
impl<'_> From<&'_ [f32x4; 4]> for Wat2[src]
impl From<WRotor2> for Wat2[src]
impl Clone for Wat2[src]
impl Copy for Wat2[src]
impl Default for Wat2[src]
impl Debug for Wat2[src]
impl Mul<Wat2> for Wat2[src]
type Output = Self
The resulting type after applying the * operator.
fn mul(self, rhs: Self) -> Self[src]
impl Mul<Wec2> for Wat2[src]
type Output = Wec2
The resulting type after applying the * operator.
fn mul(self, rhs: Wec2) -> Wec2[src]
impl Index<usize> for Wat2[src]
type Output = Wec2
The returned type after indexing.
fn index(&self, index: usize) -> &Self::Output[src]
impl IndexMut<usize> for Wat2[src]
Auto Trait Implementations
impl Send for Wat2
impl Sync for Wat2
impl Unpin for Wat2
impl UnwindSafe for Wat2
impl RefUnwindSafe for Wat2
Blanket Implementations
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 = !
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
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> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,