[][src]Struct pdf::object::Page

pub struct Page {
    pub parent: Ref<PageTree>,
    pub resources: Option<Resources>,
    pub media_box: Option<Rect>,
    pub crop_box: Option<Rect>,
    pub trim_box: Option<Rect>,
    pub contents: Vec<Content>,
}

Fields

parent: Ref<PageTree>resources: Option<Resources>media_box: Option<Rect>crop_box: Option<Rect>trim_box: Option<Rect>contents: Vec<Content>

Methods

impl Page[src]

pub fn new(parent: Ref<PageTree>) -> Page[src]

Trait Implementations

impl Object for Page[src]

impl Debug for Page[src]

Auto Trait Implementations

impl Send for Page

impl Sync for Page

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.