[][src]Struct web_sys::RtcIceCandidateInit

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

The RtcIceCandidateInit dictionary.

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

Methods

impl RtcIceCandidateInit[src]

pub fn new(candidate: &str) -> Self[src]

Construct a new RtcIceCandidateInit.

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

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

Change the candidate field of this object.

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

pub fn sdp_m_line_index(&mut self, val: Option<u16>) -> &mut Self[src]

Change the sdpMLineIndex field of this object.

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

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

Change the sdpMid field of this object.

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

Trait Implementations

impl AsRef<JsValue> for RtcIceCandidateInit[src]

impl AsRef<Object> for RtcIceCandidateInit[src]

impl AsRef<RtcIceCandidateInit> for RtcIceCandidateInit[src]

impl Clone for RtcIceCandidateInit[src]

impl Debug for RtcIceCandidateInit[src]

impl Deref for RtcIceCandidateInit[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for RtcIceCandidateInit[src]

impl From<JsValue> for RtcIceCandidateInit[src]

impl From<RtcIceCandidateInit> for JsValue[src]

impl From<RtcIceCandidateInit> for Object[src]

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

impl OptionFromWasmAbi for RtcIceCandidateInit[src]

impl OptionIntoWasmAbi for RtcIceCandidateInit[src]

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

impl PartialEq<RtcIceCandidateInit> for RtcIceCandidateInit[src]

impl RefFromWasmAbi for RtcIceCandidateInit[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<RtcIceCandidateInit>

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

impl StructuralPartialEq for RtcIceCandidateInit[src]

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