Remove #[compute(clone)]

This commit is contained in:
Anthony Ramine 2018-03-09 15:45:34 +01:00
parent 92068ca540
commit 2efd06c12d
6 changed files with 7 additions and 27 deletions

View file

@ -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>>,

View file

@ -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,
}

View file

@ -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.