iced_wgpu 0.2.0

A wgpu renderer for Iced
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use iced_native::Color;

/// The style used to fill geometry.
#[derive(Debug, Clone, Copy)]
pub enum Fill {
    /// Fill with a color.
    Color(Color),
}

impl Default for Fill {
    fn default() -> Fill {
        Fill::Color(Color::BLACK)
    }
}