pub struct VfsFs {}
Trait Implementations§
Source§impl VirtualFs for VfsFs
impl VirtualFs for VfsFs
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 VfsFs
impl RefUnwindSafe for VfsFs
impl Send for VfsFs
impl Sync for VfsFs
impl Unpin for VfsFs
impl UnwindSafe for VfsFs
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