[−][src]Struct ra_ap_vfs::VfsPath
Long-term, we want to support files which do not reside in the file-system, so we treat VfsPaths as opaque identifiers.
Implementations
impl VfsPath[src]
pub fn new_virtual_path(path: String) -> VfsPath[src]
Creates an "in-memory" path from /-separates string.
This is most useful for testing, to avoid windows/linux differences
pub fn as_path(&self) -> Option<&AbsPath>[src]
pub fn join(&self, path: &str) -> Option<VfsPath>[src]
pub fn pop(&mut self) -> bool[src]
pub fn starts_with(&self, other: &VfsPath) -> bool[src]
Trait Implementations
impl Clone for VfsPath[src]
impl Debug for VfsPath[src]
impl Display for VfsPath[src]
impl Eq for VfsPath[src]
impl From<AbsPathBuf> for VfsPath[src]
fn from(v: AbsPathBuf) -> Self[src]
impl Hash for VfsPath[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl Ord for VfsPath[src]
fn cmp(&self, other: &VfsPath) -> Ordering[src]
#[must_use]fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self[src]
impl PartialEq<VfsPath> for VfsPath[src]
impl PartialOrd<VfsPath> for VfsPath[src]
fn partial_cmp(&self, other: &VfsPath) -> Option<Ordering>[src]
fn lt(&self, other: &VfsPath) -> bool[src]
fn le(&self, other: &VfsPath) -> bool[src]
fn gt(&self, other: &VfsPath) -> bool[src]
fn ge(&self, other: &VfsPath) -> bool[src]
impl StructuralEq for VfsPath[src]
impl StructuralPartialEq for VfsPath[src]
Auto Trait Implementations
impl RefUnwindSafe for VfsPath
impl Send for VfsPath
impl Sync for VfsPath
impl Unpin for VfsPath
impl UnwindSafe for VfsPath
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> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
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>,