[][src]Struct web_sys::MediaKeyStatusMap

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

The MediaKeyStatusMap class.

MDN Documentation

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

Methods

impl MediaKeyStatusMap[src]

pub fn size(&self) -> u32[src]

Getter for the size field of this object.

MDN Documentation

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

impl MediaKeyStatusMap[src]

pub fn get_with_buffer_source(
    &self,
    key_id: &Object
) -> Result<JsValue, JsValue>
[src]

The get() method.

MDN Documentation

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

impl MediaKeyStatusMap[src]

pub fn get_with_u8_array(&self, key_id: &mut [u8]) -> Result<JsValue, JsValue>[src]

The get() method.

MDN Documentation

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

impl MediaKeyStatusMap[src]

pub fn has_with_buffer_source(&self, key_id: &Object) -> bool[src]

The has() method.

MDN Documentation

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

impl MediaKeyStatusMap[src]

pub fn has_with_u8_array(&self, key_id: &mut [u8]) -> bool[src]

The has() method.

MDN Documentation

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

Trait Implementations

impl AsRef<JsValue> for MediaKeyStatusMap[src]

impl AsRef<MediaKeyStatusMap> for MediaKeyStatusMap[src]

impl AsRef<Object> for MediaKeyStatusMap[src]

impl Clone for MediaKeyStatusMap[src]

impl Debug for MediaKeyStatusMap[src]

impl Deref for MediaKeyStatusMap[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for MediaKeyStatusMap[src]

impl From<JsValue> for MediaKeyStatusMap[src]

impl From<MediaKeyStatusMap> for JsValue[src]

impl From<MediaKeyStatusMap> for Object[src]

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

impl OptionFromWasmAbi for MediaKeyStatusMap[src]

impl OptionIntoWasmAbi for MediaKeyStatusMap[src]

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

impl PartialEq<MediaKeyStatusMap> for MediaKeyStatusMap[src]

impl RefFromWasmAbi for MediaKeyStatusMap[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<MediaKeyStatusMap>

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

impl StructuralPartialEq for MediaKeyStatusMap[src]

impl WasmDescribe for MediaKeyStatusMap[src]

Auto Trait Implementations

impl RefUnwindSafe for MediaKeyStatusMap

impl !Send for MediaKeyStatusMap

impl !Sync for MediaKeyStatusMap

impl Unpin for MediaKeyStatusMap

impl UnwindSafe for MediaKeyStatusMap

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.