pub struct Path {
pub parts: Vec<PathSegment>,
}Expand description
A list of identifiers separated by periods.
my.object.do_thing.
Fields§
§parts: Vec<PathSegment>The parts that make up the path.
Trait Implementations§
Source§impl FromIterator<PathSegment> for Path
impl FromIterator<PathSegment> for Path
Source§fn from_iter<T>(it: T) -> Selfwhere
T: IntoIterator<Item = PathSegment>,
fn from_iter<T>(it: T) -> Selfwhere
T: IntoIterator<Item = PathSegment>,
Creates a value from an iterator. Read more
impl Eq for Path
impl StructuralPartialEq for Path
Auto Trait Implementations§
impl Freeze for Path
impl RefUnwindSafe for Path
impl Send for Path
impl Sync for Path
impl Unpin for Path
impl UnwindSafe for Path
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more