pub struct Point {
pub x: f32,
pub y: f32,
}Expand description
A position in logical pixels, relative to the top left of the window.
Fields§
§x: f32Horizontal offset from the left edge of the window.
y: f32Vertical offset from the top edge of the window.
Trait Implementations§
impl Copy for Point
impl StructuralPartialEq for Point
Auto Trait Implementations§
impl Forget for Point
impl Freeze for Point
impl Move for Point
impl RefUnwindSafe for Point
impl Send for Point
impl Sync for Point
impl Unpin for Point
impl UnsafeUnpin 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