pub(crate) trait DataTransferItemMethods<D: DomTypes> {
    // Required methods
    fn Kind(&self) -> DOMString;
    fn Type(&self) -> DOMString;
    fn GetAsString(&self, callback: Option<Rc<FunctionStringCallback<D>>>);
    fn GetAsFile(&self, _can_gc: CanGc) -> Option<DomRoot<D::File>>;
}

Required Methods§

Source

fn Kind(&self) -> DOMString

Source

fn Type(&self) -> DOMString

Source

fn GetAsString(&self, callback: Option<Rc<FunctionStringCallback<D>>>)

Source

fn GetAsFile(&self, _can_gc: CanGc) -> Option<DomRoot<D::File>>

Implementors§