[][src]Struct mupdf::Quad

pub struct Quad {
    pub ul_x: f32,
    pub ul_y: f32,
    pub ur_x: f32,
    pub ur_y: f32,
    pub ll_x: f32,
    pub ll_y: f32,
    pub lr_x: f32,
    pub lr_y: f32,
}

Fields

ul_x: f32ul_y: f32ur_x: f32ur_y: f32ll_x: f32ll_y: f32lr_x: f32lr_y: f32

Methods

impl Quad[src]

pub fn new(
    ul_x: f32,
    ul_y: f32,
    ur_x: f32,
    ur_y: f32,
    ll_x: f32,
    ll_y: f32,
    lr_x: f32,
    lr_y: f32
) -> Self
[src]

Trait Implementations

impl Clone for Quad[src]

impl Debug for Quad[src]

impl From<Quad> for Rect[src]

impl PartialEq<Quad> for Quad[src]

impl StructuralPartialEq for Quad[src]

Auto Trait Implementations

impl RefUnwindSafe for Quad

impl Send for Quad

impl Sync for Quad

impl Unpin for Quad

impl UnwindSafe for Quad

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.