pub struct FullSpan {
pub file: FileId,
pub span: Span,
}Expand description
A span with an associated file ID for cross-file spans.
Fields§
§file: FileIdThe file this span belongs to.
span: SpanThe span within the file.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FullSpan
impl<'de> Deserialize<'de> for FullSpan
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for FullSpan
impl Eq for FullSpan
impl StructuralPartialEq for FullSpan
Auto Trait Implementations§
impl Freeze for FullSpan
impl RefUnwindSafe for FullSpan
impl Send for FullSpan
impl Sync for FullSpan
impl Unpin for FullSpan
impl UnsafeUnpin for FullSpan
impl UnwindSafe for FullSpan
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