pub struct TimingReport { /* private fields */ }Expand description
Snapshot of aggregate node timings.
Implementations§
Source§impl TimingReport
impl TimingReport
Sourcepub fn get(&self, node_id: NodeId) -> Option<&FilterTiming>
pub fn get(&self, node_id: NodeId) -> Option<&FilterTiming>
Returns timing for one node.
Sourcepub fn iter(&self) -> impl Iterator<Item = (NodeId, &FilterTiming)>
pub fn iter(&self) -> impl Iterator<Item = (NodeId, &FilterTiming)>
Returns all timings in node order.
Trait Implementations§
Source§impl Clone for TimingReport
impl Clone for TimingReport
Source§fn clone(&self) -> TimingReport
fn clone(&self) -> TimingReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TimingReport
impl Debug for TimingReport
Source§impl Default for TimingReport
impl Default for TimingReport
Source§fn default() -> TimingReport
fn default() -> TimingReport
Returns the “default value” for a type. Read more
Source§impl PartialEq for TimingReport
impl PartialEq for TimingReport
Source§fn eq(&self, other: &TimingReport) -> bool
fn eq(&self, other: &TimingReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TimingReport
impl StructuralPartialEq for TimingReport
Auto Trait Implementations§
impl Freeze for TimingReport
impl RefUnwindSafe for TimingReport
impl Send for TimingReport
impl Sync for TimingReport
impl Unpin for TimingReport
impl UnsafeUnpin for TimingReport
impl UnwindSafe for TimingReport
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