[−][src]Struct ra_ap_vfs::AbsPathBuf
Implementations
impl AbsPathBuf
[src]
pub fn assert(path: PathBuf) -> AbsPathBuf
[src]
pub fn as_path(&self) -> &AbsPath
[src]
pub fn pop(&mut self) -> bool
[src]
Methods from Deref<Target = AbsPath>
pub fn parent(&self) -> Option<&AbsPath>
[src]
pub fn join(&self, path: impl AsRef<Path>) -> AbsPathBuf
[src]
pub fn normalize(&self) -> AbsPathBuf
[src]
pub fn to_path_buf(&self) -> AbsPathBuf
[src]
pub fn strip_prefix(&self, base: &AbsPath) -> Option<&RelPath>
[src]
Trait Implementations
impl AsRef<AbsPath> for AbsPathBuf
[src]
impl AsRef<Path> for AbsPathBuf
[src]
impl Clone for AbsPathBuf
[src]
fn clone(&self) -> AbsPathBuf
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AbsPathBuf
[src]
impl Deref for AbsPathBuf
[src]
impl Eq for AbsPathBuf
[src]
impl From<AbsPathBuf> for VfsPath
[src]
fn from(v: AbsPathBuf) -> Self
[src]
impl Hash for AbsPathBuf
[src]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for AbsPathBuf
[src]
fn cmp(&self, other: &AbsPathBuf) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<AbsPath> for AbsPathBuf
[src]
impl PartialEq<AbsPathBuf> for AbsPathBuf
[src]
fn eq(&self, other: &AbsPathBuf) -> bool
[src]
fn ne(&self, other: &AbsPathBuf) -> bool
[src]
impl PartialOrd<AbsPathBuf> for AbsPathBuf
[src]
fn partial_cmp(&self, other: &AbsPathBuf) -> Option<Ordering>
[src]
fn lt(&self, other: &AbsPathBuf) -> bool
[src]
fn le(&self, other: &AbsPathBuf) -> bool
[src]
fn gt(&self, other: &AbsPathBuf) -> bool
[src]
fn ge(&self, other: &AbsPathBuf) -> bool
[src]
impl<'_> TryFrom<&'_ str> for AbsPathBuf
[src]
type Error = PathBuf
The type returned in the event of a conversion error.
fn try_from(path: &str) -> Result<AbsPathBuf, PathBuf>
[src]
impl TryFrom<PathBuf> for AbsPathBuf
[src]
Auto Trait Implementations
impl RefUnwindSafe for AbsPathBuf
impl Send for AbsPathBuf
impl Sync for AbsPathBuf
impl Unpin for AbsPathBuf
impl UnwindSafe for AbsPathBuf
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,