pub struct Page {
pub obj: Option<Ref>,
pub media_box: [f64; 4],
pub crop_box: [f64; 4],
pub rotate: u16,
pub user_unit: f64,
pub dict: Dict,
pub resources: Dict,
}Expand description
a page: its boxes (points, PDF page space with y up), rotation and dictionaries
Fields§
§obj: Option<Ref>the page object
media_box: [f64; 4]x0, y0, x1, y1
crop_box: [f64; 4]the visible part (the media box when the page sets none)
rotate: u16clockwise when shown: 0, 90, 180 or 270
user_unit: f64the size of a unit in points (PDF 1.6; usually 1)
dict: Dictthe page dictionary, and its resources (inherited ones included)
resources: DictImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Page
impl Freeze for Page
impl Move for Page
impl RefUnwindSafe for Page
impl Send for Page
impl Sync for Page
impl Unpin for Page
impl UnsafeUnpin for Pagewhere
*const ArcInner<BTreeMap<Name, Object>> is !null: UnsafeUnpin,
PhantomData<ArcInner<BTreeMap<Name, Object>>>: UnsafeUnpin,
impl UnwindSafe for Page
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