[][src]Struct pdf::object::PageTree

pub struct PageTree {
    pub parent: Option<Ref<PagesNode>>,
    pub kids: Vec<Ref<PagesNode>>,
    pub count: u32,
    pub resources: Option<Rc<Resources>>,
    pub media_box: Option<Rect>,
    pub crop_box: Option<Rect>,
}

Fields

parent: Option<Ref<PagesNode>>kids: Vec<Ref<PagesNode>>count: u32resources: Option<Rc<Resources>>

Exists to be inherited to a 'Page' object. Note: Inheritable.

media_box: Option<Rect>crop_box: Option<Rect>

Implementations

impl PageTree[src]

pub fn page(&self, resolve: &impl Resolve, page_nr: u32) -> Result<PageRc>[src]

Trait Implementations

impl Debug for PageTree[src]

impl Default for PageTree[src]

impl Object for PageTree[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> AnyObject for T where
    T: Object + 'static, 
[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, 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.