pub enum Span {
Parsed(ParsedSpan),
DuplicateRecordFieldsSugar(Box<Span>, Box<Span>),
DottedFieldSugar,
RecordPunSugar,
Decoded,
Artificial,
}Variants§
Parsed(ParsedSpan)
A location in the source text
DuplicateRecordFieldsSugar(Box<Span>, Box<Span>)
Desugarings
DottedFieldSugar
RecordPunSugar
Decoded
For expressions obtained from decoding binary
Artificial
For expressions constructed during normalization/typecheck
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Span
impl RefUnwindSafe for Span
impl !Send for Span
impl !Sync for Span
impl Unpin for Span
impl UnwindSafe for Span
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