[][src]Struct dezoomify_rs::dezoomer::Vec2d

pub struct Vec2d {
    pub x: u32,
    pub y: u32,
}

Fields

x: u32y: u32

Implementations

impl Vec2d[src]

pub fn square(size: u32) -> Vec2d[src]

pub fn max(self, other: Vec2d) -> Vec2d[src]

pub fn min(self, other: Vec2d) -> Vec2d[src]

pub fn ceil_div(self, other: Vec2d) -> Vec2d[src]

pub fn area(self) -> u64[src]

Trait Implementations

impl Add<Vec2d> for Vec2d[src]

type Output = Vec2d

The resulting type after applying the + operator.

impl Clone for Vec2d[src]

impl Copy for Vec2d[src]

impl Debug for Vec2d[src]

impl Default for Vec2d[src]

impl Display for Vec2d[src]

impl Div<Vec2d> for Vec2d[src]

type Output = Vec2d

The resulting type after applying the / operator.

impl Div<u32> for Vec2d[src]

type Output = Vec2d

The resulting type after applying the / operator.

impl Mul<Vec2d> for Vec2d[src]

type Output = Vec2d

The resulting type after applying the * operator.

impl Mul<u32> for Vec2d[src]

type Output = Vec2d

The resulting type after applying the * operator.

impl PartialEq<Vec2d> for Vec2d[src]

impl StructuralPartialEq for Vec2d[src]

impl Sub<Vec2d> for Vec2d[src]

type Output = Vec2d

The resulting type after applying the - operator.

Auto Trait Implementations

impl RefUnwindSafe for Vec2d

impl Send for Vec2d

impl Sync for Vec2d

impl Unpin for Vec2d

impl UnwindSafe for Vec2d

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> Same<T> for T

type Output = T

Should always be Self

impl<T> SetParameter for T

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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<V, T> VZip<V> for T where
    V: MultiLane<T>,