Trait swc_core::css::parser::Parse

source ·
pub trait Parse<T> {
    // Required method
    fn parse(&mut self) -> Result<T, Error>;
}
Available on crate features __css and css_parser only.

Required Methods§

source

fn parse(&mut self) -> Result<T, Error>

Implementors§

source§

impl<I> Parse<Vec<DeclarationOrAtRule>> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<Vec<Rule>> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<Vec<StyleBlock>> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<AbsoluteColorBase> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<AlphaValue> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<AnPlusB> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<Angle> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<AtRule> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<AttributeSelector> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<AttributeSelectorMatcher> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<AttributeSelectorModifier> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<AttributeSelectorValue> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<CalcOperator> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<CalcProduct> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<CalcSum> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<CalcValue> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<ClassSelector> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<CmykComponent> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<Color> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<Combinator> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<ComplexSelector> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<ComponentValue> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<CompoundSelector> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<CompoundSelectorList> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<ContainerCondition> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<ContainerName> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<ContainerQuery> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<ContainerQueryAnd> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<ContainerQueryNot> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<ContainerQueryOr> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<CustomHighlightName> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<CustomIdent> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<CustomMediaQuery> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<CustomPropertyName> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<DashedIdent> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<Declaration> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<Delimiter> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<Dimension> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<DocumentPreludeMatchingFunction> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<ExtensionName> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<FamilyName> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<Flex> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<FontFeatureValuesPrelude> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<ForgivingRelativeSelectorList> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<ForgivingSelectorList> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<Frequency> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<Function> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<GeneralEnclosed> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<HexColor> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<Hue> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<IdSelector> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<Ident> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<ImportConditions> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<Integer> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<KeyframeSelector> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<KeyframesName> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<LayerName> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<Length> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<ListOfComponentValues> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<MediaAnd> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<MediaCondition> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<MediaConditionWithoutOr> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<MediaFeature> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<MediaFeatureValue> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<MediaInParens> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<MediaNot> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<MediaOr> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<MediaQuery> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<MediaQueryList> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<MediaType> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<NamespacePrefix> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<Number> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<PageSelector> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<PageSelectorList> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<PageSelectorPseudo> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<PageSelectorType> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<Percentage> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<PseudoClassSelector> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<PseudoElementSelector> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<QualifiedRule> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<QueryInParens> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<RelativeSelector> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<RelativeSelectorList> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<Resolution> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<ScopeRange> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<SelectorList> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<SimpleBlock> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<SizeFeature> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<SizeFeatureValue> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<Str> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<Stylesheet> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<SubclassSelector> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<SupportsAnd> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<SupportsCondition> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<SupportsFeature> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<SupportsInParens> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<SupportsNot> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<SupportsOr> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<Time> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<TypeSelector> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<UnicodeRange> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<UnknownDimension> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<Url> for Parser<I>
where I: ParserInput,

source§

impl<I> Parse<WqName> for Parser<I>
where I: ParserInput,

source§

impl<T, P> Parse<Box<T>> for P
where P: Parse<T>,