Struct reproto_core::Pos
[−]
[src]
pub struct Pos { pub object: Rc<Box<Object>>, pub start: usize, pub end: usize, }
Fields
object: Rc<Box<Object>>
start: usize
end: usize
Methods
impl Pos
[src]
Trait Implementations
impl<'a, T> From<&'a Loc<T>> for Pos
[src]
impl Clone for Pos
[src]
fn clone(&self) -> Pos
[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 Pos
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<(Rc<Box<Object>>, usize, usize)> for Pos
[src]
impl<'a, F: 'static> From<&'a RpDecl<F>> for Pos where
F: Flavor,
[src]
F: Flavor,