[][src]Struct skia_safe::utils::Matrix3D

#[repr(C)]
pub struct Matrix3D {
    pub mat: [[scalar; 4]; 3],
}

Fields

mat: [[scalar; 4]; 3]

Methods

impl Matrix3D[src]

pub fn reset(&mut self) -> &mut Self[src]

pub fn set_row(
    &mut self,
    row: usize,
    a: scalar,
    b: scalar,
    c: scalar,
    d: impl Into<Option<scalar>>
) -> &mut Self
[src]

pub fn set_rotate_x(&mut self, deg: scalar) -> &mut Self[src]

pub fn set_rotate_y(&mut self, deg: scalar) -> &mut Self[src]

pub fn set_rotate_z(&mut self, deg: scalar) -> &mut Self[src]

pub fn set_translate(&mut self, x: scalar, y: scalar, z: scalar) -> &mut Self[src]

pub fn pre_rotate_x(&mut self, deg: scalar) -> &mut Self[src]

pub fn pre_rotate_y(&mut self, deg: scalar) -> &mut Self[src]

pub fn pre_rotate_z(&mut self, deg: scalar) -> &mut Self[src]

pub fn pre_translate(&mut self, x: scalar, y: scalar, z: scalar) -> &mut Self[src]

pub fn set_concat(&mut self, a: &Self, b: &Self) -> &mut Self[src]

pub fn map_point(&self, src: impl Into<Point3D>) -> Point3D[src]

pub fn map_vector(&self, src: impl Into<Vector3D>) -> Vector3D[src]

Trait Implementations

impl Default for Matrix3D[src]

impl Clone for Matrix3D[src]

impl PartialEq<Matrix3D> for Matrix3D[src]

impl Debug for Matrix3D[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]