pub struct ConsumerLayers {
pub spatial_layer: u8,
pub temporal_layer: Option<u8>,
}
Expand description
Spatial/temporal layers of the consumer.
Fields§
§spatial_layer: u8
The spatial layer index (from 0 to N).
temporal_layer: Option<u8>
The temporal layer index (from 0 to N).
Trait Implementations§
Source§impl Clone for ConsumerLayers
impl Clone for ConsumerLayers
Source§fn clone(&self) -> ConsumerLayers
fn clone(&self) -> ConsumerLayers
Returns a copy of the value. Read more
1.0.0 · 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 ConsumerLayers
impl Debug for ConsumerLayers
Source§impl<'de> Deserialize<'de> for ConsumerLayers
impl<'de> Deserialize<'de> for ConsumerLayers
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
Source§impl Hash for ConsumerLayers
impl Hash for ConsumerLayers
Source§impl Ord for ConsumerLayers
impl Ord for ConsumerLayers
Source§fn cmp(&self, other: &ConsumerLayers) -> Ordering
fn cmp(&self, other: &ConsumerLayers) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ConsumerLayers
impl PartialEq for ConsumerLayers
Source§impl PartialOrd for ConsumerLayers
impl PartialOrd for ConsumerLayers
Source§impl Serialize for ConsumerLayers
impl Serialize for ConsumerLayers
impl Copy for ConsumerLayers
impl Eq for ConsumerLayers
impl StructuralPartialEq for ConsumerLayers
Auto Trait Implementations§
impl Freeze for ConsumerLayers
impl RefUnwindSafe for ConsumerLayers
impl Send for ConsumerLayers
impl Sync for ConsumerLayers
impl Unpin for ConsumerLayers
impl UnwindSafe for ConsumerLayers
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