Struct puffin::MergeScope [−][src]
pub struct MergeScope<'s> {
pub record: Record<'s>,
pub pieces: Vec<MergePiece<'s>>,
}
Expand description
An record of several sibling (or cousin) scopes.
For instance, if one scope has a hundred children of the same ID the UI may want to merge them into one child before display.
Fields
record: Record<'s>
The aggregated information.
record.duration_ns
is the sum self.pieces
.
pieces: Vec<MergePiece<'s>>
These are the raw scopes that got merged into self.record
.
All these scopes have the same id
is self.record
.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'s> RefUnwindSafe for MergeScope<'s>
impl<'s> Send for MergeScope<'s>
impl<'s> Sync for MergeScope<'s>
impl<'s> Unpin for MergeScope<'s>
impl<'s> UnwindSafe for MergeScope<'s>
Blanket Implementations
Mutably borrows from an owned value. Read more