css_ast/values/pointer_animations/
mod.rs1#![allow(warnings)]
5mod impls;
8use super::prelude::*;
9use impls::*;
10#[syntax(" [ normal | [ <length-percentage> | <timeline-range-center-subject> <length-percentage>? ] ]# ")]
20#[derive(
21 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
22)]
23#[declaration_metadata(
24 initial = "normal",
25 applies_to = Elements,
26 percentages = Unknown,
27 property_group = PointerAnimations,
28 computed_value_type = Unknown,
29 canonical_order = "per grammar",
30)]
31#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
32#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.animation-range-center"))]
33#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
34#[derive(csskit_derives::NodeWithMetadata)]
35pub struct AnimationRangeCenterStyleValue<'a>;
36
37#[syntax(" [ <'pointer-timeline-name'> <'pointer-timeline-axis'>? ]# ")]
47#[derive(
48 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
49)]
50#[declaration_metadata(
51 initial = "see individual properties",
52 inherits = Unknown,
53 applies_to = Elements,
54 animation_type = Unknown,
55 percentages = Unknown,
56 property_group = PointerAnimations,
57 computed_value_type = Unknown,
58 canonical_order = "per grammar",
59)]
60#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
61#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.pointer-timeline"))]
62#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
63#[derive(csskit_derives::NodeWithMetadata)]
64pub struct PointerTimelineStyleValue<'a>;
65
66#[syntax(" [ block | inline | x | y ]# ")]
76#[derive(
77 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
78)]
79#[declaration_metadata(
80 initial = "block",
81 applies_to = Elements,
82 property_group = PointerAnimations,
83 computed_value_type = Unknown,
84 canonical_order = "per grammar",
85)]
86#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
87#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.pointer-timeline-axis"))]
88#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
89#[derive(csskit_derives::NodeWithMetadata)]
90pub struct PointerTimelineAxisStyleValue<'a>;
91
92#[syntax(" [ none | <dashed-ident> ]# ")]
102#[derive(
103 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
104)]
105#[declaration_metadata(
106 initial = "none",
107 applies_to = Elements,
108 property_group = PointerAnimations,
109 computed_value_type = Unknown,
110 canonical_order = "per grammar",
111)]
112#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
113#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.pointer-timeline-name"))]
114#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
115#[derive(csskit_derives::NodeWithMetadata)]
116pub struct PointerTimelineNameStyleValue<'a>;