[][src]Struct web_sys::MediaDeviceInfo

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

The MediaDeviceInfo class.

MDN Documentation

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

Implementations

impl MediaDeviceInfo[src]

pub fn device_id(&self) -> String[src]

Getter for the deviceId field of this object.

MDN Documentation

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

impl MediaDeviceInfo[src]

pub fn kind(&self) -> MediaDeviceKind[src]

Getter for the kind field of this object.

MDN Documentation

This API requires the following crate features to be activated: MediaDeviceInfo, MediaDeviceKind

impl MediaDeviceInfo[src]

pub fn label(&self) -> String[src]

Getter for the label field of this object.

MDN Documentation

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

impl MediaDeviceInfo[src]

pub fn group_id(&self) -> String[src]

Getter for the groupId field of this object.

MDN Documentation

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

impl MediaDeviceInfo[src]

pub fn to_json(&self) -> Object[src]

The toJSON() method.

MDN Documentation

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

Trait Implementations

impl AsRef<JsValue> for MediaDeviceInfo[src]

impl AsRef<MediaDeviceInfo> for MediaDeviceInfo[src]

impl AsRef<Object> for MediaDeviceInfo[src]

impl Clone for MediaDeviceInfo[src]

impl Debug for MediaDeviceInfo[src]

impl Deref for MediaDeviceInfo[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for MediaDeviceInfo[src]

impl From<JsValue> for MediaDeviceInfo[src]

impl From<MediaDeviceInfo> for JsValue[src]

impl From<MediaDeviceInfo> for Object[src]

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

impl OptionFromWasmAbi for MediaDeviceInfo[src]

impl OptionIntoWasmAbi for MediaDeviceInfo[src]

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

impl PartialEq<MediaDeviceInfo> for MediaDeviceInfo[src]

impl RefFromWasmAbi for MediaDeviceInfo[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<MediaDeviceInfo>

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

impl StructuralPartialEq for MediaDeviceInfo[src]

impl WasmDescribe for MediaDeviceInfo[src]

Auto Trait Implementations

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.