Struct go_engine::CompoundFs
source · 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 !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