[][src]Struct web_sys::MediaCapabilities

#[repr(transparent)]
pub struct MediaCapabilities { /* fields omitted */ }

The MediaCapabilities object

MDN Documentation

This API requires the following crate features to be activated: MediaCapabilities

Methods

impl MediaCapabilities[src]

pub fn decoding_info(
    &self,
    configuration: &MediaDecodingConfiguration
) -> Promise
[src]

The decodingInfo() method

MDN Documentation

This API requires the following crate features to be activated: MediaCapabilities, MediaDecodingConfiguration

impl MediaCapabilities[src]

pub fn encoding_info(
    &self,
    configuration: &MediaEncodingConfiguration
) -> Promise
[src]

The encodingInfo() method

MDN Documentation

This API requires the following crate features to be activated: MediaCapabilities, MediaEncodingConfiguration

Trait Implementations

impl AsRef<JsValue> for MediaCapabilities[src]

impl AsRef<MediaCapabilities> for MediaCapabilities[src]

impl AsRef<Object> for MediaCapabilities[src]

impl Clone for MediaCapabilities[src]

impl Debug for MediaCapabilities[src]

impl Deref for MediaCapabilities[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for MediaCapabilities[src]

impl From<JsValue> for MediaCapabilities[src]

impl From<MediaCapabilities> for JsValue[src]

impl From<MediaCapabilities> for Object[src]

impl FromWasmAbi for MediaCapabilities[src]

type Abi = <JsValue as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for MediaCapabilities[src]

type Abi = <JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a MediaCapabilities[src]

type Abi = <&'a JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl JsCast for MediaCapabilities[src]

impl OptionFromWasmAbi for MediaCapabilities[src]

impl OptionIntoWasmAbi for MediaCapabilities[src]

impl<'a> OptionIntoWasmAbi for &'a MediaCapabilities[src]

impl PartialEq<MediaCapabilities> for MediaCapabilities[src]

impl RefFromWasmAbi for MediaCapabilities[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<MediaCapabilities>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl StructuralEq for MediaCapabilities[src]

impl StructuralPartialEq for MediaCapabilities[src]

impl WasmDescribe for MediaCapabilities[src]

Auto Trait Implementations

impl RefUnwindSafe for MediaCapabilities

impl !Send for MediaCapabilities

impl !Sync for MediaCapabilities

impl Unpin for MediaCapabilities

impl UnwindSafe for MediaCapabilities

Blanket Implementations

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

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

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

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

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

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

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.