pub struct TraceShare {
pub operator: usize,
pub diff: isize,
}
Expand description
Either the start or end of a merge event.
Fields§
§operator: usize
Operator identifier.
diff: isize
Change in number of shares.
Trait Implementations§
Source§fn clone(&self) -> TraceShare
fn clone(&self) -> TraceShare
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§fn from(e: TraceShare) -> Self
fn from(e: TraceShare) -> Self
Converts to this type from the input type.
Source§fn cmp(&self, other: &TraceShare) -> Ordering
fn cmp(&self, other: &TraceShare) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Auto Trait Implementations§
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