| 70 | /// Represents an image with defined dimensions and data. |
| 71 | #[derive(Debug, Clone)] |
| 72 | pub struct Image { |
| 73 | /// Background color |
| 74 | pub background_color: Color, |
| 75 | /// The corner radii for rounded border edges. |
| 76 | pub corner_radii: CornerRadii, |
| 77 | /// A reference to the image source data. |
| 78 | pub data: ImageSource, |
| 79 | } |
| 80 | |
| 81 | /// Represents a custom element with a background color, corner radii, and associated data. |
| 82 | #[derive(Debug, Clone)] |
no outgoing calls
no test coverage detected