pub struct UvRect { /* private fields */ }Expand description
Normalized texture coordinates for one sub-rectangle of an atlas image.
Values are fractions of the atlas dimensions in the range 0.0 to 1.0,
with (0.0, 0.0) at the image’s top-left corner. The V axis runs
downward to match the top-left origin used by Rect.
Implementations§
Trait Implementations§
impl Copy for UvRect
impl StructuralPartialEq for UvRect
Auto Trait Implementations§
impl Freeze for UvRect
impl RefUnwindSafe for UvRect
impl Send for UvRect
impl Sync for UvRect
impl Unpin for UvRect
impl UnsafeUnpin for UvRect
impl UnwindSafe for UvRect
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more