Struct emath::RectTransform [−][src]
pub struct RectTransform { /* fields omitted */ }
Expand description
Linearly transforms positions from one Rect
to another.
RectTransform
stores the rectangles, and therefore supports clamping and culling.
Implementations
Transforms the given coordinate in the from
space to the to
space.
Transforms the given rectangle in the in
-space to a rectangle in the out
-space.
Transforms the given coordinate in the from
space to the to
space,
clamping if necessary.
Trait Implementations
Transforms the position.
Transforms the position.
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 RectTransform
impl Send for RectTransform
impl Sync for RectTransform
impl Unpin for RectTransform
impl UnwindSafe for RectTransform
Blanket Implementations
Mutably borrows from an owned value. Read more