#[repr(u8)]pub enum PhotoMode {
Normal = 0,
Portrait = 1,
Landscape = 2,
NightView = 3,
Letter = 4,
}
Expand description
Photo mode settings.
See Camera::set_photo_mode()
to learn how to use this.
Variants§
Normal = 0
Normal mode.
Portrait = 1
Portrait mode.
Landscape = 2
Landscape mode.
NightView = 3
NightView mode.
Letter = 4
Letter mode.
Trait Implementations§
source§impl From<PhotoMode> for CAMU_PhotoMode
impl From<PhotoMode> for CAMU_PhotoMode
impl Copy for PhotoMode
impl Eq for PhotoMode
impl StructuralPartialEq for PhotoMode
Auto Trait Implementations§
impl RefUnwindSafe for PhotoMode
impl Send for PhotoMode
impl Sync for PhotoMode
impl Unpin for PhotoMode
impl UnwindSafe for PhotoMode
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more