pub enum LensFacing {
Back,
Front,
External,
}Expand description
Which way a capture device points.
Variants§
Back
Away from the screen: the main photography cameras on a phone.
Front
At the person holding the device.
External
Not fixed to a screen at all: a webcam or another attached device.
Trait Implementations§
Source§impl Clone for LensFacing
impl Clone for LensFacing
Source§fn clone(&self) -> LensFacing
fn clone(&self) -> LensFacing
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 LensFacing
Source§impl Debug for LensFacing
impl Debug for LensFacing
Source§impl Default for LensFacing
impl Default for LensFacing
Source§fn default() -> LensFacing
fn default() -> LensFacing
Returns the “default value” for a type. Read more
impl Eq for LensFacing
Source§impl Hash for LensFacing
impl Hash for LensFacing
Source§impl PartialEq for LensFacing
impl PartialEq for LensFacing
impl StructuralPartialEq for LensFacing
Auto Trait Implementations§
impl Freeze for LensFacing
impl RefUnwindSafe for LensFacing
impl Send for LensFacing
impl Sync for LensFacing
impl Unpin for LensFacing
impl UnsafeUnpin for LensFacing
impl UnwindSafe for LensFacing
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