Derive Default for iced_wgpu::geometry::Cache
This commit is contained in:
parent
75548373a7
commit
a5c42d4cb1
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ pub enum Geometry {
|
||||||
Cached(Cache),
|
Cached(Cache),
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone, Default)]
|
||||||
pub struct Cache {
|
pub struct Cache {
|
||||||
pub meshes: Option<triangle::Cache>,
|
pub meshes: Option<triangle::Cache>,
|
||||||
pub images: Option<Arc<[Image]>>,
|
pub images: Option<Arc<[Image]>>,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue