#[non_exhaustive]pub struct DeltaView<'a> {
pub full: &'a AnalysisDelta,
pub spec: DeltaViewSpec,
pub eligible_count: usize,
pub truncated: bool,
pub shown: Vec<&'a FunctionChange>,
}Expand description
Shaped view over an AnalysisDelta.
full borrows the parent delta — the gate keystone: shaping never
mutates the underlying delta, and the summary surfaced through
reporters always derives from full.summary, not shown.
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.full: &'a AnalysisDeltaBorrow of the parent. Skipped in serialization — the JSON
envelope already carries the summary + full change list under
the delta block.
spec: DeltaViewSpec§eligible_count: usizePost-filter, pre-truncate count. Combined with truncated,
lets consumers render “Showing N of M (filtered from K)”.
truncated: bool§shown: Vec<&'a FunctionChange>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DeltaView<'a>
impl<'a> RefUnwindSafe for DeltaView<'a>
impl<'a> Send for DeltaView<'a>
impl<'a> Sync for DeltaView<'a>
impl<'a> Unpin for DeltaView<'a>
impl<'a> UnsafeUnpin for DeltaView<'a>
impl<'a> UnwindSafe for DeltaView<'a>
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