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