From 334f2f78f80d02759befd653b2b3df47c088d76a Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sun, 11 Jun 2017 14:42:11 +0100 Subject: [PATCH] data_forms: Implement IntoElements. --- src/data_forms.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/data_forms.rs b/src/data_forms.rs index 4aba8528..70c2d3aa 100644 --- a/src/data_forms.rs +++ b/src/data_forms.rs @@ -309,6 +309,12 @@ impl From for Element { } } +impl IntoElements for DataForm { + fn into_elements(self, emitter: &mut ElementEmitter) { + emitter.append_child(self.into()); + } +} + #[cfg(test)] mod tests { use super::*;