[][src]Struct web_sys::RtcRtpContributingSource

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

The RTCRtpContributingSource dictionary

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

Methods

impl RtcRtpContributingSource[src]

pub fn new(source: u32, timestamp: f64) -> RtcRtpContributingSource[src]

Construct a new RTCRtpContributingSource

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

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

Configure the audioLevel field of this object

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

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

Configure the source field of this object

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

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

Configure the timestamp field of this object

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

Trait Implementations

impl AsRef<JsValue> for RtcRtpContributingSource[src]

impl Clone for RtcRtpContributingSource[src]

impl Debug for RtcRtpContributingSource[src]

impl From<RtcRtpContributingSource> for JsValue[src]

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

impl OptionFromWasmAbi for RtcRtpContributingSource[src]

impl OptionIntoWasmAbi for RtcRtpContributingSource[src]

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

impl RefFromWasmAbi for RtcRtpContributingSource[src]

type Abi = <Object as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<RtcRtpContributingSource>

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

Auto Trait Implementations

impl RefUnwindSafe for RtcRtpContributingSource

impl !Send for RtcRtpContributingSource

impl !Sync for RtcRtpContributingSource

impl Unpin for RtcRtpContributingSource

impl UnwindSafe for RtcRtpContributingSource

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.