Struct flo_canvas::Transform2D [−][src]
Expand description
Represents a 2D affine transformation matrix
Tuple Fields
0: [[f32; 3]; 3]Implementations
Applies this transformation to a point, returning the transformed point
Creates the identity transform
Creates a translation transformation
Creates a scaling transformation
Creates a transformation that’s a rotation in degrees
Creates a rotation transformation
Returns an inverted Transform2D
Trait Implementations
Encodes this item by appending it to the specified string Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
type Output = Transform2D
type Output = Transform2D
The resulting type after applying the * operator.
Performs the * operation. Read more
type Output = Transform2D
type Output = Transform2D
The resulting type after applying the * operator.
Performs the * operation. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for Transform2D
impl Send for Transform2D
impl Sync for Transform2D
impl Unpin for Transform2D
impl UnwindSafe for Transform2D
Blanket Implementations
Mutably borrows from an owned value. Read more