pub struct ProvenanceSpan {
pub span: Span,
pub origin: SpanOrigin,
}Expand description
A span paired with its provenance information.
Fields§
§span: Span§origin: SpanOriginImplementations§
Trait Implementations§
Source§impl Clone for ProvenanceSpan
impl Clone for ProvenanceSpan
Source§fn clone(&self) -> ProvenanceSpan
fn clone(&self) -> ProvenanceSpan
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 ProvenanceSpan
impl RefUnwindSafe for ProvenanceSpan
impl Send for ProvenanceSpan
impl Sync for ProvenanceSpan
impl Unpin for ProvenanceSpan
impl UnsafeUnpin for ProvenanceSpan
impl UnwindSafe for ProvenanceSpan
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