Struct reproto_core::Span [] [src]

pub struct Span {
    pub source: Arc<Source>,
    pub start: usize,
    pub end: usize,
}

Fields

Methods

impl Span
[src]

[src]

Trait Implementations

impl<'a, T> From<&'a Loc<T>> for Span
[src]

[src]

Performs the conversion.

impl<'a, F: 'static> From<&'a RpDecl<F>> for Span where
    F: Flavor
[src]

[src]

Performs the conversion.

impl Clone for Span
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Span
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> From<&'a Span> for Span
[src]

[src]

Performs the conversion.

impl From<(Arc<Source>, usize, usize)> for Span
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Span

impl Sync for Span