Opt out of bounds on type params for #[derive(ToAnimatedZero)]

This commit is contained in:
Anthony Ramine 2018-03-11 14:53:33 +01:00
parent 6f7425059c
commit ba12a344c6
4 changed files with 29 additions and 157 deletions

View file

@ -35,6 +35,7 @@ pub struct SVGPaint<ColorType, UrlPaintServer> {
#[derive(Animate, Clone, ComputeSquaredDistance, Debug, MallocSizeOf, PartialEq)]
#[derive(ToAnimatedValue, ToAnimatedZero, ToComputedValue, ToCss)]
#[distance(no_bound(UrlPaintServer))]
#[zero(no_bound(UrlPaintServer))]
pub enum SVGPaintKind<ColorType, UrlPaintServer> {
/// `none`
#[animation(error)]