pub struct RPath { /* private fields */ }Implementations§
source§impl RPath
impl RPath
pub fn join(&self, p: &str) -> RPath
pub fn convert_to_pathbuf(&self) -> PathBuf
pub fn convert_to_string(&self) -> String
pub fn basename(&self) -> &str
pub fn dirname(&self) -> Self
pub fn pwd() -> Self
pub fn gethomedir() -> Self
pub fn new_from(p: &str) -> RPath
pub fn clone(&self) -> RPath
pub fn expand(&self) -> RPath
pub fn new_from_path(p: &Path) -> RPath
pub fn new_from_pbuf(p: &PathBuf) -> RPath
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RPath
impl RefUnwindSafe for RPath
impl Send for RPath
impl Sync for RPath
impl Unpin for RPath
impl UnwindSafe for RPath
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)