pub struct Point {
pub x: u32,
pub y: u32,
}
Expand description
A 2D coordinate used to reference a pixel’s position in an image.
The origin (0, 0)
is at the bottom-left corner, with x
increasing
to the right and y
increasing upwards (image-space coordinates).
Fields§
§x: u32
§y: u32
Auto Trait Implementations§
impl Freeze for Point
impl RefUnwindSafe for Point
impl Send for Point
impl Sync for Point
impl Unpin for Point
impl UnwindSafe for Point
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