mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +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
|
@ -57,7 +57,7 @@ pub struct PaintContext<'a> {
|
|||
pub transient_clip: Option<ClippingRegion>,
|
||||
}
|
||||
|
||||
#[derive(Copy)]
|
||||
#[derive(Copy, Clone)]
|
||||
enum Direction {
|
||||
Top,
|
||||
Left,
|
||||
|
@ -65,7 +65,7 @@ enum Direction {
|
|||
Bottom
|
||||
}
|
||||
|
||||
#[derive(Copy)]
|
||||
#[derive(Copy, Clone)]
|
||||
enum DashSize {
|
||||
DottedBorder = 1,
|
||||
DashedBorder = 3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue