euv-ui 0.34.0

Reusable UI component library for the euv framework, providing buttons, cards, modals, inputs, and more.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use super::*;

/// How an image is currently doing.
///
/// The status is what lets the component show a placeholder while the
/// picture is still on its way, and a readable message when it never
/// arrives.
#[derive(Clone, Copy, Debug, Default, Eq, PartialEq)]
pub enum EuvImageStatus {
    /// The picture has not reported itself yet.
    #[default]
    Loading,
    /// The picture is on screen.
    Loaded,
    /// The picture could not be loaded.
    Failed,
}