pub enum CameraFacing {
Front,
Back,
External,
}Expand description
Which way a camera looks.
Variants§
Front
At the user: a phone’s selfie camera, a laptop’s.
Back
Away from the user: a phone’s main camera.
External
A camera the system cannot say of: one plugged in, or on another device.
Trait Implementations§
Source§impl Clone for CameraFacing
impl Clone for CameraFacing
impl Copy for CameraFacing
Source§impl Debug for CameraFacing
impl Debug for CameraFacing
impl Eq for CameraFacing
Source§impl PartialEq for CameraFacing
impl PartialEq for CameraFacing
impl StructuralPartialEq for CameraFacing
Auto Trait Implementations§
impl Freeze for CameraFacing
impl RefUnwindSafe for CameraFacing
impl Send for CameraFacing
impl Sync for CameraFacing
impl Unpin for CameraFacing
impl UnsafeUnpin for CameraFacing
impl UnwindSafe for CameraFacing
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.