[][src]Struct web_sys::MediaKeyNeededEventInit

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

The MediaKeyNeededEventInit dictionary

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

Methods

impl MediaKeyNeededEventInit[src]

pub fn new() -> MediaKeyNeededEventInit[src]

Construct a new MediaKeyNeededEventInit

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

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

Configure the bubbles field of this object

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

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

Configure the cancelable field of this object

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

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

Configure the composed field of this object

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

pub fn init_data(&mut self, val: Option<&ArrayBuffer>) -> &mut Self[src]

Configure the initData field of this object

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

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

Configure the initDataType field of this object

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

Trait Implementations

impl AsRef<JsValue> for MediaKeyNeededEventInit[src]

impl Clone for MediaKeyNeededEventInit[src]

impl Debug for MediaKeyNeededEventInit[src]

impl From<MediaKeyNeededEventInit> for JsValue[src]

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

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

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

impl JsCast for MediaKeyNeededEventInit[src]

impl OptionFromWasmAbi for MediaKeyNeededEventInit[src]

impl OptionIntoWasmAbi for MediaKeyNeededEventInit[src]

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

impl RefFromWasmAbi for MediaKeyNeededEventInit[src]

type Abi = <Object as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<MediaKeyNeededEventInit>

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 WasmDescribe for MediaKeyNeededEventInit[src]

Auto Trait Implementations

impl RefUnwindSafe for MediaKeyNeededEventInit

impl !Send for MediaKeyNeededEventInit

impl !Sync for MediaKeyNeededEventInit

impl Unpin for MediaKeyNeededEventInit

impl UnwindSafe for MediaKeyNeededEventInit

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.