data_forms: Implement IntoElements.
This commit is contained in:
parent
88a3f507f6
commit
334f2f78f8
1 changed files with 6 additions and 0 deletions
|
@ -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::*;
|
||||
|
|
Loading…
Reference in a new issue