Struct stdweb::web::Blob
[−]
[src]
pub struct Blob(_);
A reference to a JavaScript object which implements the IBlob interface.
Trait Implementations
impl Clone for Blob
[src]
fn clone(&self) -> Blob
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Blob
[src]
impl PartialEq for Blob
[src]
fn eq(&self, __arg_0: &Blob) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Blob) -> bool
[src]
This method tests for !=
.
impl Eq for Blob
[src]
impl InstanceOf for Blob
[src]
fn instance_of(reference: &Reference) -> bool
[src]
Checks whenever a given Reference if of type Self
.
impl AsRef<Reference> for Blob
[src]
impl ReferenceType for Blob
[src]
unsafe fn from_reference_unchecked(reference: Reference) -> Self
[src]
Converts a given reference into a concrete reference-like wrapper. Doesn't do any type checking; highly unsafe to use! Read more
impl TryFrom<Reference> for Blob
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(reference: Reference) -> Result<Self, Self::Error>
[src]
Performs the conversion.
impl<'_r> TryFrom<&'_r Reference> for Blob
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(reference: &Reference) -> Result<Self, Self::Error>
[src]
Performs the conversion.
impl TryFrom<Value> for Blob
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>
[src]
Performs the conversion.
impl<'_r> TryFrom<&'_r Value> for Blob
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>
[src]
Performs the conversion.
impl JsSerialize for Blob
[src]
impl IBlob for Blob
[src]
fn len(&self) -> u64
[src]
The size, in bytes, of the data contained in the Blob object. Read more
fn mime(&self) -> Option<String>
[src]
A string indicating the MIME type of the data contained in the Blob
. Read more