#[repr(i32)]pub enum ColorCorrectionAberrationMode {
ColorCorrectionAberrationOff,
ColorCorrectionAberrationFast,
ColorCorrectionAberrationHighQuality,
}
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
No aberration correction is applied.
ColorCorrectionAberrationFast
Aberration correction will not slow down the frame rate.
ColorCorrectionAberrationHighQuality
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<ColorCorrectionAberrationMode> for ColorCorrectionAberrationMode
impl PartialEq<ColorCorrectionAberrationMode> for ColorCorrectionAberrationMode
source§fn eq(&self, other: &ColorCorrectionAberrationMode) -> bool
fn eq(&self, other: &ColorCorrectionAberrationMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<ControlValue> for ColorCorrectionAberrationMode
impl TryFrom<ControlValue> for ColorCorrectionAberrationMode
§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 StructuralEq for ColorCorrectionAberrationMode
impl StructuralPartialEq for ColorCorrectionAberrationMode
Auto Trait Implementations§
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