Struct leo_ast::common::span::Span [−][src]
pub struct Span { pub line_start: usize, pub line_stop: usize, pub col_start: usize, pub col_stop: usize, pub path: Arc<String>, pub content: StrTendril, }
Fields
line_start: usize
line_stop: usize
col_start: usize
col_stop: usize
path: Arc<String>
content: StrTendril
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
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more