Merge pull request #2619 from edwloef/master
Derive `Default` for `iced_wgpu::geometry::Cache`
This commit is contained in:
commit
40abed6e5c
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ pub enum Geometry {
|
|||
Cached(Cache),
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
#[derive(Debug, Clone, Default)]
|
||||
pub struct Cache {
|
||||
pub meshes: Option<triangle::Cache>,
|
||||
pub images: Option<Arc<[Image]>>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue