pub enum CodecLevel {
Level30,
Level31,
Level40,
Level41,
Level50,
Level51,
Level52,
}Expand description
H.264/HEVC codec conformance level.
Variants§
Level30
Level 3.0 – up to 720p30.
Level31
Level 3.1 – up to 720p60 / 1080p30.
Level40
Level 4.0 – up to 1080p30 high-quality.
Level41
Level 4.1 – up to 1080p60.
Level50
Level 5.0 – up to 2160p30.
Level51
Level 5.1 – up to 2160p60.
Level52
Level 5.2 – 2160p120 / 8K30.
Implementations§
Source§impl CodecLevel
impl CodecLevel
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 · 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 Ord for CodecLevel
impl Ord for CodecLevel
Source§fn cmp(&self, other: &CodecLevel) -> Ordering
fn cmp(&self, other: &CodecLevel) -> 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 CodecLevel
impl PartialEq for CodecLevel
Source§impl PartialOrd for CodecLevel
impl PartialOrd for CodecLevel
impl Copy for CodecLevel
impl Eq 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more