pub struct VideoLayer {
pub id: u8,
pub name: String,
pub activate_above_kbps: u32,
}Expand description
One independently encoded stream of a video channel’s picture.
activate_above_kbps is the ABR target at or above which this layer is the
right choice. The lowest layer is the base and is always eligible, whatever
its value, so a link below every activation point still gets video.
Fields§
§id: u8§name: String§activate_above_kbps: u32Trait Implementations§
Source§impl Clone for VideoLayer
impl Clone for VideoLayer
Source§fn clone(&self) -> VideoLayer
fn clone(&self) -> VideoLayer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VideoLayer
impl Debug for VideoLayer
Source§impl<'de> Deserialize<'de> for VideoLayer
impl<'de> Deserialize<'de> for VideoLayer
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for VideoLayer
Source§impl PartialEq for VideoLayer
impl PartialEq for VideoLayer
Source§fn eq(&self, other: &VideoLayer) -> bool
fn eq(&self, other: &VideoLayer) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VideoLayer
impl Serialize for VideoLayer
impl StructuralPartialEq for VideoLayer
Auto Trait Implementations§
impl Freeze for VideoLayer
impl RefUnwindSafe for VideoLayer
impl Send for VideoLayer
impl Sync for VideoLayer
impl Unpin for VideoLayer
impl UnsafeUnpin for VideoLayer
impl UnwindSafe for VideoLayer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more