diff options
Diffstat (limited to 'vendor/web-sys/src/features/gen_FileSystem.rs')
-rw-r--r-- | vendor/web-sys/src/features/gen_FileSystem.rs | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/vendor/web-sys/src/features/gen_FileSystem.rs b/vendor/web-sys/src/features/gen_FileSystem.rs new file mode 100644 index 000000000..09f217e0e --- /dev/null +++ b/vendor/web-sys/src/features/gen_FileSystem.rs @@ -0,0 +1,29 @@ +#![allow(unused_imports)] +use super::*; +use wasm_bindgen::prelude::*; +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileSystem , typescript_type = "FileSystem")] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `FileSystem` class."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystem)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystem`*"] + pub type FileSystem; + # [wasm_bindgen (structural , method , getter , js_class = "FileSystem" , js_name = name)] + #[doc = "Getter for the `name` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystem/name)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystem`*"] + pub fn name(this: &FileSystem) -> String; + #[cfg(feature = "FileSystemDirectoryEntry")] + # [wasm_bindgen (structural , method , getter , js_class = "FileSystem" , js_name = root)] + #[doc = "Getter for the `root` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystem/root)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `FileSystem`, `FileSystemDirectoryEntry`*"] + pub fn root(this: &FileSystem) -> FileSystemDirectoryEntry; +} |