pub struct SpanTreeNode {
pub span: ResourceSpan,
pub children: Vec<usize>,
}Expand description
A node in the hierarchical span tree.
Fields§
§span: ResourceSpanThe span data at this node.
children: Vec<usize>Indices of child nodes in the parent SpanTree::nodes vector.
Trait Implementations§
Source§impl Clone for SpanTreeNode
impl Clone for SpanTreeNode
Source§fn clone(&self) -> SpanTreeNode
fn clone(&self) -> SpanTreeNode
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 SpanTreeNode
impl RefUnwindSafe for SpanTreeNode
impl Send for SpanTreeNode
impl Sync for SpanTreeNode
impl Unpin for SpanTreeNode
impl UnwindSafe for SpanTreeNode
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