mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Opt out of bounds on type params for #[derive(ToAnimatedZero)]
This commit is contained in:
parent
6f7425059c
commit
ba12a344c6
4 changed files with 29 additions and 157 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue