pub struct SpanDiff {
pub old: Span,
pub new: Span,
pub byte_delta: i64,
}Expand description
A span diff: describes changes between two spans.
Fields§
§old: SpanThe old span.
new: SpanThe new span.
byte_delta: i64The byte delta (positive = grew, negative = shrank).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpanDiff
impl RefUnwindSafe for SpanDiff
impl Send for SpanDiff
impl Sync for SpanDiff
impl Unpin for SpanDiff
impl UnsafeUnpin for SpanDiff
impl UnwindSafe for SpanDiff
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