data_forms: Implement IntoElements.

This commit is contained in:
Emmanuel Gil Peyrot 2017-06-11 14:42:11 +01:00
parent 88a3f507f6
commit 334f2f78f8

View file

@ -309,6 +309,12 @@ impl From<DataForm> for Element {
}
}
impl IntoElements for DataForm {
fn into_elements(self, emitter: &mut ElementEmitter) {
emitter.append_child(self.into());
}
}
#[cfg(test)]
mod tests {
use super::*;