Enum rtlola_reporting::Span [−][src]
Expand description
Represents a location in the source
Variants
Direct code reference through byte offset
Fields of Direct
Indirect(Box<Self>)
Indirect code reference created through ast refactoring
Tuple Fields of Indirect
0: Box<Self>
An unknown code reference
Implementations
Return true if the span is indirect.
Returns true if the span is unknown.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Span
impl UnwindSafe for Span
Blanket Implementations
Mutably borrows from an owned value. Read more