[][src]Struct skia_safe::IPoint

#[repr(C)]
pub struct IPoint {
    pub x: i32,
    pub y: i32,
}

Fields

x: i32y: i32

Methods

impl IPoint[src]

pub const fn new(x: i32, y: i32) -> Self[src]

pub fn is_zero(self) -> bool[src]

pub fn set(&mut self, x: i32, y: i32)[src]

pub fn equals(self, x: i32, y: i32) -> bool[src]

Trait Implementations

impl Contains<IPoint> for IRect[src]

impl Contains<IPoint> for Region[src]

impl Eq for IPoint[src]

impl Default for IPoint[src]

impl Clone for IPoint[src]

impl PartialEq<IPoint> for IPoint[src]

impl From<(i32, i32)> for IPoint[src]

impl From<IPoint> for Point[src]

impl Copy for IPoint[src]

impl Add<IPoint> for IPoint[src]

type Output = IPoint

The resulting type after applying the + operator.

impl Add<ISize> for IPoint[src]

type Output = IPoint

The resulting type after applying the + operator.

impl Sub<IPoint> for IPoint[src]

type Output = Self

The resulting type after applying the - operator.

impl Sub<ISize> for IPoint[src]

type Output = IPoint

The resulting type after applying the - operator.

impl Neg for IPoint[src]

type Output = IPoint

The resulting type after applying the - operator.

impl AddAssign<IPoint> for IPoint[src]

impl AddAssign<ISize> for IPoint[src]

impl SubAssign<IPoint> for IPoint[src]

impl SubAssign<ISize> for IPoint[src]

impl Debug for IPoint[src]

Auto Trait Implementations

impl Send for IPoint

impl Unpin for IPoint

impl Sync for IPoint

impl UnwindSafe for IPoint

impl RefUnwindSafe for IPoint

Blanket Implementations

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> From<T> for T[src]

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.

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

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

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