pub struct PageInfo {
pub obj_num: u32,
pub media_box: [f64; 4],
pub crop_box: [f64; 4],
pub rotate: i32,
pub resources: PdfDict,
pub contents: Vec<(u32, u16)>,
pub annots: Vec<(u32, u16)>,
}Expand description
Resolved page information (after inheritance).
Fields§
§obj_num: u32Page object number.
media_box: [f64; 4]MediaBox [llx, lly, urx, ury] in points.
crop_box: [f64; 4]CropBox (defaults to MediaBox if absent).
rotate: i32Rotation in degrees (0, 90, 180, 270).
resources: PdfDictResources dictionary (may be inherited).
contents: Vec<(u32, u16)>Content stream references.
annots: Vec<(u32, u16)>Annotation references (obj_num, gen_num).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PageInfo
impl RefUnwindSafe for PageInfo
impl Send for PageInfo
impl Sync for PageInfo
impl Unpin for PageInfo
impl UnsafeUnpin for PageInfo
impl UnwindSafe for PageInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more