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

@ -145,7 +145,7 @@ enum CompositionRequest {
CompositeNow(CompositingReason),
}
#[derive(Copy, PartialEq, Debug)]
#[derive(Clone, Copy, PartialEq, Debug)]
enum ShutdownState {
NotShuttingDown,
ShuttingDown,

View file

@ -95,7 +95,7 @@ impl ScriptListener for Box<CompositorProxy+'static+Send> {
}
/// Information about each layer that the compositor keeps.
#[derive(Copy)]
#[derive(Clone, Copy)]
pub struct LayerProperties {
pub pipeline_id: PipelineId,
pub epoch: Epoch,

View file

@ -170,7 +170,7 @@ pub struct SendableFrameTree {
pub children: Vec<SendableFrameTree>,
}
#[derive(Copy)]
#[derive(Clone, Copy)]
enum ExitPipelineMode {
Normal,
Force,