[−][src]Struct skia_safe::ISize
Fields
width: i32
height: i32
Methods
impl ISize
[src]
pub const fn new(w: i32, h: i32) -> ISize
[src]
pub fn new_empty() -> ISize
[src]
pub fn set(&mut self, w: i32, h: i32)
[src]
pub fn is_zero(self) -> bool
[src]
pub fn is_empty(self) -> bool
[src]
pub fn set_empty(&mut self)
[src]
pub fn equals(self, w: i32, h: i32) -> bool
[src]
Trait Implementations
impl Eq for ISize
[src]
impl Default for ISize
[src]
impl Clone for ISize
[src]
impl PartialEq<ISize> for ISize
[src]
impl From<ISize> for Rect
[src]
impl From<(i32, i32)> for ISize
[src]
impl From<ISize> for Size
[src]
impl Copy for ISize
[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<ISize> for IPoint
[src]
type Output = IPoint
The resulting type after applying the -
operator.
fn sub(self, rhs: ISize) -> Self::Output
[src]
impl AddAssign<ISize> for IPoint
[src]
fn add_assign(&mut self, rhs: ISize)
[src]
impl SubAssign<ISize> for IPoint
[src]
fn sub_assign(&mut self, rhs: ISize)
[src]
impl Debug for ISize
[src]
Auto Trait Implementations
impl Unpin for ISize
impl Sync for ISize
impl Send for ISize
impl UnwindSafe for ISize
impl RefUnwindSafe for ISize
Blanket Implementations
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> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,