pub struct PageLayout {
pub address: PageAddress,
pub page_index: usize,
pub width_mm: f32,
pub height_mm: f32,
pub content_width_mm: f32,
pub content_height_mm: f32,
pub systems: Vec<SystemLayout>,
pub break_reason: BreakReason,
}Expand description
One page in a PrintLayoutResult.
Fields§
§address: PageAddress§page_index: usize§width_mm: f32§height_mm: f32§content_width_mm: f32§content_height_mm: f32§systems: Vec<SystemLayout>§break_reason: BreakReasonTrait Implementations§
Source§impl Clone for PageLayout
impl Clone for PageLayout
Source§fn clone(&self) -> PageLayout
fn clone(&self) -> PageLayout
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 moreSource§impl Debug for PageLayout
impl Debug for PageLayout
Source§impl<'de> Deserialize<'de> for PageLayout
impl<'de> Deserialize<'de> for PageLayout
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PageLayout
impl PartialEq for PageLayout
Source§impl Serialize for PageLayout
impl Serialize for PageLayout
impl StructuralPartialEq for PageLayout
Auto Trait Implementations§
impl Freeze for PageLayout
impl RefUnwindSafe for PageLayout
impl Send for PageLayout
impl Sync for PageLayout
impl Unpin for PageLayout
impl UnsafeUnpin for PageLayout
impl UnwindSafe for PageLayout
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