[−][src]Struct stdweb::web::File
The File interface provides information about files and allows JavaScript in a web page to access their content.
Methods
impl File
[src]
Trait Implementations
impl JsSerialize for File
[src]
impl TryFrom<Blob> for File
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Blob) -> Result<Self, Self::Error>
[src]
impl TryFrom<File> for Reference
[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(value: File) -> Result<Self, Self::Error>
[src]
impl TryFrom<Reference> for File
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(reference: Reference) -> Result<Self, Self::Error>
[src]
impl<'_r> TryFrom<&'_r Reference> for File
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(reference: &Reference) -> Result<Self, Self::Error>
[src]
impl TryFrom<Value> for File
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>
[src]
impl<'_r> TryFrom<&'_r Value> for File
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>
[src]
impl InstanceOf for File
[src]
fn instance_of(reference: &Reference) -> bool
[src]
impl ReferenceType for File
[src]
unsafe fn from_reference_unchecked(reference: Reference) -> Self
[src]
impl IBlob for File
[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
impl AsRef<Reference> for File
[src]
impl From<File> for Blob
[src]
impl From<File> for Reference
[src]
impl PartialEq<File> for File
[src]
impl Eq for File
[src]
impl Clone for File
[src]
fn clone(&self) -> File
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for File
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,