pub enum FlashMode {
Off,
Auto,
On,
}Expand description
What the light does when a still is captured.
Auto leaves the choice to the device’s exposure metering. A backend with
no flash reports false from Camera::set_flash and the application
hides the control.
Variants§
Trait Implementations§
impl Copy for FlashMode
impl Eq for FlashMode
impl StructuralPartialEq for FlashMode
Auto Trait Implementations§
impl Freeze for FlashMode
impl RefUnwindSafe for FlashMode
impl Send for FlashMode
impl Sync for FlashMode
impl Unpin for FlashMode
impl UnsafeUnpin for FlashMode
impl UnwindSafe for FlashMode
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