css_ast 0.0.25

CSS Abstract Syntax Trees with visitable nodes and style value types.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::prelude::*;
use crate::units::CSSFloat;

ranged_feature!(
	#[derive(ToCursors, ToSpan, SemanticEq, Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
	#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
	#[derive(csskit_derives::FeatureMetadata)]
	#[feature_metadata(CssAtomSet::_ODevicePixelRatio)]
	#[cfg_attr(feature = "visitable", derive(csskit_derives::Visitable), visit)]
#[derive(csskit_derives::NodeWithMetadata)]
	pub enum ODevicePixelRatioMediaFeature{CssAtomSet::_ODevicePixelRatio | CssAtomSet::_OMinDevicePixelRatio | CssAtomSet::_OMaxDevicePixelRatio, CSSFloat}
);