pub struct SheetLayout {Show 15 fields
pub sheet: usize,
pub settings: PrintSettings,
pub page_w: f32,
pub page_h: f32,
pub margins: [f32; 6],
pub scale: f32,
pub area: RangeRef,
pub row_bands: Vec<(u32, u32)>,
pub col_bands: Vec<(u32, u32)>,
pub pages: Vec<(usize, usize)>,
pub title_rows: Option<(u32, u32)>,
pub title_cols: Option<(u32, u32)>,
pub heading_w: f32,
pub heading_h: f32,
pub manual_breaks: bool,
}Expand description
The pagination of one sheet.
Fields§
§sheet: usize§settings: PrintSettings§page_w: f32§page_h: f32§margins: [f32; 6]Left, right, top, bottom, header, footer margins in points.
scale: f32§area: RangeRef§row_bands: Vec<(u32, u32)>§col_bands: Vec<(u32, u32)>§pages: Vec<(usize, usize)>Pages in print order: (row band, column band).
title_rows: Option<(u32, u32)>§title_cols: Option<(u32, u32)>§heading_w: f32Heading sizes in sheet pixels (0 when headings are off).
heading_h: f32§manual_breaks: boolManual page breaks apply (they don’t when the sheet is fitted to pages).
Trait Implementations§
Source§impl Clone for SheetLayout
impl Clone for SheetLayout
Source§fn clone(&self) -> SheetLayout
fn clone(&self) -> SheetLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SheetLayout
impl RefUnwindSafe for SheetLayout
impl Send for SheetLayout
impl Sync for SheetLayout
impl Unpin for SheetLayout
impl UnsafeUnpin for SheetLayout
impl UnwindSafe for SheetLayout
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