Trait script::dom::bindings::codegen::Bindings::FileBinding::File_Binding::FileMethods
source · pub trait FileMethods {
// Required methods
fn Name(&self) -> DOMString;
fn LastModified(&self) -> i64;
fn Constructor(
global: &GlobalScope,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
fileBits: Vec<ArrayBufferOrArrayBufferViewOrBlobOrString>,
fileName: DOMString,
options: &FilePropertyBag,
) -> Result<Root<Dom<File>>, Error>;
}
Required Methods§
fn Name(&self) -> DOMString
fn LastModified(&self) -> i64
fn Constructor( global: &GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, fileBits: Vec<ArrayBufferOrArrayBufferViewOrBlobOrString>, fileName: DOMString, options: &FilePropertyBag, ) -> Result<Root<Dom<File>>, Error>
Object Safety§
This trait is not object safe.