pub struct FileSystemCapabilities {
pub read_file: bool,
pub file_exists: bool,
pub directory_exists: bool,
pub get_accessible_entries: bool,
pub realpath: bool,
}Expand description
Declares which filesystem callbacks are implemented by an ApiFileSystem.
Fields§
§read_file: boolEnables the readFile callback.
file_exists: boolEnables the fileExists callback.
directory_exists: boolEnables the directoryExists callback.
get_accessible_entries: boolEnables the getAccessibleEntries callback.
realpath: boolEnables the realpath callback.
Trait Implementations§
Source§impl Clone for FileSystemCapabilities
impl Clone for FileSystemCapabilities
Source§fn clone(&self) -> FileSystemCapabilities
fn clone(&self) -> FileSystemCapabilities
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 moreimpl Copy for FileSystemCapabilities
Source§impl Debug for FileSystemCapabilities
impl Debug for FileSystemCapabilities
Source§impl Default for FileSystemCapabilities
impl Default for FileSystemCapabilities
Source§fn default() -> FileSystemCapabilities
fn default() -> FileSystemCapabilities
Returns the “default value” for a type. Read more
impl Eq for FileSystemCapabilities
Source§impl PartialEq for FileSystemCapabilities
impl PartialEq for FileSystemCapabilities
Source§fn eq(&self, other: &FileSystemCapabilities) -> bool
fn eq(&self, other: &FileSystemCapabilities) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FileSystemCapabilities
Auto Trait Implementations§
impl Freeze for FileSystemCapabilities
impl RefUnwindSafe for FileSystemCapabilities
impl Send for FileSystemCapabilities
impl Sync for FileSystemCapabilities
impl Unpin for FileSystemCapabilities
impl UnsafeUnpin for FileSystemCapabilities
impl UnwindSafe for FileSystemCapabilities
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