pub(crate) trait FileSystemEntryMethods<D>where
D: DomTypes,{
// Required methods
fn IsFile(&self) -> bool;
fn IsDirectory(&self) -> bool;
fn Name(&self) -> USVString;
fn FullPath(&self) -> USVString;
fn Filesystem(&self) -> Root<Dom<<D as DomTypes>::FileSystem>>;
fn GetParent(
&self,
successCallback: Option<RootedCallback<FileSystemEntryCallback<D>>>,
errorCallback: Option<RootedCallback<ErrorCallback<D>>>,
);
}Required Methods§
fn IsFile(&self) -> bool
fn IsDirectory(&self) -> bool
fn Name(&self) -> USVString
fn FullPath(&self) -> USVString
fn Filesystem(&self) -> Root<Dom<<D as DomTypes>::FileSystem>>
fn GetParent( &self, successCallback: Option<RootedCallback<FileSystemEntryCallback<D>>>, errorCallback: Option<RootedCallback<ErrorCallback<D>>>, )
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".