Enum medea_jason::MediaKind[][src]

pub enum MediaKind {
    Audio,
    Video,
}

MediaStreamTrack.kind representation.

Variants

Audio

Audio track.

Video

Video track.

Implementations

impl MediaKind[src]

#[must_use]pub fn as_str(self) -> &'static str[src]

Returns string representation of a MediaKind.

Trait Implementations

impl Clone for MediaKind[src]

impl Copy for MediaKind[src]

impl Debug for MediaKind[src]

impl Display for MediaKind[src]

impl Eq for MediaKind[src]

impl From<&'_ TrackConstraints> for MediaKind[src]

impl FromWasmAbi for MediaKind[src]

type Abi = u32

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for MediaKind[src]

type Abi = u32

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl OptionFromWasmAbi for MediaKind[src]

impl OptionIntoWasmAbi for MediaKind[src]

impl PartialEq<MediaKind> for MediaKind[src]

impl StructuralEq for MediaKind[src]

impl StructuralPartialEq for MediaKind[src]

impl TryFrom<MediaDeviceKind> for MediaKind[src]

type Error = Error

The type returned in the event of a conversion error.

impl WasmDescribe for MediaKind[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> ToString for T where
    T: Display + ?Sized
[src]

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.

impl<E> WrapTraced<E> for E[src]