pub struct Page {
pub lines: Vec<Line>,
pub page_number: usize,
}Expand description
A single page of laid-out content
Fields§
§lines: Vec<Line>Lines on this page
page_number: usizePage number (1-indexed)
Implementations§
Trait Implementations§
impl StructuralPartialEq for Page
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