pub struct SpatialLayer {
pub enable_auto_alt_ref: bool,
pub target_bitrate: u32,
}Expand description
Configures the parameters for a spatial coding layer.
Fields§
§enable_auto_alt_ref: boolEnable auto alt reference flags for this spatial layer.
Defines if auto alt reference frame is enabled for this layer.
target_bitrate: u32Target bitrate for this spatial layer.
Defines the target coding bitrate to be used for this layer (in kbps).
Trait Implementations§
Source§impl Clone for SpatialLayer
impl Clone for SpatialLayer
Source§fn clone(&self) -> SpatialLayer
fn clone(&self) -> SpatialLayer
Returns a duplicate 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 SpatialLayer
impl Debug for SpatialLayer
Source§impl Hash for SpatialLayer
impl Hash for SpatialLayer
Source§impl Ord for SpatialLayer
impl Ord for SpatialLayer
Source§fn cmp(&self, other: &SpatialLayer) -> Ordering
fn cmp(&self, other: &SpatialLayer) -> 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 SpatialLayer
impl PartialEq for SpatialLayer
Source§impl PartialOrd for SpatialLayer
impl PartialOrd for SpatialLayer
impl Copy for SpatialLayer
impl Eq for SpatialLayer
impl StructuralPartialEq for SpatialLayer
Auto Trait Implementations§
impl Freeze for SpatialLayer
impl RefUnwindSafe for SpatialLayer
impl Send for SpatialLayer
impl Sync for SpatialLayer
impl Unpin for SpatialLayer
impl UnwindSafe for SpatialLayer
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