Skip to main content

FileSystemEntryMethods

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§

Source

fn IsFile(&self) -> bool

Source

fn IsDirectory(&self) -> bool

Source

fn Name(&self) -> USVString

Source

fn FullPath(&self) -> USVString

Source

fn Filesystem(&self) -> DomRoot<D::FileSystem>

Source

fn GetParent( &self, successCallback: Option<Rc<FileSystemEntryCallback<D>>>, errorCallback: Option<Rc<ErrorCallback<D>>>, )

Implementors§