css_ast/values/view_transitions/
mod.rs1#![allow(warnings)]
2mod impls;
5use super::prelude::*;
6use impls::*;
7#[syntax(" none | <custom-ident>+ ")]
19#[derive(
20 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
21)]
22#[declaration_metadata(
23 initial = "none",
24 applies_to = Elements,
25 animation_type = Discrete,
26 property_group = ViewTransitions,
27 computed_value_type = AsSpecified,
28 canonical_order = "per grammar",
29)]
30#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
31#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.view-transition-class"))]
32#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
33pub struct ViewTransitionClassStyleValue<'a>;
34
35#[syntax(" normal | contain | nearest | <custom-ident> ")]
45#[derive(
46 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
47)]
48#[declaration_metadata(
49 initial = "normal",
50 applies_to = Elements,
51 animation_type = Discrete,
52 property_group = ViewTransitions,
53 computed_value_type = AsSpecified,
54 canonical_order = "per grammar",
55)]
56#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
57#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.view-transition-group"))]
58#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
59pub enum ViewTransitionGroupStyleValue {}
60
61#[syntax(" none | <custom-ident> ")]
73#[derive(
74 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
75)]
76#[declaration_metadata(
77 initial = "none",
78 applies_to = Elements,
79 animation_type = Discrete,
80 property_group = ViewTransitions,
81 computed_value_type = AsSpecified,
82 canonical_order = "per grammar",
83)]
84#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
85#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.view-transition-name"))]
86#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
87pub struct ViewTransitionNameStyleValue;