pub struct CompoundFs { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl VirtualFs for CompoundFs
impl VirtualFs for CompoundFs
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 strip_prefix<'a>(&'a self, path: &'a Path) -> &'a Path
fn is_local(&self, path: &str) -> bool
Auto Trait Implementations§
impl Freeze for CompoundFs
impl !RefUnwindSafe for CompoundFs
impl !Send for CompoundFs
impl !Sync for CompoundFs
impl Unpin for CompoundFs
impl !UnwindSafe for CompoundFs
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