Make all parsed types implement Clone.

This commit is contained in:
Emmanuel Gil Peyrot 2017-04-21 00:41:15 +01:00
commit 62d9385728
9 changed files with 21 additions and 21 deletions

View file

@ -4,13 +4,13 @@ use error::Error;
use ns;
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct URI {
pub type_: String,
pub uri: String,
}
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct MediaElement {
pub width: Option<usize>,
pub height: Option<usize>,