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<AtRuleName> for CodeGenerator<W>
where W: CssWriter,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<W> Emit<GeneralEnclosed> 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<KeyframeSelector> for CodeGenerator<W>
where W: CssWriter,

Source§

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

Source§

impl<W> Emit<LayerPrelude> 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<MediaConditionWithoutOrType> for CodeGenerator<W>
where W: CssWriter,

Source§

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

Source§

impl<W> Emit<MediaFeatureName> 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<MediaType> for CodeGenerator<W>
where W: CssWriter,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<W> Emit<SizeFeatureValue> 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<ComponentValue> 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<FunctionName> for CodeGenerator<W>
where W: CssWriter,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<W> Emit<ComplexSelectorChildren> 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<Namespace> for CodeGenerator<W>
where W: CssWriter,

Source§

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

Source§

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

Source§

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

Source§

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

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<AnglePercentage> for CodeGenerator<W>
where W: CssWriter,

Source§

impl<W> Emit<CalcProductOrOperator> 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<CmykComponent> for CodeGenerator<W>
where W: CssWriter,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<W> Emit<TimePercentage> 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<AtRule> for CodeGenerator<W>
where W: CssWriter,

Source§

impl<W> Emit<ContainerCondition> 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<CustomMediaQuery> for CodeGenerator<W>
where W: CssWriter,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<W> Emit<KeyframeBlock> 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<MediaAnd> for CodeGenerator<W>
where W: CssWriter,

Source§

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

Source§

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

Source§

impl<W> Emit<MediaFeatureBoolean> 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<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<NamespacePrelude> 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<ScopeRange> for CodeGenerator<W>
where W: CssWriter,

Source§

impl<W> Emit<SizeFeatureBoolean> 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<SupportsAnd> for CodeGenerator<W>
where W: CssWriter,

Source§

impl<W> Emit<SupportsCondition> 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<Declaration> for CodeGenerator<W>
where W: CssWriter,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<W> Emit<AnyNamespace> 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<ClassSelector> 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<CompoundSelector> for CodeGenerator<W>
where W: CssWriter,

Source§

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

Source§

impl<W> Emit<CustomHighlightName> 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<IdSelector> for CodeGenerator<W>
where W: CssWriter,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<W> Emit<PseudoElementSelector> 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<SelectorList> for CodeGenerator<W>
where W: CssWriter,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<W> Emit<Angle> 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<CalcSum> for CodeGenerator<W>
where W: CssWriter,

Source§

impl<W> Emit<CustomIdent> 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<Delimiter> for CodeGenerator<W>
where W: CssWriter,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<W> Emit<UnicodeRange> 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<UrlValueRaw> for CodeGenerator<W>
where W: CssWriter,