pub trait Spanned {
    fn span(&self) -> Span;

    fn span_lo(&self) -> BytePos { ... }
    fn span_hi(&self) -> BytePos { ... }
}
Expand description

Derive

This trait can be derived with #[derive(Spanned)].

Required Methods

Get span of self.

Provided Methods

Implementations on Foreign Types

Implementors