pub enum Residual {
Rice(ResidualCodingMethodPartitionedRice),
Rice2(ResidualCodingMethodPartitionedRice),
Reserved(bool),
}Expand description
<2> Residual coding method:
00 : partitioned Rice coding with 4-bit Rice parameter;
RESIDUAL_CODING_METHOD_PARTITIONED_RICE follows
01 : partitioned Rice coding with 5-bit Rice parameter;
RESIDUAL_CODING_METHOD_PARTITIONED_RICE2 follows
10-11 : reserved
Variants§
Rice(ResidualCodingMethodPartitionedRice)
Rice2(ResidualCodingMethodPartitionedRice)
Reserved(bool)
false: 10 true: 11
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Residual
impl RefUnwindSafe for Residual
impl Send for Residual
impl Sync for Residual
impl Unpin for Residual
impl UnwindSafe for Residual
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> 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