Implement Clone for Copy types.

This commit is contained in:
Ms2ger 2015-04-28 19:42:46 +02:00
parent b6fc83cf2b
commit 903305416a
53 changed files with 105 additions and 105 deletions

View file

@ -33,14 +33,14 @@ use url::Url;
use std::collections::HashMap;
#[derive(Copy, PartialEq)]
#[derive(Copy, Clone, PartialEq)]
#[jstraceable]
pub enum ListenerPhase {
Capturing,
Bubbling,
}
#[derive(Copy, PartialEq)]
#[derive(Copy, Clone, PartialEq)]
#[jstraceable]
pub enum EventTargetTypeId {
Node(NodeTypeId),
@ -51,7 +51,7 @@ pub enum EventTargetTypeId {
XMLHttpRequestEventTarget(XMLHttpRequestEventTargetTypeId)
}
#[derive(Copy, PartialEq)]
#[derive(Copy, Clone, PartialEq)]
#[jstraceable]
pub enum EventListenerType {
Additive(EventListener),
@ -67,7 +67,7 @@ impl EventListenerType {
}
}
#[derive(Copy, PartialEq)]
#[derive(Copy, Clone, PartialEq)]
#[jstraceable]
#[privatize]
pub struct EventListenerEntry {