Trait script::dom::bindings::codegen::Bindings::BlobBinding::Blob_Binding::BlobMethods
source · pub trait BlobMethods {
// Required methods
fn Size(&self) -> u64;
fn Type(&self) -> DOMString;
fn Slice(
&self,
start: Option<i64>,
end: Option<i64>,
contentType: Option<DOMString>
) -> Root<Dom<Blob>>;
fn Stream(&self, cx: SafeJSContext) -> NonNull<JSObject>;
fn Text(&self) -> Rc<Promise>;
fn ArrayBuffer(&self) -> Rc<Promise>;
}