Struct ress::Span[][src]

pub struct Span {
    pub start: usize,
    pub end: usize,
}

A location in the original source text

Fields

Methods

impl Span
[src]

Create a new Span from its parts

Trait Implementations

impl Debug for Span
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Span
[src]

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

This method tests for !=.

impl Clone for Span
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Span

impl Sync for Span