pub struct Transform { /* fields omitted */ }
Logical size of the viewport.
Creates a new transform matix based on the parameters of the LayerTransform. The transform
matrix is built in this order: Scale * Translation * Rotation.
Transforms the normalized position into a position in the transform. Typically you’ll use
the mouse’s normalized position and convert that into world space.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.