#[repr(C)]pub struct CGPoint {
pub x: f64,
pub y: f64,
}
Expand description
A structure that contains a point in a two-dimensional coordinate system.
Fields§
§x: f64
The x-coordinate of the point.
y: f64
The y-coordinate of the point.
Trait Implementations§
impl Copy for CGPoint
impl StructuralPartialEq for CGPoint
Auto Trait Implementations§
impl Freeze for CGPoint
impl RefUnwindSafe for CGPoint
impl Send for CGPoint
impl Sync for CGPoint
impl Unpin for CGPoint
impl UnwindSafe for CGPoint
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