[−][src]Struct rust_3d::Matrix3Pipe
Matrix3Pipe, which makes it easier to pipe different matrices in a defined order
Fields
mtranslation: Matrix3
mrotation: Matrix3
mscale: Matrix3
Methods
impl Matrix3Pipe
[src]
pub fn result(&self) -> Matrix3
[src]
Creates a new matrix as a result of all defined operations set within the pipe
pub fn add_translation(&mut self, x: f64, y: f64)
[src]
Adds a translation to the pipe
pub fn remove_translation(&mut self)
[src]
Removes any translation from the pipe
pub fn add_rotation(&mut self, rad: Rad)
[src]
Adds a rotation to the pipe
pub fn remove_rotation(&mut self)
[src]
Removes any rotation from the pipe
pub fn add_scale(&mut self, x: f64, y: f64)
[src]
Adds scaling to the pipe
pub fn remove_scale(&mut self)
[src]
Removes any scaling from the pipe
Trait Implementations
impl Clone for Matrix3Pipe
[src]
fn clone(&self) -> Matrix3Pipe
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Matrix3Pipe
[src]
impl Default for Matrix3Pipe
[src]
fn default() -> Matrix3Pipe
[src]
impl PartialEq<Matrix3Pipe> for Matrix3Pipe
[src]
fn eq(&self, other: &Matrix3Pipe) -> bool
[src]
fn ne(&self, other: &Matrix3Pipe) -> bool
[src]
impl PartialOrd<Matrix3Pipe> for Matrix3Pipe
[src]
fn partial_cmp(&self, other: &Matrix3Pipe) -> Option<Ordering>
[src]
fn lt(&self, other: &Matrix3Pipe) -> bool
[src]
fn le(&self, other: &Matrix3Pipe) -> bool
[src]
fn gt(&self, other: &Matrix3Pipe) -> bool
[src]
fn ge(&self, other: &Matrix3Pipe) -> bool
[src]
impl StructuralPartialEq for Matrix3Pipe
[src]
Auto Trait Implementations
impl RefUnwindSafe for Matrix3Pipe
impl Send for Matrix3Pipe
impl Sync for Matrix3Pipe
impl Unpin for Matrix3Pipe
impl UnwindSafe for Matrix3Pipe
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>,