Tuple Fields
0: [f32; 6]
Implementations
impl Transform
impl Transform
pub fn identity() -> Transform
pub fn translate(tx: f32, ty: f32) -> Transform
pub fn scale(sx: f32, sy: f32) -> Transform
pub fn rotate(a: f32) -> Transform
pub fn skew_x(a: f32) -> Transform
pub fn skew_y(a: f32) -> Transform
pub fn pre_multiply(self, rhs: Transform) -> Transform
pub fn inverse(self) -> Transform
pub fn transform_point(&self, pt: Point) -> Point
Trait Implementations
impl MulAssign<Transform> for Transform
impl MulAssign<Transform> for Transform
fn mul_assign(&mut self, rhs: Transform)
fn mul_assign(&mut self, rhs: Transform)
Performs the *=
operation. Read more
impl Copy for Transform
Auto Trait Implementations
impl RefUnwindSafe for Transform
impl Send for Transform
impl Sync for Transform
impl Unpin for Transform
impl UnwindSafe for Transform
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
fn into_color(self) -> To
fn into_color(self) -> To
Convert into color
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.