Enum libcamera::controls::AePrecaptureTrigger
source · #[repr(i32)]pub enum AePrecaptureTrigger {
Idle = 0,
Start = 1,
Cancel = 2,
}
Expand description
Control for AE metering trigger. Currently identical to ANDROID_CONTROL_AE_PRECAPTURE_TRIGGER.
Whether the camera device will trigger a precapture metering sequence when it processes this request.
Variants§
Idle = 0
The trigger is idle.
Start = 1
The pre-capture AE metering is started by the camera.
Cancel = 2
The camera will cancel any active or completed metering sequence. The AE algorithm is reset to its initial state.
Trait Implementations§
source§impl Clone for AePrecaptureTrigger
impl Clone for AePrecaptureTrigger
source§fn clone(&self) -> AePrecaptureTrigger
fn clone(&self) -> AePrecaptureTrigger
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 AePrecaptureTrigger
impl ControlEntry for AePrecaptureTrigger
source§impl Debug for AePrecaptureTrigger
impl Debug for AePrecaptureTrigger
source§impl From<AePrecaptureTrigger> for ControlValue
impl From<AePrecaptureTrigger> for ControlValue
source§fn from(val: AePrecaptureTrigger) -> Self
fn from(val: AePrecaptureTrigger) -> Self
Converts to this type from the input type.
source§impl From<AePrecaptureTrigger> for i32
impl From<AePrecaptureTrigger> for i32
source§fn from(enum_value: AePrecaptureTrigger) -> Self
fn from(enum_value: AePrecaptureTrigger) -> Self
Converts to this type from the input type.
source§impl PartialEq for AePrecaptureTrigger
impl PartialEq for AePrecaptureTrigger
source§impl TryFrom<ControlValue> for AePrecaptureTrigger
impl TryFrom<ControlValue> for AePrecaptureTrigger
source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<i32> for AePrecaptureTrigger
impl TryFrom<i32> for AePrecaptureTrigger
source§impl TryFromPrimitive for AePrecaptureTrigger
impl TryFromPrimitive for AePrecaptureTrigger
impl Control for AePrecaptureTrigger
impl Copy for AePrecaptureTrigger
impl Eq for AePrecaptureTrigger
impl StructuralPartialEq for AePrecaptureTrigger
Auto Trait Implementations§
impl Freeze for AePrecaptureTrigger
impl RefUnwindSafe for AePrecaptureTrigger
impl Send for AePrecaptureTrigger
impl Sync for AePrecaptureTrigger
impl Unpin for AePrecaptureTrigger
impl UnwindSafe for AePrecaptureTrigger
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
)