Enum libcamera::controls::LensShadingMapMode
source · #[repr(i32)]pub enum LensShadingMapMode {
Off = 0,
On = 1,
}
Expand description
Control to report if the lens shading map is available. Currently identical to ANDROID_STATISTICS_LENS_SHADING_MAP_MODE.
Variants§
Trait Implementations§
source§impl Clone for LensShadingMapMode
impl Clone for LensShadingMapMode
source§fn clone(&self) -> LensShadingMapMode
fn clone(&self) -> LensShadingMapMode
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 ControlEntry for LensShadingMapMode
impl ControlEntry for LensShadingMapMode
source§impl Debug for LensShadingMapMode
impl Debug for LensShadingMapMode
source§impl From<LensShadingMapMode> for ControlValue
impl From<LensShadingMapMode> for ControlValue
source§fn from(val: LensShadingMapMode) -> Self
fn from(val: LensShadingMapMode) -> Self
Converts to this type from the input type.
source§impl From<LensShadingMapMode> for i32
impl From<LensShadingMapMode> for i32
source§fn from(enum_value: LensShadingMapMode) -> Self
fn from(enum_value: LensShadingMapMode) -> Self
Converts to this type from the input type.
source§impl PartialEq for LensShadingMapMode
impl PartialEq for LensShadingMapMode
source§impl TryFrom<ControlValue> for LensShadingMapMode
impl TryFrom<ControlValue> for LensShadingMapMode
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<i32> for LensShadingMapMode
impl TryFrom<i32> for LensShadingMapMode
source§impl TryFromPrimitive for LensShadingMapMode
impl TryFromPrimitive for LensShadingMapMode
impl Control for LensShadingMapMode
impl Copy for LensShadingMapMode
impl Eq for LensShadingMapMode
impl StructuralPartialEq for LensShadingMapMode
Auto Trait Implementations§
impl Freeze for LensShadingMapMode
impl RefUnwindSafe for LensShadingMapMode
impl Send for LensShadingMapMode
impl Sync for LensShadingMapMode
impl Unpin for LensShadingMapMode
impl UnwindSafe for LensShadingMapMode
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
)