[][src]Struct web_sys::MediaCapabilitiesInfo

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

The MediaCapabilitiesInfo class.

MDN Documentation

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

Methods

impl MediaCapabilitiesInfo[src]

pub fn supported(&self) -> bool[src]

Getter for the supported field of this object.

MDN Documentation

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

impl MediaCapabilitiesInfo[src]

pub fn smooth(&self) -> bool[src]

Getter for the smooth field of this object.

MDN Documentation

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

impl MediaCapabilitiesInfo[src]

pub fn power_efficient(&self) -> bool[src]

Getter for the powerEfficient field of this object.

MDN Documentation

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

Trait Implementations

impl AsRef<JsValue> for MediaCapabilitiesInfo[src]

impl AsRef<MediaCapabilitiesInfo> for MediaCapabilitiesInfo[src]

impl AsRef<Object> for MediaCapabilitiesInfo[src]

impl Clone for MediaCapabilitiesInfo[src]

impl Debug for MediaCapabilitiesInfo[src]

impl Deref for MediaCapabilitiesInfo[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for MediaCapabilitiesInfo[src]

impl From<JsValue> for MediaCapabilitiesInfo[src]

impl From<MediaCapabilitiesInfo> for JsValue[src]

impl From<MediaCapabilitiesInfo> for Object[src]

impl FromWasmAbi for MediaCapabilitiesInfo[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 MediaCapabilitiesInfo[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 MediaCapabilitiesInfo[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 MediaCapabilitiesInfo[src]

impl OptionFromWasmAbi for MediaCapabilitiesInfo[src]

impl OptionIntoWasmAbi for MediaCapabilitiesInfo[src]

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

impl PartialEq<MediaCapabilitiesInfo> for MediaCapabilitiesInfo[src]

impl RefFromWasmAbi for MediaCapabilitiesInfo[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<MediaCapabilitiesInfo>

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 MediaCapabilitiesInfo[src]

impl StructuralPartialEq for MediaCapabilitiesInfo[src]

impl WasmDescribe for MediaCapabilitiesInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for MediaCapabilitiesInfo

impl !Send for MediaCapabilitiesInfo

impl !Sync for MediaCapabilitiesInfo

impl Unpin for MediaCapabilitiesInfo

impl UnwindSafe for MediaCapabilitiesInfo

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.