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

pub struct Page {
    pub parent: Ref<PagesNode>,
    pub resources: Option<Rc<Resources>>,
    pub media_box: Option<Rect>,
    pub crop_box: Option<Rect>,
    pub trim_box: Option<Rect>,
    pub contents: Option<Content>,


parent: Ref<PagesNode>resources: Option<Rc<Resources>>media_box: Option<Rect>crop_box: Option<Rect>trim_box: Option<Rect>contents: Option<Content>


impl Page[src]

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

pub fn media_box<B: Backend>(&self, file: &File<B>) -> Result<Rect>[src]

pub fn crop_box<B: Backend>(&self, file: &File<B>) -> Result<Rect>[src]

pub fn resources<B: Backend>(&self, file: &File<B>) -> Result<Rc<Resources>>[src]

Trait Implementations

impl Debug for Page[src]

impl Object for Page[src]

Auto Trait Implementations

impl !RefUnwindSafe for Page[src]

impl !Send for Page[src]

impl !Sync for Page[src]

impl Unpin for Page[src]

impl !UnwindSafe for Page[src]

Blanket Implementations

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

impl<T> AnyObject for T where
    T: Object + 'static, 

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.