Struct slr_lexer::Span [] [src]

pub struct Span {
    // some fields omitted
}

Methods

impl Span
[src]

fn new() -> Span

fn is_valid(&self) -> bool

fn combine(&mut self, other: Span)

Trait Implementations

impl Clone for Span
[src]

fn clone(&self) -> Span

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for Span
[src]

impl Debug for Span
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.