pub struct CodecLevel(/* private fields */);Expand description
Codec level constraining resolution, bitrate, and framerate.
Levels are codec-specific. For H.264/H.265 they map directly to the standard levels (e.g., 3.0, 4.1, 5.1).
Implementations§
Trait Implementations§
Source§impl Clone for CodecLevel
impl Clone for CodecLevel
Source§fn clone(&self) -> CodecLevel
fn clone(&self) -> CodecLevel
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 CodecLevel
impl Debug for CodecLevel
Source§impl<'de> Deserialize<'de> for CodecLevel
impl<'de> Deserialize<'de> for CodecLevel
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 Display for CodecLevel
impl Display for CodecLevel
impl Eq for CodecLevel
Source§impl Hash for CodecLevel
impl Hash for CodecLevel
Source§impl PartialEq for CodecLevel
impl PartialEq for CodecLevel
Source§impl Serialize for CodecLevel
impl Serialize for CodecLevel
impl StructuralPartialEq for CodecLevel
Auto Trait Implementations§
impl Freeze for CodecLevel
impl RefUnwindSafe for CodecLevel
impl Send for CodecLevel
impl Sync for CodecLevel
impl Unpin for CodecLevel
impl UnsafeUnpin for CodecLevel
impl UnwindSafe for CodecLevel
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