pub struct Point2 {
pub x: f32,
pub y: f32,
}Expand description
2D point in normalized [0, 1] coordinates.
Fields§
§x: f32§y: f32Implementations§
Trait Implementations§
impl Copy for Point2
impl StructuralPartialEq for Point2
Auto Trait Implementations§
impl Freeze for Point2
impl RefUnwindSafe for Point2
impl Send for Point2
impl Sync for Point2
impl Unpin for Point2
impl UnsafeUnpin for Point2
impl UnwindSafe for Point2
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