pub enum EuvCameraFacing {
User,
Environment,
}Expand description
Represents the facing direction of the camera device.
Used to switch between the front (user-facing) and rear (environment-facing) cameras.
Variants§
Trait Implementations§
Source§impl Clone for EuvCameraFacing
impl Clone for EuvCameraFacing
Source§fn clone(&self) -> EuvCameraFacing
fn clone(&self) -> EuvCameraFacing
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 moreimpl Copy for EuvCameraFacing
Source§impl Debug for EuvCameraFacing
impl Debug for EuvCameraFacing
Source§impl Default for EuvCameraFacing
impl Default for EuvCameraFacing
Source§fn default() -> EuvCameraFacing
fn default() -> EuvCameraFacing
Returns the “default value” for a type. Read more
impl Eq for EuvCameraFacing
Source§impl Hash for EuvCameraFacing
impl Hash for EuvCameraFacing
Source§impl Ord for EuvCameraFacing
impl Ord for EuvCameraFacing
Source§fn cmp(&self, other: &EuvCameraFacing) -> Ordering
fn cmp(&self, other: &EuvCameraFacing) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EuvCameraFacing
impl PartialEq for EuvCameraFacing
Source§fn eq(&self, other: &EuvCameraFacing) -> bool
fn eq(&self, other: &EuvCameraFacing) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for EuvCameraFacing
impl PartialOrd for EuvCameraFacing
impl StructuralPartialEq for EuvCameraFacing
Auto Trait Implementations§
impl Freeze for EuvCameraFacing
impl RefUnwindSafe for EuvCameraFacing
impl Send for EuvCameraFacing
impl Sync for EuvCameraFacing
impl Unpin for EuvCameraFacing
impl UnsafeUnpin for EuvCameraFacing
impl UnwindSafe for EuvCameraFacing
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