Skip to main content

euv_ui/component/camera/hook/
enum.rs

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