pub struct Path(/* private fields */);Implementations§
Source§impl Path
impl Path
pub fn is_empty(&self) -> bool
pub fn current(&self) -> Option<&PathElem>
pub fn progress(&mut self)
pub fn from_elem(elem: PathElem) -> Self
pub fn from_elems(elems: Vec<&str>) -> Self
pub fn push_front(&mut self, elem: PathElem)
pub fn push_back(&mut self, elem: PathElem)
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 UnsafeUnpin 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