[][src]Struct web_sys::RtcCodecStats

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

The RtcCodecStats dictionary.

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

Methods

impl RtcCodecStats[src]

pub fn new() -> Self[src]

Construct a new RtcCodecStats.

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

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

Change the id field of this object.

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

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

Change the timestamp field of this object.

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

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

Change the type field of this object.

This API requires the following crate features to be activated: RtcCodecStats, RtcStatsType

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

Change the channels field of this object.

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

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

Change the clockRate field of this object.

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

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

Change the codec field of this object.

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

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

Change the parameters field of this object.

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

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

Change the payloadType field of this object.

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

Trait Implementations

impl AsRef<JsValue> for RtcCodecStats[src]

impl AsRef<Object> for RtcCodecStats[src]

impl AsRef<RtcCodecStats> for RtcCodecStats[src]

impl Clone for RtcCodecStats[src]

impl Debug for RtcCodecStats[src]

impl Deref for RtcCodecStats[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for RtcCodecStats[src]

impl From<JsValue> for RtcCodecStats[src]

impl From<RtcCodecStats> for JsValue[src]

impl From<RtcCodecStats> for Object[src]

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

impl OptionFromWasmAbi for RtcCodecStats[src]

impl OptionIntoWasmAbi for RtcCodecStats[src]

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

impl PartialEq<RtcCodecStats> for RtcCodecStats[src]

impl RefFromWasmAbi for RtcCodecStats[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<RtcCodecStats>

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

impl StructuralPartialEq for RtcCodecStats[src]

impl WasmDescribe for RtcCodecStats[src]

Auto Trait Implementations

impl RefUnwindSafe for RtcCodecStats

impl !Send for RtcCodecStats

impl !Sync for RtcCodecStats

impl Unpin for RtcCodecStats

impl UnwindSafe for RtcCodecStats

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.