[][src]Struct web_sys::VideoConfiguration

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

The VideoConfiguration dictionary

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

Methods

impl VideoConfiguration[src]

pub fn new() -> VideoConfiguration[src]

Construct a new VideoConfiguration

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

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

Configure the bitrate field of this object

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

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

Configure the contentType field of this object

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

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

Configure the framerate field of this object

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

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

Configure the height field of this object

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

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

Configure the width field of this object

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

Trait Implementations

impl AsRef<JsValue> for VideoConfiguration[src]

impl Clone for VideoConfiguration[src]

impl Debug for VideoConfiguration[src]

impl From<VideoConfiguration> for JsValue[src]

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

impl OptionFromWasmAbi for VideoConfiguration[src]

impl OptionIntoWasmAbi for VideoConfiguration[src]

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

impl RefFromWasmAbi for VideoConfiguration[src]

type Abi = <Object as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<VideoConfiguration>

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 VideoConfiguration[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.