[][src]Struct web_sys::RtcSessionDescription

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

The RTCSessionDescription object

MDN Documentation

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

Methods

impl RtcSessionDescription[src]

pub fn new() -> Result<RtcSessionDescription, JsValue>[src]

The new RTCSessionDescription(..) constructor, creating a new instance of RTCSessionDescription

MDN Documentation

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

impl RtcSessionDescription[src]

pub fn new_with_description_init_dict(
    description_init_dict: &RtcSessionDescriptionInit
) -> Result<RtcSessionDescription, JsValue>
[src]

The new RTCSessionDescription(..) constructor, creating a new instance of RTCSessionDescription

MDN Documentation

This API requires the following crate features to be activated: RtcSessionDescription, RtcSessionDescriptionInit

impl RtcSessionDescription[src]

pub fn to_json(&self) -> Object[src]

The toJSON() method

MDN Documentation

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

impl RtcSessionDescription[src]

pub fn type_(&self) -> RtcSdpType[src]

The type getter

MDN Documentation

This API requires the following crate features to be activated: RtcSdpType, RtcSessionDescription

impl RtcSessionDescription[src]

pub fn set_type(&self, type_: RtcSdpType)[src]

The type setter

MDN Documentation

This API requires the following crate features to be activated: RtcSdpType, RtcSessionDescription

impl RtcSessionDescription[src]

pub fn sdp(&self) -> String[src]

The sdp getter

MDN Documentation

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

impl RtcSessionDescription[src]

pub fn set_sdp(&self, sdp: &str)[src]

The sdp setter

MDN Documentation

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

Trait Implementations

impl AsRef<JsValue> for RtcSessionDescription[src]

impl AsRef<Object> for RtcSessionDescription[src]

impl AsRef<RtcSessionDescription> for RtcSessionDescription[src]

impl Clone for RtcSessionDescription[src]

impl Debug for RtcSessionDescription[src]

impl Deref for RtcSessionDescription[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for RtcSessionDescription[src]

impl From<JsValue> for RtcSessionDescription[src]

impl From<RtcSessionDescription> for JsValue[src]

impl From<RtcSessionDescription> for Object[src]

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

impl OptionFromWasmAbi for RtcSessionDescription[src]

impl OptionIntoWasmAbi for RtcSessionDescription[src]

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

impl PartialEq<RtcSessionDescription> for RtcSessionDescription[src]

impl RefFromWasmAbi for RtcSessionDescription[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<RtcSessionDescription>

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

impl StructuralPartialEq for RtcSessionDescription[src]

impl WasmDescribe for RtcSessionDescription[src]

Auto Trait Implementations

impl RefUnwindSafe for RtcSessionDescription

impl !Send for RtcSessionDescription

impl !Sync for RtcSessionDescription

impl Unpin for RtcSessionDescription

impl UnwindSafe for RtcSessionDescription

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.