css_ast/values/link_params/
mod.rs

1// AUTO-GENERATED from w3c/csswg-drafts
2// Commit: https://github.com/w3c/csswg-drafts/commit/7e27ad7484307dfdbe9d0e18ad19d02859389688
3// Do not edit this file directly.
4#![allow(warnings)]
5//! https://drafts.csswg.org/css-link-params-1/
6
7mod impls;
8use super::prelude::*;
9use impls::*;
10/// Represents the style value for `link-parameters` as defined in [css-link-params-1](https://drafts.csswg.org/css-link-params-1/#link-parameters).
11///
12/// The grammar is defined as:
13///
14/// ```text,ignore
15/// none | <param()>#
16/// ```
17///
18/// https://drafts.csswg.org/css-link-params-1/#link-parameters
19#[syntax(" none | <param()># ")]
20#[derive(
21	Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
22)]
23#[declaration_metadata(
24    initial = "none",
25    applies_to = Elements|PseudoElements,
26    animation_type = Discrete,
27    property_group = LinkParams,
28    computed_value_type = AsSpecified,
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.link-parameters"))]
33#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
34#[derive(csskit_derives::NodeWithMetadata)]
35pub struct LinkParametersStyleValue<'a>;