Skip to main content

FileMethods

Trait FileMethods 

Source
pub(crate) trait FileMethods<D>
where D: DomTypes,
{ // Required methods fn Name(&self) -> DOMString; fn LastModified(&self) -> i64; fn WebkitRelativePath(&self) -> USVString; fn Constructor( cx: &mut JSContext, global: &<D as DomTypes>::GlobalScope, proto: Option<Handle<'_, *mut JSObject>>, fileBits: Vec<ArrayBufferOrArrayBufferViewOrBlobOrString<D>>, fileName: DOMString, options: &FilePropertyBag, ) -> Result<Root<Dom<<D as DomTypes>::File>>, Error>; }

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§