Skip to content

Derive Default for iced_wgpu::geometry::Cache#2619

Merged
hecrj merged 1 commit intoiced-rs:masterfrom
edwloef:master
Oct 2, 2024
Merged

Derive Default for iced_wgpu::geometry::Cache#2619
hecrj merged 1 commit intoiced-rs:masterfrom
edwloef:master

Conversation

@edwloef
Copy link
Contributor

@edwloef edwloef commented Sep 30, 2024

This enables deriving Default if holding a Cache in your widget state. Cache::default() then creates an empty Cache, instead of having to manually create it in a Default impl.

@hecrj hecrj added this to the 0.14 milestone Oct 2, 2024
@hecrj hecrj added feature New feature or request wgpu addition labels Oct 2, 2024
@hecrj hecrj changed the title derive Default for iced_wgpu::geoemtry::Cache Derive Default for iced_wgpu::geometry::Cache Oct 2, 2024
@hecrj hecrj enabled auto-merge October 2, 2024 13:25
@hecrj hecrj merged commit 40abed6 into iced-rs:master Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

addition feature New feature or request wgpu

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments