pub struct LayoutProgress {
pub page_count: usize,
pub invalidated_pages: Vec<usize>,
pub blocks_done: usize,
pub blocks_total: usize,
pub pass: u8,
pub complete: bool,
}Expand description
Progress summary returned by Document::begin_open_prepared and LayoutContinuation::step.
Fields§
§page_count: usizeTotal pages currently available on the Document.
invalidated_pages: Vec<usize>Zero-based indices of previously emitted pages whose content changed on finalization.
blocks_done: usizeApproximate body blocks processed in the active layout pass.
blocks_total: usizeTotal body blocks in the document.
pass: u8Active layout pass (1 for initial streaming pass, 2+ for cross-reference/wrap passes).
complete: boolWhether all layout passes have completed and the Document holds final pages.
Trait Implementations§
Source§impl Clone for LayoutProgress
impl Clone for LayoutProgress
Source§impl Debug for LayoutProgress
impl Debug for LayoutProgress
impl Eq for LayoutProgress
Source§impl PartialEq for LayoutProgress
impl PartialEq for LayoutProgress
impl StructuralPartialEq for LayoutProgress
Auto Trait Implementations§
impl Forget for LayoutProgress
impl Freeze for LayoutProgress
impl Move for LayoutProgress
impl RefUnwindSafe for LayoutProgress
impl Send for LayoutProgresswhere
RawVecInner: Send,
impl Sync for LayoutProgresswhere
RawVecInner: Sync,
impl Unpin for LayoutProgress
impl UnsafeUnpin for LayoutProgress
impl UnwindSafe for LayoutProgresswhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.