1 2 3 4 5 6 7 8 9 10 11 12 13
use super::*; impl Default for EdgeStyle { fn default() -> Self { Self { texture: Texture::Color(Color::BLACK), width: 1.0 } } } impl EdgeStyle { pub fn empty() -> Self { Self { texture: Texture::Color(Color::new(0, 0, 0, 0)), width: -1.0 } } }