mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
Implement Clone for Copy types.
This commit is contained in:
parent
b6fc83cf2b
commit
903305416a
53 changed files with 105 additions and 105 deletions
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -7,7 +7,7 @@ use url::Url;
|
|||
|
||||
use util::str::DOMString;
|
||||
|
||||
#[derive(Copy)]
|
||||
#[derive(Copy, Clone)]
|
||||
pub enum StorageType {
|
||||
Session,
|
||||
Local
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue