#[repr(i8)]enum ChromaMode {
DC = 0,
V = 1,
H = 2,
TM = 3,
}
Variants§
DC = 0
Predict DC using row above and column to the left.
V = 1
Predict rows using row above.
H = 2
Predict columns using column to the left.
TM = 3
Propagate second differences.
Implementations§
Trait Implementations§
Source§impl Clone for ChromaMode
impl Clone for ChromaMode
Source§fn clone(&self) -> ChromaMode
fn clone(&self) -> ChromaMode
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 ChromaMode
impl Debug for ChromaMode
Source§impl Default for ChromaMode
impl Default for ChromaMode
Source§fn default() -> ChromaMode
fn default() -> ChromaMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for ChromaMode
impl PartialEq for ChromaMode
impl Copy for ChromaMode
impl Eq for ChromaMode
impl StructuralPartialEq for ChromaMode
Auto Trait Implementations§
impl Freeze for ChromaMode
impl RefUnwindSafe for ChromaMode
impl Send for ChromaMode
impl Sync for ChromaMode
impl Unpin for ChromaMode
impl UnwindSafe for ChromaMode
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