#[allow(missing_docs)]
#[repr(u16)]
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
pub enum CssRuleType
{
Unknown = 0,
Style = 1,
Charset = 2,
Import = 3,
Media = 4,
FontFace = 5,
Page = 6,
Keyframes = 7,
Keyframe = 8,
Margin = 9,
Namespace = 10,
CounterStyle = 11,
Supports = 12,
Document = 13,
FontFeatureValues = 14,
Viewport = 15,
}
impl CssRuleType
{
#[inline(always)]
pub(crate) fn context(self, nestedRuleParser: &NestedRuleParser) -> ParserContext
{
nestedRuleParser.context_new_with_rule_type(self)
}
}