Skip to main content

css_ast/types/
dashed_ident.rs

1use super::prelude::*;
2
3/// <https://drafts.csswg.org/css-values/#dashed-idents>
4///
5/// Wraps `T![DashedIdent]`, but exists for the purposes of Visitable/VisitableMut.
6#[derive(
7	IntoCursor, ToSpan, SemanticEq, Parse, Peek, ToCursors, Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
8)]
9#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
10#[cfg_attr(feature = "visitable", derive(csskit_derives::Visitable), visit(self))]
11#[derive(csskit_derives::NodeWithMetadata)]
12pub struct DashedIdent(T![DashedIdent]);