#[non_exhaustive]pub struct LayoutPageSpan {
pub page_start: i32,
pub page_end: i32,
/* private fields */
}Expand description
Represents where the block starts and ends in the document.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.page_start: i32Page where block starts in the document.
page_end: i32Page where block ends in the document.
Implementations§
Source§impl LayoutPageSpan
impl LayoutPageSpan
Trait Implementations§
Source§impl Clone for LayoutPageSpan
impl Clone for LayoutPageSpan
Source§fn clone(&self) -> LayoutPageSpan
fn clone(&self) -> LayoutPageSpan
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 LayoutPageSpan
impl Debug for LayoutPageSpan
Source§impl Default for LayoutPageSpan
impl Default for LayoutPageSpan
Source§fn default() -> LayoutPageSpan
fn default() -> LayoutPageSpan
Returns the “default value” for a type. Read more
Source§impl Message for LayoutPageSpan
impl Message for LayoutPageSpan
Source§impl PartialEq for LayoutPageSpan
impl PartialEq for LayoutPageSpan
impl StructuralPartialEq for LayoutPageSpan
Auto Trait Implementations§
impl Freeze for LayoutPageSpan
impl RefUnwindSafe for LayoutPageSpan
impl Send for LayoutPageSpan
impl Sync for LayoutPageSpan
impl Unpin for LayoutPageSpan
impl UnwindSafe for LayoutPageSpan
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