#[non_exhaustive]#[repr(u32)]pub enum CameraOrientation {
Front = 0,
Back = 1,
External = 2,
}
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.
Trait Implementations§
Source§impl AsRef<u32> for CameraOrientation
impl AsRef<u32> for CameraOrientation
Source§impl Clone for CameraOrientation
impl Clone for CameraOrientation
Source§fn clone(&self) -> CameraOrientation
fn clone(&self) -> CameraOrientation
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 Debug for CameraOrientation
impl Debug for CameraOrientation
Source§impl Deref for CameraOrientation
impl Deref for CameraOrientation
Source§impl Display for CameraOrientation
impl Display for CameraOrientation
Source§impl From<CameraOrientation> for u32
impl From<CameraOrientation> for u32
Source§fn from(data: CameraOrientation) -> Self
fn from(data: CameraOrientation) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CameraOrientation
impl PartialEq for CameraOrientation
Source§impl TryFrom<u32> for CameraOrientation
impl TryFrom<u32> for CameraOrientation
impl Copy for CameraOrientation
impl Eq for CameraOrientation
impl StructuralPartialEq for CameraOrientation
Auto Trait Implementations§
impl Freeze for CameraOrientation
impl RefUnwindSafe for CameraOrientation
impl Send for CameraOrientation
impl Sync for CameraOrientation
impl Unpin for CameraOrientation
impl UnwindSafe for CameraOrientation
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