pub struct RenderCertificate {
pub level: RenderCertificateLevel,
pub causes: Vec<&'static str>,
pub dirty_rows: Vec<u16>,
pub fell_back: bool,
}Expand description
An explicit, explainable skip decision for one frame.
Fields§
§level: RenderCertificateLevelThe certified level.
causes: Vec<&'static str>Named causes behind the decision (never empty).
dirty_rows: Vec<u16>Rows the certificate narrows to (empty unless NarrowToDirty).
fell_back: boolWhether the evaluator fell back to full work out of caution.
Implementations§
Source§impl RenderCertificate
impl RenderCertificate
Sourcepub fn to_hint(&self) -> DiffSkipHint
pub fn to_hint(&self) -> DiffSkipHint
Translate the certificate into the diff-stage hint.
Sourcepub fn to_evidence_json(&self) -> String
pub fn to_evidence_json(&self) -> String
Compact JSON fragment for evidence lines (stable field order).
Trait Implementations§
Source§impl Clone for RenderCertificate
impl Clone for RenderCertificate
Source§fn clone(&self) -> RenderCertificate
fn clone(&self) -> RenderCertificate
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 RenderCertificate
impl Debug for RenderCertificate
impl Eq for RenderCertificate
Source§impl PartialEq for RenderCertificate
impl PartialEq for RenderCertificate
impl StructuralPartialEq for RenderCertificate
Auto Trait Implementations§
impl Freeze for RenderCertificate
impl RefUnwindSafe for RenderCertificate
impl Send for RenderCertificate
impl Sync for RenderCertificate
impl Unpin for RenderCertificate
impl UnsafeUnpin for RenderCertificate
impl UnwindSafe for RenderCertificate
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