pub struct SpanRegistry { /* private fields */ }Expand description
A registry that maps string keys to Span values.
Useful for tracking where named items were defined in a source file.
Implementations§
Trait Implementations§
Source§impl Clone for SpanRegistry
impl Clone for SpanRegistry
Source§fn clone(&self) -> SpanRegistry
fn clone(&self) -> SpanRegistry
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§impl Debug for SpanRegistry
impl Debug for SpanRegistry
Source§impl Default for SpanRegistry
impl Default for SpanRegistry
Source§fn default() -> SpanRegistry
fn default() -> SpanRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SpanRegistry
impl RefUnwindSafe for SpanRegistry
impl Send for SpanRegistry
impl Sync for SpanRegistry
impl Unpin for SpanRegistry
impl UnsafeUnpin for SpanRegistry
impl UnwindSafe for SpanRegistry
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