[][src]Struct web_sys::MediaTrackConstraintSet

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

The MediaTrackConstraintSet dictionary.

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

Methods

impl MediaTrackConstraintSet[src]

pub fn new() -> Self[src]

Construct a new MediaTrackConstraintSet.

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

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: MediaTrackConstraintSet

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: MediaTrackConstraintSet

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: MediaTrackConstraintSet

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: MediaTrackConstraintSet

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: MediaTrackConstraintSet

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: MediaTrackConstraintSet

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: MediaTrackConstraintSet

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: MediaTrackConstraintSet

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: MediaTrackConstraintSet

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: MediaTrackConstraintSet

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: MediaTrackConstraintSet

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: MediaTrackConstraintSet

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: MediaTrackConstraintSet

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: MediaTrackConstraintSet

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: MediaTrackConstraintSet

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: MediaTrackConstraintSet

Trait Implementations

impl AsRef<JsValue> for MediaTrackConstraintSet[src]

impl AsRef<MediaTrackConstraintSet> for MediaTrackConstraintSet[src]

impl AsRef<Object> for MediaTrackConstraintSet[src]

impl Clone for MediaTrackConstraintSet[src]

impl Debug for MediaTrackConstraintSet[src]

impl Deref for MediaTrackConstraintSet[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for MediaTrackConstraintSet[src]

impl From<JsValue> for MediaTrackConstraintSet[src]

impl From<MediaTrackConstraintSet> for JsValue[src]

impl From<MediaTrackConstraintSet> for Object[src]

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

impl OptionFromWasmAbi for MediaTrackConstraintSet[src]

impl OptionIntoWasmAbi for MediaTrackConstraintSet[src]

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

impl PartialEq<MediaTrackConstraintSet> for MediaTrackConstraintSet[src]

impl RefFromWasmAbi for MediaTrackConstraintSet[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<MediaTrackConstraintSet>

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

impl StructuralPartialEq for MediaTrackConstraintSet[src]

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