#[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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChromaMode
Source§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
impl Eq for ChromaMode
Source§impl PartialEq for ChromaMode
impl PartialEq for ChromaMode
Source§fn eq(&self, other: &ChromaMode) -> bool
fn eq(&self, other: &ChromaMode) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.