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>>>,
);
}