#[non_exhaustive]pub struct RenderReport {
pub skipped: Vec<SkippedContent>,
pub unlisted: u64,
}Expand description
What a page render could not reproduce faithfully: content dropped outright (an undecodable image, an unreadable form) and content painted as an approximation (a pattern fill as flat gray). Empty means every construct the render encountered was painted as the page describes it.
Two things are deliberately not reported, because they are configured
behavior rather than a failure: text left unpainted by the requested
GlyphPainting tier, and content clipped or transformed off the page.
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.skipped: Vec<SkippedContent>Distinct drops in the order first encountered, at most 64 entries
(see count for repeats and RenderReport::unlisted for the
overflow).
unlisted: u64Drops that arrived after skipped reached its 64-entry cap and so
are counted but not described.
Implementations§
Trait Implementations§
Source§impl Clone for RenderReport
impl Clone for RenderReport
Source§fn clone(&self) -> RenderReport
fn clone(&self) -> RenderReport
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 RenderReport
impl Debug for RenderReport
Source§impl Default for RenderReport
impl Default for RenderReport
Source§fn default() -> RenderReport
fn default() -> RenderReport
Returns the “default value” for a type. Read more
impl Eq for RenderReport
Source§impl PartialEq for RenderReport
impl PartialEq for RenderReport
impl StructuralPartialEq for RenderReport
Auto Trait Implementations§
impl Freeze for RenderReport
impl RefUnwindSafe for RenderReport
impl Send for RenderReport
impl Sync for RenderReport
impl Unpin for RenderReport
impl UnsafeUnpin for RenderReport
impl UnwindSafe for RenderReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more