mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Remove #[compute(clone)]
This commit is contained in:
parent
92068ca540
commit
2efd06c12d
6 changed files with 7 additions and 27 deletions
|
@ -388,7 +388,6 @@ pub struct TrackRepeat<L, I> {
|
|||
/// If there's no `<line-names>`, then it's represented by an empty vector.
|
||||
/// For N `<track-size>` values, there will be N+1 `<line-names>`, and so this vector's
|
||||
/// length is always one value more than that of the `<track-size>`.
|
||||
#[compute(clone)]
|
||||
pub line_names: Box<[Box<[CustomIdent]>]>,
|
||||
/// `<track-size>` values.
|
||||
pub track_sizes: Vec<TrackSize<L>>,
|
||||
|
|
|
@ -42,10 +42,8 @@ pub struct Gradient<LineDirection, Length, LengthOrPercentage, Position, Color,
|
|||
/// The color stops and interpolation hints.
|
||||
pub items: Vec<GradientItem<Color, LengthOrPercentage>>,
|
||||
/// True if this is a repeating gradient.
|
||||
#[compute(clone)]
|
||||
pub repeating: bool,
|
||||
/// Compatibility mode.
|
||||
#[compute(clone)]
|
||||
pub compat_mode: CompatMode,
|
||||
}
|
||||
|
||||
|
|
|
@ -267,7 +267,6 @@ pub enum TransformOperation<Angle, Number, Length, Integer, LengthOrPercentage>
|
|||
LengthOrPercentage,
|
||||
>,
|
||||
>,
|
||||
#[compute(clone)]
|
||||
progress: computed::Percentage,
|
||||
},
|
||||
/// A intermediate type for accumulation of mismatched transform lists.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue