ailloli_ui_core/ids/image_id.rs
1//! Cached image-resource identity.
2
3/// Opaque numeric handle for a cached GPU image resource.
4///
5/// Zero has no special meaning at this type layer.
6///
7/// # Examples
8///
9/// ```
10/// use ailloli_ui_core::ImageId;
11/// assert_eq!(ImageId(7).0, 7);
12/// ```
13#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
14pub struct ImageId(pub u64);