[−][src]Struct yew::services::reader::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 IBlob for File
[src]
fn len(&self) -> u64
[src]
fn mime(&self) -> Option<String>
[src]
fn slice<T>(&self, range: T) -> Blob where
T: RangeBounds<u64>,
[src]
T: RangeBounds<u64>,
fn slice_with_content_type<T>(&self, range: T, content_type: &str) -> Blob where
T: RangeBounds<u64>,
[src]
T: RangeBounds<u64>,
impl Clone for File
[src]
impl InstanceOf for File
[src]
fn instance_of(reference: &Reference) -> bool
[src]
impl AsRef<Reference> for File
[src]
impl Eq for File
[src]
impl JsSerialize for File
[src]
impl PartialEq<File> for File
[src]
impl From<File> for Blob
[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<File, <File as TryFrom<Reference>>::Error>
[src]
reference: Reference
) -> Result<File, <File as TryFrom<Reference>>::Error>
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<File, <File as TryFrom<Blob>>::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<File, <File as TryFrom<Value>>::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<File, <File as TryFrom<&'_r Reference>>::Error>
[src]
reference: &Reference
) -> Result<File, <File as TryFrom<&'_r Reference>>::Error>
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<File, <File as TryFrom<&'_r Value>>::Error>
[src]
impl Debug for File
[src]
impl ReferenceType for File
[src]
unsafe fn from_reference_unchecked(reference: Reference) -> 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]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
[src]
T: Any,
impl<T> CloneAny for T where
T: Clone + Any,
[src]
T: Clone + Any,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,