Enum web_sys::MediaDecodingType
source · [−]pub enum MediaDecodingType {
File,
MediaSource,
// some variants omitted
}
Expand description
The MediaDecodingType
enum.
This API requires the following crate features to be activated: MediaDecodingType
Variants
File
MediaSource
Implementations
sourceimpl MediaDecodingType
impl MediaDecodingType
pub fn from_js_value(obj: &JsValue) -> Option<MediaDecodingType>
Trait Implementations
sourceimpl Clone for MediaDecodingType
impl Clone for MediaDecodingType
sourcefn clone(&self) -> MediaDecodingType
fn clone(&self) -> MediaDecodingType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MediaDecodingType
impl Debug for MediaDecodingType
sourceimpl From<MediaDecodingType> for JsValue
impl From<MediaDecodingType> for JsValue
sourcefn from(obj: MediaDecodingType) -> JsValue
fn from(obj: MediaDecodingType) -> JsValue
Converts to this type from the input type.
sourceimpl FromWasmAbi for MediaDecodingType
impl FromWasmAbi for MediaDecodingType
sourceimpl IntoWasmAbi for MediaDecodingType
impl IntoWasmAbi for MediaDecodingType
sourceimpl OptionFromWasmAbi for MediaDecodingType
impl OptionFromWasmAbi for MediaDecodingType
sourceimpl OptionIntoWasmAbi for MediaDecodingType
impl OptionIntoWasmAbi for MediaDecodingType
sourceimpl WasmDescribe for MediaDecodingType
impl WasmDescribe for MediaDecodingType
impl Copy for MediaDecodingType
impl Eq for MediaDecodingType
impl StructuralEq for MediaDecodingType
impl StructuralPartialEq for MediaDecodingType
Auto Trait Implementations
impl RefUnwindSafe for MediaDecodingType
impl Send for MediaDecodingType
impl Sync for MediaDecodingType
impl Unpin for MediaDecodingType
impl UnwindSafe for MediaDecodingType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
sourcefn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more