[][src]Struct pdf_create::common::Rectangle

pub struct Rectangle<P> {
    pub ll: Point<P>,
    pub ur: Point<P>,
}

A primitive rectangle

Fields

ll: Point<P>

lower left

ur: Point<P>

upper right

Implementations

impl Rectangle<i32>[src]

pub fn a4_media_box() -> Self[src]

The media box for A4 Paper (Portrait)

Trait Implementations

impl<P: Clone> Clone for Rectangle<P>[src]

impl<P: Copy> Copy for Rectangle<P>[src]

impl<P: Debug> Debug for Rectangle<P>[src]

impl<P: Serialize> Serialize for Rectangle<P>[src]

Auto Trait Implementations

impl<P> RefUnwindSafe for Rectangle<P> where
    P: RefUnwindSafe

impl<P> Send for Rectangle<P> where
    P: Send

impl<P> Sync for Rectangle<P> where
    P: Sync

impl<P> Unpin for Rectangle<P> where
    P: Unpin

impl<P> UnwindSafe for Rectangle<P> where
    P: UnwindSafe

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.