diff options
Diffstat (limited to 'graphics/src/widget/canvas')
-rw-r--r-- | graphics/src/widget/canvas/path/builder.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics/src/widget/canvas/path/builder.rs b/graphics/src/widget/canvas/path/builder.rs index 2f1f85a0..05316d8a 100644 --- a/graphics/src/widget/canvas/path/builder.rs +++ b/graphics/src/widget/canvas/path/builder.rs @@ -151,3 +151,9 @@ impl Builder { } } } + +impl Default for Builder { + fn default() -> Self { + Self::new() + } +} |