1 #![allow(unused_imports)]
2 use super::*;
3 use wasm_bindgen::prelude::*;
4 #[wasm_bindgen]
5 extern "C" {
6     # [wasm_bindgen (extends = :: js_sys :: Object , js_name = FileSystem , typescript_type = "FileSystem")]
7     #[derive(Debug, Clone, PartialEq, Eq)]
8     #[doc = "The `FileSystem` class."]
9     #[doc = ""]
10     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystem)"]
11     #[doc = ""]
12     #[doc = "*This API requires the following crate features to be activated: `FileSystem`*"]
13     pub type FileSystem;
14     # [wasm_bindgen (structural , method , getter , js_class = "FileSystem" , js_name = name)]
15     #[doc = "Getter for the `name` field of this object."]
16     #[doc = ""]
17     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystem/name)"]
18     #[doc = ""]
19     #[doc = "*This API requires the following crate features to be activated: `FileSystem`*"]
name(this: &FileSystem) -> String20     pub fn name(this: &FileSystem) -> String;
21     #[cfg(feature = "FileSystemDirectoryEntry")]
22     # [wasm_bindgen (structural , method , getter , js_class = "FileSystem" , js_name = root)]
23     #[doc = "Getter for the `root` field of this object."]
24     #[doc = ""]
25     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystem/root)"]
26     #[doc = ""]
27     #[doc = "*This API requires the following crate features to be activated: `FileSystem`, `FileSystemDirectoryEntry`*"]
root(this: &FileSystem) -> FileSystemDirectoryEntry28     pub fn root(this: &FileSystem) -> FileSystemDirectoryEntry;
29 }
30