Implement Default for iced_wgpu::Primitive
This commit is contained in:
parent
bf74e6e7d4
commit
7163e1d8b6
1 changed files with 6 additions and 0 deletions
|
|
@ -64,3 +64,9 @@ pub enum Primitive {
|
||||||
content: Box<Primitive>,
|
content: Box<Primitive>,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl Default for Primitive {
|
||||||
|
fn default() -> Primitive {
|
||||||
|
Primitive::None
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue