pub struct LayoutInfo {
pub pages: Vec<PageInfo>,
}Expand description
Complete layout metadata for all pages.
Fields§
§pages: Vec<PageInfo>Implementations§
Source§impl LayoutInfo
impl LayoutInfo
Sourcepub fn from_pages(pages: &[LayoutPage]) -> Self
pub fn from_pages(pages: &[LayoutPage]) -> Self
Extract serializable layout metadata from laid-out pages.
Trait Implementations§
Source§impl Clone for LayoutInfo
impl Clone for LayoutInfo
Source§fn clone(&self) -> LayoutInfo
fn clone(&self) -> LayoutInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 LayoutInfo
impl Debug for LayoutInfo
Auto Trait Implementations§
impl Freeze for LayoutInfo
impl RefUnwindSafe for LayoutInfo
impl Send for LayoutInfo
impl Sync for LayoutInfo
impl Unpin for LayoutInfo
impl UnsafeUnpin for LayoutInfo
impl UnwindSafe for LayoutInfo
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