euv-example 0.5.37

An example application demonstrating the euv UI framework with reactive signals, custom components, and WebAssembly.
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// Represents the facing direction of the camera device.
///
/// Used to switch between the front (user-facing) and rear
/// (environment-facing) cameras.
#[derive(Clone, Copy, PartialEq)]
pub(crate) enum CameraFacing {
    /// The user-facing (front) camera.
    User,
    /// The environment-facing (rear) camera.
    Environment,
}