Struct nb2nl::nl2xml::Span [−][src]
Expand description
Source location of a program construct.
This is given as byte offsets into the program.
You can use the Span::to_range
method to slice the original program string and get the relevant portion.
Tuple Fields
0: usize
1: usize
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Span
impl UnwindSafe for Span
Blanket Implementations
Mutably borrows from an owned value. Read more