Struct reproto_core::Span
[−]
[src]
pub struct Span { pub source: Arc<Source>, pub start: usize, pub end: usize, }
Fields
source: Arc<Source>
start: usize
end: usize
Methods
impl Span
[src]
Trait Implementations
impl<'a, T> From<&'a Loc<T>> for Span
[src]
impl<'a, F: 'static> From<&'a RpDecl<F>> for Span where
F: Flavor,
[src]
F: Flavor,
impl Clone for Span
[src]
fn clone(&self) -> Span
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Span
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more