diff options
author | RazrFalcon <razrfalcon@gmail.com> | 2018-12-24 20:20:33 +0200 |
---|---|---|
committer | RazrFalcon <razrfalcon@gmail.com> | 2018-12-24 20:20:33 +0200 |
commit | 77baf5cd20ec9aed1419a1c66f971f6d76137401 (patch) | |
tree | 4295be07dac4c7962d5a69062130eb69e4d815ef /usvg/src | |
parent | 78683370cd41ae10dcc426f2c3237e2bb55e9820 (diff) |
Build fixed.
Diffstat (limited to 'usvg/src')
-rw-r--r-- | usvg/src/tree/attributes.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/usvg/src/tree/attributes.rs b/usvg/src/tree/attributes.rs index 516bc76..0654b37 100644 --- a/usvg/src/tree/attributes.rs +++ b/usvg/src/tree/attributes.rs @@ -580,3 +580,14 @@ pub struct PathMarker { /// So we have to store it separately. pub stroke: Option<StrokeWidth>, } + +impl Default for PathMarker { + fn default() -> Self { + PathMarker { + start: None, + mid: None, + end: None, + stroke: None, + } + } +} |