swc_css_codegen

Trait Emit

source
pub trait Emit<T>
where T: Spanned,
{ // Required method fn emit(&mut self, node: &T) -> Result; }
Expand description

§Type parameters

§T

The type of the ast node.

Required Methods§

source

fn emit(&mut self, node: &T) -> Result

Implementors§

source§

impl<T, E> Emit<Option<T>> for E
where E: Emit<T>, T: Spanned,

source§

impl<T, E> Emit<&T> for E
where E: Emit<T>, T: Spanned,

source§

impl<T, E> Emit<Box<T>> for E
where E: Emit<T>, T: Spanned,

source§

impl<W> Emit<AbsoluteColorBase> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<AlphaValue> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<AnPlusB> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<AnPlusBNotation> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<Angle> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<AnglePercentage> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<AnyNamespace> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<AtRule> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<AtRuleName> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<AtRulePrelude> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<AttributeSelector> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<AttributeSelectorMatcher> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<AttributeSelectorModifier> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<AttributeSelectorValue> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<CalcOperator> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<CalcProduct> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<CalcProductOrOperator> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<CalcSum> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<CalcValue> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<CalcValueOrOperator> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<ClassSelector> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<CmykComponent> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<Color> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<ColorProfileName> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<Combinator> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<ComplexSelector> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<ComplexSelectorChildren> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<ComponentValue> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<CompoundSelector> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<CompoundSelectorList> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<ContainerCondition> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<ContainerName> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<ContainerQuery> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<ContainerQueryAnd> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<ContainerQueryNot> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<ContainerQueryOr> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<ContainerQueryType> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<CustomHighlightName> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<CustomIdent> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<CustomMediaQuery> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<CustomMediaQueryMediaType> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<CustomPropertyName> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<DashedIdent> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<Declaration> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<DeclarationName> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<DeclarationOrAtRule> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<Delimiter> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<Dimension> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<DocumentPrelude> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<DocumentPreludeMatchingFunction> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<ExtensionName> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<FamilyName> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<Flex> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<FontFeatureValuesPrelude> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<ForgivingComplexSelector> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<ForgivingRelativeSelector> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<ForgivingRelativeSelectorList> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<ForgivingSelectorList> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<Frequency> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<FrequencyPercentage> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<Function> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<FunctionName> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<GeneralEnclosed> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<HexColor> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<Hue> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<IdSelector> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<Ident> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<ImportConditions> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<ImportHref> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<ImportLayerName> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<ImportPrelude> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<ImportantFlag> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<Integer> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<KeyframeBlock> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<KeyframeSelector> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<KeyframesName> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<KeyframesPseudoFunction> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<KeyframesPseudoPrefix> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<LayerName> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<LayerNameList> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<LayerPrelude> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<Length> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<LengthPercentage> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<ListOfComponentValues> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<MediaAnd> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<MediaCondition> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<MediaConditionAllType> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<MediaConditionType> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<MediaConditionWithoutOr> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<MediaConditionWithoutOrType> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<MediaFeature> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<MediaFeatureBoolean> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<MediaFeatureName> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<MediaFeaturePlain> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<MediaFeatureRange> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<MediaFeatureRangeInterval> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<MediaFeatureValue> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<MediaInParens> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<MediaNot> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<MediaOr> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<MediaQuery> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<MediaQueryList> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<MediaType> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<NamedNamespace> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<Namespace> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<NamespacePrefix> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<NamespacePrelude> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<NamespacePreludeUri> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<NestingSelector> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<Number> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<PageSelector> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<PageSelectorList> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<PageSelectorPseudo> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<PageSelectorType> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<Percentage> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<PseudoClassSelector> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<PseudoClassSelectorChildren> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<PseudoElementSelector> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<PseudoElementSelectorChildren> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<QualifiedRule> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<QualifiedRulePrelude> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<QueryInParens> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<Ratio> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<RelativeSelector> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<RelativeSelectorList> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<Resolution> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<Rule> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<ScopeRange> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<SelectorList> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<SequenceOfCustomIdents> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<SimpleBlock> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<SizeFeature> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<SizeFeatureBoolean> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<SizeFeatureName> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<SizeFeaturePlain> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<SizeFeatureRange> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<SizeFeatureRangeInterval> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<SizeFeatureValue> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<Str> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<StyleBlock> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<Stylesheet> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<SubclassSelector> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<SupportsAnd> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<SupportsCondition> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<SupportsConditionType> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<SupportsFeature> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<SupportsInParens> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<SupportsNot> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<SupportsOr> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<TagNameSelector> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<Time> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<TimePercentage> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<TokenAndSpan> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<TypeSelector> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<UnicodeRange> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<UniversalSelector> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<UnknownDimension> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<Url> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<UrlModifier> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<UrlValue> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<UrlValueRaw> for CodeGenerator<W>
where W: CssWriter,

source§

impl<W> Emit<WqName> for CodeGenerator<W>
where W: CssWriter,