pub struct Page<'a> {
pub parent: ObjRef,
pub contents: ObjRef,
pub resources: Resources<'a>,
pub media_box: Option<Rectangle<i32>>,
}Expand description
A page object
Fields§
§parent: ObjRefReference to the parent
contents: ObjRefThe content stream of the page
resources: Resources<'a>The resources of this page
media_box: Option<Rectangle<i32>>(required, inheritable) describes the bound of the physical page in default user units
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Page<'a>
impl<'a> RefUnwindSafe for Page<'a>
impl<'a> Send for Page<'a>
impl<'a> Sync for Page<'a>
impl<'a> Unpin for Page<'a>
impl<'a> UnwindSafe for Page<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more