[][src]Struct web_sys::MediaKeySystemConfiguration

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

The MediaKeySystemConfiguration dictionary

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

Methods

impl MediaKeySystemConfiguration[src]

pub fn new() -> MediaKeySystemConfiguration[src]

Construct a new MediaKeySystemConfiguration

This API requires the following crate features to be activated: MediaKeySystemConfiguration, MediaKeysRequirement

pub fn audio_capabilities(&mut self, val: &JsValue) -> &mut Self[src]

Configure the audioCapabilities field of this object

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

pub fn distinctive_identifier(&mut self, val: MediaKeysRequirement) -> &mut Self[src]

Configure the distinctiveIdentifier field of this object

This API requires the following crate features to be activated: MediaKeySystemConfiguration, MediaKeysRequirement

pub fn init_data_types(&mut self, val: &JsValue) -> &mut Self[src]

Configure the initDataTypes field of this object

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

pub fn label(&mut self, val: &str) -> &mut Self[src]

Configure the label field of this object

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

pub fn persistent_state(&mut self, val: MediaKeysRequirement) -> &mut Self[src]

Configure the persistentState field of this object

This API requires the following crate features to be activated: MediaKeySystemConfiguration, MediaKeysRequirement

pub fn session_types(&mut self, val: &JsValue) -> &mut Self[src]

Configure the sessionTypes field of this object

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

pub fn video_capabilities(&mut self, val: &JsValue) -> &mut Self[src]

Configure the videoCapabilities field of this object

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

Trait Implementations

impl From<MediaKeySystemConfiguration> for JsValue[src]

impl Clone for MediaKeySystemConfiguration[src]

impl AsRef<JsValue> for MediaKeySystemConfiguration[src]

impl Debug for MediaKeySystemConfiguration[src]

impl JsCast for MediaKeySystemConfiguration[src]

impl FromWasmAbi for MediaKeySystemConfiguration[src]

type Abi = <Object as FromWasmAbi>::Abi

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

impl WasmDescribe for MediaKeySystemConfiguration[src]

impl IntoWasmAbi for MediaKeySystemConfiguration[src]

type Abi = <Object as IntoWasmAbi>::Abi

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

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

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

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

impl RefFromWasmAbi for MediaKeySystemConfiguration[src]

type Abi = <Object as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<MediaKeySystemConfiguration>

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 OptionFromWasmAbi for MediaKeySystemConfiguration[src]

impl OptionIntoWasmAbi for MediaKeySystemConfiguration[src]

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

Auto Trait Implementations

Blanket Implementations

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

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

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.

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

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

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

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

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi