[][src]Struct ra_ap_vfs::AbsPathBuf

pub struct 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]

impl Debug for AbsPathBuf[src]

impl Deref for AbsPathBuf[src]

type Target = AbsPath

The resulting type after dereferencing.

impl Eq for AbsPathBuf[src]

impl From<AbsPathBuf> for VfsPath[src]

impl Hash for AbsPathBuf[src]

impl Ord for AbsPathBuf[src]

impl PartialEq<AbsPath> for AbsPathBuf[src]

impl PartialEq<AbsPathBuf> for AbsPathBuf[src]

impl PartialOrd<AbsPathBuf> for AbsPathBuf[src]

impl StructuralEq for AbsPathBuf[src]

impl StructuralPartialEq for AbsPathBuf[src]

impl<'_> TryFrom<&'_ str> for AbsPathBuf[src]

type Error = PathBuf

The type returned in the event of a conversion error.

impl TryFrom<PathBuf> for AbsPathBuf[src]

type Error = PathBuf

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.