[][src]Struct web_sys::MediaTrackConstraints

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

The MediaTrackConstraints dictionary.

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

Methods

impl MediaTrackConstraints[src]

pub fn new() -> Self[src]

Construct a new MediaTrackConstraints.

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

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

Change the autoGainControl field of this object.

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

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

Change the browserWindow field of this object.

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

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

Change the channelCount field of this object.

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

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

Change the deviceId field of this object.

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

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

Change the echoCancellation field of this object.

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

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

Change the facingMode field of this object.

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

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

Change the frameRate field of this object.

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

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

Change the height field of this object.

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

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

Change the mediaSource field of this object.

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

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

Change the noiseSuppression field of this object.

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

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

Change the scrollWithPage field of this object.

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

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

Change the viewportHeight field of this object.

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

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

Change the viewportOffsetX field of this object.

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

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

Change the viewportOffsetY field of this object.

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

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

Change the viewportWidth field of this object.

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

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

Change the width field of this object.

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

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

Change the advanced field of this object.

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

Trait Implementations

impl AsRef<JsValue> for MediaTrackConstraints[src]

impl AsRef<MediaTrackConstraints> for MediaTrackConstraints[src]

impl AsRef<Object> for MediaTrackConstraints[src]

impl Clone for MediaTrackConstraints[src]

impl Debug for MediaTrackConstraints[src]

impl Deref for MediaTrackConstraints[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for MediaTrackConstraints[src]

impl From<JsValue> for MediaTrackConstraints[src]

impl From<MediaTrackConstraints> for JsValue[src]

impl From<MediaTrackConstraints> for Object[src]

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

impl OptionFromWasmAbi for MediaTrackConstraints[src]

impl OptionIntoWasmAbi for MediaTrackConstraints[src]

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

impl PartialEq<MediaTrackConstraints> for MediaTrackConstraints[src]

impl RefFromWasmAbi for MediaTrackConstraints[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<MediaTrackConstraints>

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

impl StructuralPartialEq for MediaTrackConstraints[src]

impl WasmDescribe for MediaTrackConstraints[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.