[][src]Struct stdweb::web::File

pub struct File(_);

The File interface provides information about files and allows JavaScript in a web page to access their content.

(JavaScript docs)

Methods

impl File[src]

pub fn name(&self) -> String[src]

Returns the name of the file referenced by the File object.

(JavaScript docs)

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.

impl TryFrom<File> for Reference[src]

type Error = Void

The type returned in the event of a conversion error.

impl TryFrom<Reference> for File[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl<'_r> TryFrom<&'_r Reference> for File[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Value> for File[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl<'_r> TryFrom<&'_r Value> for File[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl InstanceOf for File[src]

impl ReferenceType for File[src]

impl IBlob for File[src]

impl AsRef<Reference> for File[src]

impl From<File> for Blob[src]

impl From<File> for Reference[src]

impl Clone for File[src]

impl Eq for File[src]

impl PartialEq<File> for File[src]

impl Debug for File[src]

Auto Trait Implementations

impl Send for File

impl Sync for File

impl Unpin for File

impl UnwindSafe for File

impl RefUnwindSafe for File

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]