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

@ -16,7 +16,7 @@ pub trait ImageResponder : Send {
}
/// The current state of an image in the cache.
#[derive(PartialEq, Copy)]
#[derive(PartialEq, Copy, Clone)]
pub enum ImageState {
Pending,
LoadError,

View file

@ -192,7 +192,7 @@ impl Metadata {
}
/// The creator of a given cookie
#[derive(PartialEq, Copy)]
#[derive(PartialEq, Copy, Clone)]
pub enum CookieSource {
/// An HTTP API
HTTP,

View file

@ -7,7 +7,7 @@ use url::Url;
use util::str::DOMString;
#[derive(Copy)]
#[derive(Copy, Clone)]
pub enum StorageType {
Session,
Local