pub struct VfsMap { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl VirtualFs for VfsMap
impl VirtualFs for VfsMap
fn read_file(&self, path: &Path) -> Result<String>
fn read_dir(&self, path: &Path) -> Result<Vec<PathBuf>>
fn is_file(&self, path: &Path) -> bool
fn is_dir(&self, path: &Path) -> bool
fn canonicalize_path(&self, path: &PathBuf) -> Result<PathBuf>
fn is_local(&self, path: &str) -> bool
fn strip_prefix<'a>(&'a self, path: &'a Path) -> &'a Path
Auto Trait Implementations§
impl Freeze for VfsMap
impl RefUnwindSafe for VfsMap
impl Send for VfsMap
impl Sync for VfsMap
impl Unpin for VfsMap
impl UnwindSafe for VfsMap
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