pub struct SpanHandle(/* private fields */);Expand description
An opaque index into the producer’s span table.
It carries no position, no file, and no length: the producer built the table while capturing, and only the producer can turn one back into a compiler span.
Implementations§
Trait Implementations§
Source§impl Clone for SpanHandle
impl Clone for SpanHandle
Source§fn clone(&self) -> SpanHandle
fn clone(&self) -> SpanHandle
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 moreimpl Copy for SpanHandle
Source§impl Debug for SpanHandle
impl Debug for SpanHandle
impl Eq for SpanHandle
Source§impl Hash for SpanHandle
impl Hash for SpanHandle
Source§impl PartialEq for SpanHandle
impl PartialEq for SpanHandle
impl StructuralPartialEq for SpanHandle
Auto Trait Implementations§
impl Freeze for SpanHandle
impl RefUnwindSafe for SpanHandle
impl Send for SpanHandle
impl Sync for SpanHandle
impl Unpin for SpanHandle
impl UnsafeUnpin for SpanHandle
impl UnwindSafe for SpanHandle
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