[−][src]Struct skia_safe::IPoint
Fields
x: i32y: i32Methods
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 From<(i32, i32)> for IPoint[src]
impl From<IPoint> for Point[src]
impl PartialEq<IPoint> for IPoint[src]
impl Default for IPoint[src]
impl Clone for IPoint[src]
fn clone(&self) -> IPoint[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Eq for IPoint[src]
impl Copy for IPoint[src]
impl Debug for IPoint[src]
impl Add<IPoint> for IPoint[src]
type Output = IPoint
The resulting type after applying the + operator.
fn add(self, rhs: IVector) -> Self[src]
impl Add<ISize> for IPoint[src]
type Output = IPoint
The resulting type after applying the + operator.
fn add(self, rhs: ISize) -> Self::Output[src]
impl Sub<IPoint> for IPoint[src]
type Output = Self
The resulting type after applying the - operator.
fn sub(self, rhs: Self) -> Self[src]
impl Sub<ISize> for IPoint[src]
type Output = IPoint
The resulting type after applying the - operator.
fn sub(self, rhs: ISize) -> Self::Output[src]
impl Neg for IPoint[src]
type Output = IPoint
The resulting type after applying the - operator.
fn neg(self) -> Self::Output[src]
impl AddAssign<IPoint> for IPoint[src]
fn add_assign(&mut self, rhs: IVector)[src]
impl AddAssign<ISize> for IPoint[src]
fn add_assign(&mut self, rhs: ISize)[src]
impl SubAssign<IPoint> for IPoint[src]
fn sub_assign(&mut self, rhs: Self)[src]
impl SubAssign<ISize> for IPoint[src]
fn sub_assign(&mut self, rhs: ISize)[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> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,