pub struct Path {
pub segments: Vec<PathSegment>,
}
Fields§
§segments: Vec<PathSegment>
Implementations§
Source§impl Path
impl Path
pub fn push(&mut self, segment: PathSegment)
pub fn pop(&mut self) -> Option<PathSegment>
Trait Implementations§
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