pub struct Page {
pub number: u32,
pub width_pt: f32,
pub height_pt: f32,
pub runs: Vec<TextRun>,
pub images: Vec<ImagePlacement>,
}Expand description
One laid-out page.
Fields§
§number: u32§width_pt: f32§height_pt: f32§runs: Vec<TextRun>§images: Vec<ImagePlacement>Raster image placements on this page. Stored as a separate vector so PDF emit can walk every placement without filtering the text-run stream; the two streams are independent.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Page
impl RefUnwindSafe for Page
impl Send for Page
impl Sync for Page
impl Unpin for Page
impl UnsafeUnpin for Page
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.