pub struct ResizeEvidence {
pub timestamp: Instant,
pub latency_ms: f64,
pub applied_size: (u16, u16),
pub forced: bool,
pub regime: &'static str,
pub coalesce_ms: Option<f64>,
}Expand description
Evidence for a single resize operation.
Fields§
§timestamp: InstantTimestamp of the resize event.
latency_ms: f64Latency in milliseconds from resize to apply.
applied_size: (u16, u16)Final applied size (width, height).
forced: boolWhether this was a forced apply (deadline exceeded).
regime: &'static strCurrent regime at time of apply.
coalesce_ms: Option<f64>Total coalesce time if coalesced.
Trait Implementations§
Source§impl Clone for ResizeEvidence
impl Clone for ResizeEvidence
Source§fn clone(&self) -> ResizeEvidence
fn clone(&self) -> ResizeEvidence
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 moreAuto Trait Implementations§
impl Freeze for ResizeEvidence
impl RefUnwindSafe for ResizeEvidence
impl Send for ResizeEvidence
impl Sync for ResizeEvidence
impl Unpin for ResizeEvidence
impl UnwindSafe for ResizeEvidence
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