From 019a52aa22dd3159e44a4b77eb7924969a9e6c91 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Sat, 14 Mar 2015 18:48:08 +0100 Subject: impl Clone for Property --- src/vobject/lib.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/vobject/lib.rs b/src/vobject/lib.rs index f5b1b71..546fca6 100644 --- a/src/vobject/lib.rs +++ b/src/vobject/lib.rs @@ -39,6 +39,15 @@ impl Property { } } +impl Clone for Property { + fn clone(&self) -> Self { + Property { + params: self.params.clone(), + raw_value: self.raw_value.clone(), + prop_group: self.prop_group.clone() + } + } +} pub struct Component { /// The name of the component, such as `VCARD` or `VEVENT`. -- cgit v1.2.3