[][src]Struct web_sys::VideoTrack

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

The VideoTrack class.

MDN Documentation

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

Methods

impl VideoTrack[src]

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

Getter for the id field of this object.

MDN Documentation

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

impl VideoTrack[src]

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

Getter for the kind field of this object.

MDN Documentation

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

impl VideoTrack[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: VideoTrack

impl VideoTrack[src]

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

Getter for the language field of this object.

MDN Documentation

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

impl VideoTrack[src]

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

Getter for the selected field of this object.

MDN Documentation

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

impl VideoTrack[src]

pub fn set_selected(&self, value: bool)[src]

Setter for the selected field of this object.

MDN Documentation

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

Trait Implementations

impl AsRef<JsValue> for VideoTrack[src]

impl AsRef<Object> for VideoTrack[src]

impl AsRef<VideoTrack> for VideoTrack[src]

impl Clone for VideoTrack[src]

impl Debug for VideoTrack[src]

impl Deref for VideoTrack[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for VideoTrack[src]

impl From<JsValue> for VideoTrack[src]

impl From<VideoTrack> for JsValue[src]

impl From<VideoTrack> for Object[src]

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

impl OptionFromWasmAbi for VideoTrack[src]

impl OptionIntoWasmAbi for VideoTrack[src]

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

impl PartialEq<VideoTrack> for VideoTrack[src]

impl RefFromWasmAbi for VideoTrack[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<VideoTrack>

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

impl StructuralPartialEq for VideoTrack[src]

impl WasmDescribe for VideoTrack[src]

Auto Trait Implementations

impl RefUnwindSafe for VideoTrack

impl !Send for VideoTrack

impl !Sync for VideoTrack

impl Unpin for VideoTrack

impl UnwindSafe for VideoTrack

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.