[−][src]Struct skia_safe::utils::Matrix3D
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]
&mut self,
row: usize,
a: scalar,
b: scalar,
c: scalar,
d: impl Into<Option<scalar>>
) -> &mut Self
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
impl Unpin for Matrix3D
impl Sync for Matrix3D
impl Send for Matrix3D
impl UnwindSafe for Matrix3D
impl RefUnwindSafe for Matrix3D
Blanket Implementations
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> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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>,
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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,