Struct mediasoup::scalability_modes::ScalabilityMode[][src]

pub struct ScalabilityMode {
    pub spatial_layers: u8,
    pub temporal_layers: u8,
    pub ksvc: bool,
}

Scalability mode.

Fields

spatial_layers: u8

Number of spatial layers.

temporal_layers: u8

Number of temporal layers.

ksvc: bool

K-SVC mode.

Trait Implementations

impl Clone for ScalabilityMode[src]

impl Copy for ScalabilityMode[src]

impl Debug for ScalabilityMode[src]

impl Default for ScalabilityMode[src]

impl<'de> Deserialize<'de> for ScalabilityMode[src]

impl Eq for ScalabilityMode[src]

impl FromStr for ScalabilityMode[src]

type Err = ParseScalabilityModeError

The associated error which can be returned from parsing.

impl Hash for ScalabilityMode[src]

impl Ord for ScalabilityMode[src]

impl PartialEq<ScalabilityMode> for ScalabilityMode[src]

impl PartialOrd<ScalabilityMode> for ScalabilityMode[src]

impl Serialize for ScalabilityMode[src]

impl StructuralEq for ScalabilityMode[src]

impl StructuralPartialEq for ScalabilityMode[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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.