pub enum Level {
Show 18 variants
L1,
L2,
L2_1,
L3,
L3_1,
L4,
L4_1,
L5,
L5_1,
L5_2,
L6,
L6_1,
L6_2,
L6_3,
L7,
L7_1,
L7_2,
L8_5,
}Variants§
L1
L2
L2_1
L3
L3_1
L4
L4_1
L5
L5_1
L5_2
L6
L6_1
L6_2
L6_3
L7
L7_1
L7_2
L8_5
Everything goes when you hit 8.5
Trait Implementations§
impl Copy for Level
impl Eq for Level
Source§impl From<usize> for Level
HEVC spec states that the level is a multiple of 30
“general_level_idc and sub_layer_level_idc[ i ] shall be set equal to a value of 30 times the level number specified in able A.8.”
impl From<usize> for Level
HEVC spec states that the level is a multiple of 30 “general_level_idc and sub_layer_level_idc[ i ] shall be set equal to a value of 30 times the level number specified in able A.8.”
Source§impl Ord for Level
impl Ord for Level
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Level
impl PartialOrd for Level
impl StructuralPartialEq for Level
Auto Trait Implementations§
impl Freeze for Level
impl RefUnwindSafe for Level
impl Send for Level
impl Sync for Level
impl Unpin for Level
impl UnsafeUnpin for Level
impl UnwindSafe for Level
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