Struct rubic::ast::Path
[−]
[src]
pub struct Path { pub parts: Vec<PathSegment>, }
A list of identifiers separated by periods.
my.object.do_thing
.
Fields
parts: Vec<PathSegment>
The parts that make up the path.
Trait Implementations
impl Clone for Path
[src]
fn clone(&self) -> Path
[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 Path
[src]
impl PartialEq for Path
[src]
fn eq(&self, __arg_0: &Path) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Path) -> bool
[src]
This method tests for !=
.
impl Eq for Path
[src]
impl FromIterator<PathSegment> for Path
[src]
fn from_iter<T>(it: T) -> Self where
T: IntoIterator<Item = PathSegment>,
[src]
T: IntoIterator<Item = PathSegment>,
Creates a value from an iterator. Read more