pub enum RenderDiagnostic {
ReflowTimeMs(u32),
Cancelled,
MemoryLimitExceeded {
kind: &'static str,
actual: usize,
limit: usize,
},
CacheHit {
chapter_index: usize,
page_count: usize,
},
CacheMiss {
chapter_index: usize,
},
}Expand description
Runtime diagnostics from render preparation/layout.
Variants§
Trait Implementations§
Source§impl Clone for RenderDiagnostic
impl Clone for RenderDiagnostic
Source§fn clone(&self) -> RenderDiagnostic
fn clone(&self) -> RenderDiagnostic
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 RenderDiagnostic
impl Debug for RenderDiagnostic
Source§impl PartialEq for RenderDiagnostic
impl PartialEq for RenderDiagnostic
impl StructuralPartialEq for RenderDiagnostic
Auto Trait Implementations§
impl Freeze for RenderDiagnostic
impl RefUnwindSafe for RenderDiagnostic
impl Send for RenderDiagnostic
impl Sync for RenderDiagnostic
impl Unpin for RenderDiagnostic
impl UnsafeUnpin for RenderDiagnostic
impl UnwindSafe for RenderDiagnostic
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