[]Struct cocoa::appkit::CGPoint

#[repr(C)]pub struct CGPoint {
    pub x: f64,
    pub y: f64,
}

Fields

x: f64y: f64

Implementations

impl CGPoint

pub fn new(x: f64, y: f64) -> CGPoint

pub fn apply_transform(&self, t: &CGAffineTransform) -> CGPoint

Trait Implementations

impl Clone for CGPoint

impl Copy for CGPoint

impl Debug for CGPoint

impl Default for CGPoint

Auto Trait Implementations

impl RefUnwindSafe for CGPoint

impl Send for CGPoint

impl Sync for CGPoint

impl Unpin for CGPoint

impl UnwindSafe for CGPoint

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.