#[repr(i8)]pub enum AngleDelta {
Minus3 = -3,
Minus2 = -2,
Minus1 = -1,
Zero = 0,
Plus1 = 1,
Plus2 = 2,
Plus3 = 3,
}Expand description
Angle delta for AV1 directional modes.
AV1 allows fine-tuning directional prediction angles by -3 to +3 steps of 3 degrees each, giving a range of -9 to +9 degrees.
Variants§
Minus3 = -3
-3 steps (-9 degrees)
Minus2 = -2
-2 steps (-6 degrees)
Minus1 = -1
-1 step (-3 degrees)
Zero = 0
No delta (0 degrees)
Plus1 = 1
+1 step (+3 degrees)
Plus2 = 2
+2 steps (+6 degrees)
Plus3 = 3
+3 steps (+9 degrees)
Implementations§
Source§impl AngleDelta
impl AngleDelta
Trait Implementations§
Source§impl Clone for AngleDelta
impl Clone for AngleDelta
Source§fn clone(&self) -> AngleDelta
fn clone(&self) -> AngleDelta
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 AngleDelta
impl Debug for AngleDelta
Source§impl Default for AngleDelta
impl Default for AngleDelta
Source§fn default() -> AngleDelta
fn default() -> AngleDelta
Returns the “default value” for a type. Read more
Source§impl PartialEq for AngleDelta
impl PartialEq for AngleDelta
impl Copy for AngleDelta
impl Eq for AngleDelta
impl StructuralPartialEq for AngleDelta
Auto Trait Implementations§
impl Freeze for AngleDelta
impl RefUnwindSafe for AngleDelta
impl Send for AngleDelta
impl Sync for AngleDelta
impl Unpin for AngleDelta
impl UnsafeUnpin for AngleDelta
impl UnwindSafe for AngleDelta
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<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