euv_ui/component/camera/hook/enum.rs
1/// Represents the facing direction of the camera device.
2///
3/// Used to switch between the front (user-facing) and rear
4/// (environment-facing) cameras.
5#[derive(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
6pub enum EuvCameraFacing {
7 /// The user-facing (front) camera.
8 User,
9 /// The environment-facing (rear) camera.
10 #[default]
11 Environment,
12}