summaryrefslogtreecommitdiffstats
path: root/wgpu/src/primitive.rs
blob: 04b2e99f49bfbfdbff08849895d5ba9f6778abe7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use iced_native::Rectangle;

#[derive(Debug, Clone)]
pub enum Primitive {
    None,
    Group {
        primitives: Vec<Primitive>,
    },
    Text {
        content: String,
        bounds: Rectangle,
        size: f32,
    },
}