pub struct VfsInterface { /* private fields */ }Implementations§
Source§impl VfsInterface
impl VfsInterface
pub fn version(self) -> VfsInterfaceVersion
pub fn open_file( self, path: &str, access: VfsFileAccessFlags, hints: VfsFileAccessHints, ) -> Option<VfsFile>
pub fn remove_file(self, path: &str) -> bool
pub fn rename(self, old_path: &str, new_path: &str) -> bool
pub fn stat(self, path: &str) -> Option<VfsMetadata>
pub fn create_dir(self, path: &str) -> bool
pub fn open_dir(self, path: &str, include_hidden: bool) -> Option<VfsDirectory>
Trait Implementations§
Source§impl Clone for VfsInterface
impl Clone for VfsInterface
Source§fn clone(&self) -> VfsInterface
fn clone(&self) -> VfsInterface
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VfsInterface
impl Debug for VfsInterface
impl Copy for VfsInterface
Auto Trait Implementations§
impl Freeze for VfsInterface
impl RefUnwindSafe for VfsInterface
impl Send for VfsInterface
impl Sync for VfsInterface
impl Unpin for VfsInterface
impl UnsafeUnpin for VfsInterface
impl UnwindSafe for VfsInterface
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