Enum script::dom::filereader::FileReaderFunction
source · pub enum FileReaderFunction {
ReadAsText,
ReadAsDataUrl,
ReadAsArrayBuffer,
}
Variants§
Trait Implementations§
source§impl Clone for FileReaderFunction
impl Clone for FileReaderFunction
source§fn clone(&self) -> FileReaderFunction
fn clone(&self) -> FileReaderFunction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl JSTraceable for FileReaderFunction
impl JSTraceable for FileReaderFunction
source§impl MallocSizeOf for FileReaderFunction
impl MallocSizeOf for FileReaderFunction
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
source§impl PartialEq<FileReaderFunction> for FileReaderFunction
impl PartialEq<FileReaderFunction> for FileReaderFunction
source§fn eq(&self, other: &FileReaderFunction) -> bool
fn eq(&self, other: &FileReaderFunction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FileReaderFunction
impl StructuralPartialEq for FileReaderFunction
Auto Trait Implementations§
impl RefUnwindSafe for FileReaderFunction
impl Send for FileReaderFunction
impl Sync for FileReaderFunction
impl Unpin for FileReaderFunction
impl UnwindSafe for FileReaderFunction
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
source§fn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert