[−][src]Struct stdweb::web::FileList
An object of this type is returned by the files property of the HTML <input>
element;
this lets you access the list of files selected with the <input type="file">
element.
It's also used for a list of files dropped into web content when using the drag and drop API.
Methods
impl FileList
[src]
impl FileList
pub fn len(&self) -> u32 | [src] |
Returns the number of Files contained in this list.
pub fn iter(&self) -> FileIter | [src] |
Returns an iterator over the list.
Trait Implementations
impl JsSerialize for FileList
[src]
impl JsSerialize for FileList
impl TryFrom<FileList> for Reference
[src]
impl TryFrom<FileList> for Reference
type Error = Void
The type returned in the event of a conversion error.
fn try_from(value: FileList) -> Result<Self, Self::Error> | [src] |
impl TryFrom<Reference> for FileList
[src]
impl TryFrom<Reference> for FileList
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 FileList
[src]
impl<'_r> TryFrom<&'_r Reference> for FileList
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 FileList
[src]
impl TryFrom<Value> for FileList
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 FileList
[src]
impl<'_r> TryFrom<&'_r Value> for FileList
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 FileList
[src]
impl InstanceOf for FileList
fn instance_of(reference: &Reference) -> bool | [src] |
impl ReferenceType for FileList
[src]
impl ReferenceType for FileList
unsafe fn from_reference_unchecked(reference: Reference) -> Self | [src] |
impl AsRef<Reference> for FileList
[src]
impl AsRef<Reference> for FileList
impl Clone for FileList
[src]
impl Clone for FileList
fn clone(&self) -> FileList | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl IntoIterator for FileList
[src]
impl IntoIterator for FileList
type Item = File
The type of the elements being iterated over.
type IntoIter = FileIter
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter | [src] |
impl<'a> IntoIterator for &'a FileList
[src]
impl<'a> IntoIterator for &'a FileList
type Item = File
The type of the elements being iterated over.
type IntoIter = FileIter
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter | [src] |
impl From<FileList> for Reference
[src]
impl From<FileList> for Reference
impl Eq for FileList
[src]
impl Eq for FileList
impl PartialEq<FileList> for FileList
[src]
impl PartialEq<FileList> for FileList
impl Debug for FileList
[src]
impl Debug for FileList
Auto Trait Implementations
Blanket Implementations
impl<I> IntoIterator for I where
I: Iterator,
[src]
impl<I> IntoIterator for I where
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
fn into_iter(self) -> I | [src] |
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
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]
impl<T> Borrow for T where
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |