#[repr(i32)]pub enum ColorCorrectionAberrationMode {
ColorCorrectionAberrationOff = 0,
ColorCorrectionAberrationFast = 1,
ColorCorrectionAberrationHighQuality = 2,
}
Expand description
Control to select the color correction aberration mode. Currently identical to ANDROID_COLOR_CORRECTION_ABERRATION_MODE.
Mode of operation for the chromatic aberration correction algorithm.
Variants§
ColorCorrectionAberrationOff = 0
No aberration correction is applied.
ColorCorrectionAberrationFast = 1
Aberration correction will not slow down the frame rate.
ColorCorrectionAberrationHighQuality = 2
High quality aberration correction which might reduce the frame rate.
Trait Implementations§
source§impl Clone for ColorCorrectionAberrationMode
impl Clone for ColorCorrectionAberrationMode
source§fn clone(&self) -> ColorCorrectionAberrationMode
fn clone(&self) -> ColorCorrectionAberrationMode
Returns a copy 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 From<ColorCorrectionAberrationMode> for ControlValue
impl From<ColorCorrectionAberrationMode> for ControlValue
source§fn from(val: ColorCorrectionAberrationMode) -> Self
fn from(val: ColorCorrectionAberrationMode) -> Self
Converts to this type from the input type.
source§impl From<ColorCorrectionAberrationMode> for i32
impl From<ColorCorrectionAberrationMode> for i32
source§fn from(enum_value: ColorCorrectionAberrationMode) -> Self
fn from(enum_value: ColorCorrectionAberrationMode) -> Self
Converts to this type from the input type.
source§impl PartialEq for ColorCorrectionAberrationMode
impl PartialEq for ColorCorrectionAberrationMode
source§fn eq(&self, other: &ColorCorrectionAberrationMode) -> bool
fn eq(&self, other: &ColorCorrectionAberrationMode) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl TryFrom<ControlValue> for ColorCorrectionAberrationMode
impl TryFrom<ControlValue> for ColorCorrectionAberrationMode
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<i32> for ColorCorrectionAberrationMode
impl TryFrom<i32> for ColorCorrectionAberrationMode
source§impl TryFromPrimitive for ColorCorrectionAberrationMode
impl TryFromPrimitive for ColorCorrectionAberrationMode
impl Control for ColorCorrectionAberrationMode
impl Copy for ColorCorrectionAberrationMode
impl Eq for ColorCorrectionAberrationMode
impl StructuralPartialEq for ColorCorrectionAberrationMode
Auto Trait Implementations§
impl Freeze for ColorCorrectionAberrationMode
impl RefUnwindSafe for ColorCorrectionAberrationMode
impl Send for ColorCorrectionAberrationMode
impl Sync for ColorCorrectionAberrationMode
impl Unpin for ColorCorrectionAberrationMode
impl UnwindSafe for ColorCorrectionAberrationMode
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)