Struct quicksilver::geom::Transform [] [src]

pub struct Transform(_);

A 2D transformation represented by a matrix

Methods

impl Transform
[src]

[src]

Create an identity transformation

[src]

Create a rotation transformation

[src]

Create a translation transformation

[src]

Create a scale transformation

[src]

Find the inverse of a Transform

Trait Implementations

impl Clone for Transform
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Transform
[src]

impl Debug for Transform
[src]

[src]

Formats the value using the given formatter.

impl Mul<Transform> for Transform
[src]

Concat two transforms A and B such that A * B * v = A * (B * v)

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<Vector> for Transform
[src]

Transform a vector

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<f32> for Transform
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Display for Transform
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for Transform
[src]

[src]

Returns the "default value" for a type. Read more

impl PartialEq for Transform
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for Transform
[src]