pub struct OpaqueNode {
pub span: Span,
pub kind: OpaqueKind,
}Expand description
A span kept without further interpretation. Opaque nodes never guess: they preserve the raw span so downstream can attribute conservatively.
Fields§
§span: SpanSource range retained for attribution.
kind: OpaqueKindReason the source remains opaque.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OpaqueNode
impl RefUnwindSafe for OpaqueNode
impl Send for OpaqueNode
impl Sync for OpaqueNode
impl Unpin for OpaqueNode
impl UnsafeUnpin for OpaqueNode
impl UnwindSafe for OpaqueNode
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