pub(crate) trait DataTransferItemListMethods<D: DomTypes> {
// Required methods
fn Length(&self) -> u32;
fn Add(
&self,
data: DOMString,
type_: DOMString,
_can_gc: CanGc,
) -> Fallible<Option<DomRoot<D::DataTransferItem>>>;
fn Add_(
&self,
data: &D::File,
_can_gc: CanGc,
) -> Fallible<Option<DomRoot<D::DataTransferItem>>>;
fn Remove(&self, index: u32) -> Fallible<()>;
fn Clear(&self);
fn IndexedGetter(
&self,
index: u32,
_can_gc: CanGc,
) -> Option<DomRoot<D::DataTransferItem>>;
}