Struct commands::tokenizer::SourceLocation [] [src]

pub struct SourceLocation {
    pub start: SourceOffset,
    pub end: SourceOffset,
}

A range within a body of text.

Fields

The start of the range.

The end of the range.

Methods

impl SourceLocation
[src]

Construct a SourceLocation.

Trait Implementations

impl Clone for SourceLocation
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for SourceLocation
[src]

impl Debug for SourceLocation
[src]

Formats the value using the given formatter.

impl PartialEq for SourceLocation
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.