pub struct RelativePathBuf(/* private fields */);Implementations§
Source§impl RelativePathBuf
impl RelativePathBuf
pub fn join(self, c: String) -> Self
pub fn from_components<I: Iterator<Item = String>>(i: I) -> Self
pub fn as_path_buf(&self) -> PathBuf
pub fn as_git_path(&self) -> String
Trait Implementations§
Source§impl Debug for RelativePathBuf
impl Debug for RelativePathBuf
impl Eq for RelativePathBuf
Source§impl From<&str> for RelativePathBuf
impl From<&str> for RelativePathBuf
Source§impl Hash for RelativePathBuf
impl Hash for RelativePathBuf
Source§impl PartialEq for RelativePathBuf
impl PartialEq for RelativePathBuf
Source§fn eq(&self, other: &RelativePathBuf) -> bool
fn eq(&self, other: &RelativePathBuf) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RelativePathBuf
Auto Trait Implementations§
impl Freeze for RelativePathBuf
impl RefUnwindSafe for RelativePathBuf
impl Send for RelativePathBuf
impl Sync for RelativePathBuf
impl Unpin for RelativePathBuf
impl UnsafeUnpin for RelativePathBuf
impl UnwindSafe for RelativePathBuf
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