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 = FileSystemDirectoryReader , typescript_type = "FileSystemDirectoryReader")] 7 #[derive(Debug, Clone, PartialEq, Eq)] 8 #[doc = "The `FileSystemDirectoryReader` class."] 9 #[doc = ""] 10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader)"] 11 #[doc = ""] 12 #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryReader`*"] 13 pub type FileSystemDirectoryReader; 14 # [wasm_bindgen (catch , method , structural , js_class = "FileSystemDirectoryReader" , js_name = readEntries)] 15 #[doc = "The `readEntries()` method."] 16 #[doc = ""] 17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader/readEntries)"] 18 #[doc = ""] 19 #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryReader`*"] read_entries_with_callback( this: &FileSystemDirectoryReader, success_callback: &::js_sys::Function, ) -> Result<(), JsValue>20 pub fn read_entries_with_callback( 21 this: &FileSystemDirectoryReader, 22 success_callback: &::js_sys::Function, 23 ) -> Result<(), JsValue>; 24 #[cfg(feature = "FileSystemEntriesCallback")] 25 # [wasm_bindgen (catch , method , structural , js_class = "FileSystemDirectoryReader" , js_name = readEntries)] 26 #[doc = "The `readEntries()` method."] 27 #[doc = ""] 28 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader/readEntries)"] 29 #[doc = ""] 30 #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryReader`, `FileSystemEntriesCallback`*"] read_entries_with_file_system_entries_callback( this: &FileSystemDirectoryReader, success_callback: &FileSystemEntriesCallback, ) -> Result<(), JsValue>31 pub fn read_entries_with_file_system_entries_callback( 32 this: &FileSystemDirectoryReader, 33 success_callback: &FileSystemEntriesCallback, 34 ) -> Result<(), JsValue>; 35 # [wasm_bindgen (catch , method , structural , js_class = "FileSystemDirectoryReader" , js_name = readEntries)] 36 #[doc = "The `readEntries()` method."] 37 #[doc = ""] 38 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader/readEntries)"] 39 #[doc = ""] 40 #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryReader`*"] read_entries_with_callback_and_callback( this: &FileSystemDirectoryReader, success_callback: &::js_sys::Function, error_callback: &::js_sys::Function, ) -> Result<(), JsValue>41 pub fn read_entries_with_callback_and_callback( 42 this: &FileSystemDirectoryReader, 43 success_callback: &::js_sys::Function, 44 error_callback: &::js_sys::Function, 45 ) -> Result<(), JsValue>; 46 #[cfg(feature = "FileSystemEntriesCallback")] 47 # [wasm_bindgen (catch , method , structural , js_class = "FileSystemDirectoryReader" , js_name = readEntries)] 48 #[doc = "The `readEntries()` method."] 49 #[doc = ""] 50 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader/readEntries)"] 51 #[doc = ""] 52 #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryReader`, `FileSystemEntriesCallback`*"] read_entries_with_file_system_entries_callback_and_callback( this: &FileSystemDirectoryReader, success_callback: &FileSystemEntriesCallback, error_callback: &::js_sys::Function, ) -> Result<(), JsValue>53 pub fn read_entries_with_file_system_entries_callback_and_callback( 54 this: &FileSystemDirectoryReader, 55 success_callback: &FileSystemEntriesCallback, 56 error_callback: &::js_sys::Function, 57 ) -> Result<(), JsValue>; 58 #[cfg(feature = "ErrorCallback")] 59 # [wasm_bindgen (catch , method , structural , js_class = "FileSystemDirectoryReader" , js_name = readEntries)] 60 #[doc = "The `readEntries()` method."] 61 #[doc = ""] 62 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader/readEntries)"] 63 #[doc = ""] 64 #[doc = "*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemDirectoryReader`*"] read_entries_with_callback_and_error_callback( this: &FileSystemDirectoryReader, success_callback: &::js_sys::Function, error_callback: &ErrorCallback, ) -> Result<(), JsValue>65 pub fn read_entries_with_callback_and_error_callback( 66 this: &FileSystemDirectoryReader, 67 success_callback: &::js_sys::Function, 68 error_callback: &ErrorCallback, 69 ) -> Result<(), JsValue>; 70 #[cfg(all(feature = "ErrorCallback", feature = "FileSystemEntriesCallback",))] 71 # [wasm_bindgen (catch , method , structural , js_class = "FileSystemDirectoryReader" , js_name = readEntries)] 72 #[doc = "The `readEntries()` method."] 73 #[doc = ""] 74 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryReader/readEntries)"] 75 #[doc = ""] 76 #[doc = "*This API requires the following crate features to be activated: `ErrorCallback`, `FileSystemDirectoryReader`, `FileSystemEntriesCallback`*"] read_entries_with_file_system_entries_callback_and_error_callback( this: &FileSystemDirectoryReader, success_callback: &FileSystemEntriesCallback, error_callback: &ErrorCallback, ) -> Result<(), JsValue>77 pub fn read_entries_with_file_system_entries_callback_and_error_callback( 78 this: &FileSystemDirectoryReader, 79 success_callback: &FileSystemEntriesCallback, 80 error_callback: &ErrorCallback, 81 ) -> Result<(), JsValue>; 82 } 83