#[non_exhaustive]#[repr(u8)]pub enum CameraEventType {
Show 13 variants
VideoStart = 0,
VideoSplit = 1,
VideoEnd = 2,
PhotoTaken = 3,
VideoSecondStreamStart = 4,
VideoSecondStreamSplit = 5,
VideoSecondStreamEnd = 6,
VideoSplitStart = 7,
VideoSecondStreamSplitStart = 8,
VideoPause = 11,
VideoSecondStreamPause = 12,
VideoResume = 13,
VideoSecondStreamResume = 14,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
VideoStart = 0
VideoSplit = 1
VideoEnd = 2
PhotoTaken = 3
VideoSecondStreamStart = 4
VideoSecondStreamSplit = 5
VideoSecondStreamEnd = 6
VideoSplitStart = 7
VideoSecondStreamSplitStart = 8
VideoPause = 11
VideoSecondStreamPause = 12
VideoResume = 13
VideoSecondStreamResume = 14
Implementations§
Trait Implementations§
Source§impl Clone for CameraEventType
impl Clone for CameraEventType
Source§fn clone(&self) -> CameraEventType
fn clone(&self) -> CameraEventType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CameraEventType
impl Debug for CameraEventType
Source§impl Hash for CameraEventType
impl Hash for CameraEventType
Source§impl PartialEq for CameraEventType
impl PartialEq for CameraEventType
Source§fn eq(&self, other: &CameraEventType) -> bool
fn eq(&self, other: &CameraEventType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CameraEventType
impl Eq for CameraEventType
impl StructuralPartialEq for CameraEventType
Auto Trait Implementations§
impl Freeze for CameraEventType
impl RefUnwindSafe for CameraEventType
impl Send for CameraEventType
impl Sync for CameraEventType
impl Unpin for CameraEventType
impl UnsafeUnpin for CameraEventType
impl UnwindSafe for CameraEventType
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