1#![allow(warnings)]
5mod impls;
8use super::prelude::*;
9use impls::*;
10#[syntax(" <'cue-before'> <'cue-after'>? ")]
20#[derive(
21 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
22)]
23#[declaration_metadata(
24 initial = "see individual properties",
25 applies_to = Elements,
26 animation_type = Unknown,
27 property_group = Speech,
28 computed_value_type = Unknown,
29 canonical_order = "per grammar",
30)]
31#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
32#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.cue"))]
33#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
34#[derive(csskit_derives::NodeWithMetadata)]
35pub struct CueStyleValue;
36
37#[syntax(" <url> <decibel>? | none ")]
47#[derive(
48 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
49)]
50#[declaration_metadata(
51 initial = "none",
52 applies_to = Elements,
53 animation_type = ByComputedValue,
54 property_group = Speech,
55 computed_value_type = AsSpecified,
56 canonical_order = "per grammar",
57)]
58#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
59#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.cue-after"))]
60#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
61#[derive(csskit_derives::NodeWithMetadata)]
62pub struct CueAfterStyleValue;
63
64#[syntax(" <url> <decibel>? | none ")]
74#[derive(
75 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
76)]
77#[declaration_metadata(
78 initial = "none",
79 applies_to = Elements,
80 animation_type = ByComputedValue,
81 property_group = Speech,
82 computed_value_type = AsSpecified,
83 canonical_order = "per grammar",
84)]
85#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
86#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.cue-before"))]
87#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
88#[derive(csskit_derives::NodeWithMetadata)]
89pub struct CueBeforeStyleValue;
90
91#[syntax(" <'pause-before'> <'pause-after'>? ")]
101#[derive(
102 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
103)]
104#[declaration_metadata(
105 initial = "see individual properties",
106 applies_to = Elements,
107 animation_type = Unknown,
108 property_group = Speech,
109 computed_value_type = Unknown,
110 canonical_order = "per grammar",
111)]
112#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
113#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.pause"))]
114#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
115#[derive(csskit_derives::NodeWithMetadata)]
116pub struct PauseStyleValue;
117
118#[syntax(" <time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong ")]
128#[derive(
129 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
130)]
131#[declaration_metadata(
132 initial = "none",
133 applies_to = Elements,
134 animation_type = ByComputedValue,
135 property_group = Speech,
136 computed_value_type = AsSpecified,
137 canonical_order = "per grammar",
138)]
139#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
140#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.pause-after"))]
141#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
142#[derive(csskit_derives::NodeWithMetadata)]
143pub enum PauseAfterStyleValue {}
144
145#[syntax(" <time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong ")]
155#[derive(
156 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
157)]
158#[declaration_metadata(
159 initial = "none",
160 applies_to = Elements,
161 animation_type = ByComputedValue,
162 property_group = Speech,
163 computed_value_type = AsSpecified,
164 canonical_order = "per grammar",
165)]
166#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
167#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.pause-before"))]
168#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
169#[derive(csskit_derives::NodeWithMetadata)]
170pub enum PauseBeforeStyleValue {}
171
172#[syntax(" <'rest-before'> <'rest-after'>? ")]
182#[derive(
183 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
184)]
185#[declaration_metadata(
186 initial = "see individual properties",
187 applies_to = Elements,
188 animation_type = Unknown,
189 property_group = Speech,
190 computed_value_type = Unknown,
191 canonical_order = "per grammar",
192)]
193#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
194#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.rest"))]
195#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
196#[derive(csskit_derives::NodeWithMetadata)]
197pub struct RestStyleValue;
198
199#[syntax(" <time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong ")]
209#[derive(
210 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
211)]
212#[declaration_metadata(
213 initial = "none",
214 applies_to = Elements,
215 animation_type = ByComputedValue,
216 property_group = Speech,
217 computed_value_type = AsSpecified,
218 canonical_order = "per grammar",
219)]
220#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
221#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.rest-after"))]
222#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
223#[derive(csskit_derives::NodeWithMetadata)]
224pub enum RestAfterStyleValue {}
225
226#[syntax(" <time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong ")]
236#[derive(
237 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
238)]
239#[declaration_metadata(
240 initial = "none",
241 applies_to = Elements,
242 animation_type = ByComputedValue,
243 property_group = Speech,
244 computed_value_type = AsSpecified,
245 canonical_order = "per grammar",
246)]
247#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
248#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.rest-before"))]
249#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
250#[derive(csskit_derives::NodeWithMetadata)]
251pub enum RestBeforeStyleValue {}
252
253#[syntax(" auto | never | always ")]
265#[derive(
266 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
267)]
268#[declaration_metadata(
269 initial = "auto",
270 inherits,
271 applies_to = Elements,
272 animation_type = Discrete,
273 property_group = Speech,
274 computed_value_type = AsSpecified,
275 canonical_order = "per grammar",
276)]
277#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
278#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.speak"))]
279#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
280#[derive(csskit_derives::NodeWithMetadata)]
281pub enum SpeakStyleValue {}
282
283#[syntax(" <number> | left | center | right | leftwards | rightwards ")]
293#[derive(
294 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
295)]
296#[declaration_metadata(
297 initial = "center",
298 inherits,
299 applies_to = Elements,
300 animation_type = ByComputedValue,
301 property_group = Speech,
302 computed_value_type = Unknown,
303 canonical_order = "per grammar",
304)]
305#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
306#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.voice-balance"))]
307#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
308#[derive(csskit_derives::NodeWithMetadata)]
309pub enum VoiceBalanceStyleValue {}
310
311#[syntax(" auto | <time [0s,∞]> ")]
321#[derive(
322 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
323)]
324#[declaration_metadata(
325 initial = "auto",
326 applies_to = Elements,
327 animation_type = ByComputedValue,
328 property_group = Speech,
329 computed_value_type = AsSpecified,
330 canonical_order = "per grammar",
331)]
332#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
333#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.voice-duration"))]
334#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
335#[derive(csskit_derives::NodeWithMetadata)]
336pub struct VoiceDurationStyleValue;
337
338#[syntax(" [ <voice-family-name> | <generic-voice> ]# | preserve ")]
348#[derive(
349 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
350)]
351#[declaration_metadata(
352 initial = "implementation-dependent",
353 inherits,
354 applies_to = Elements,
355 animation_type = Discrete,
356 property_group = Speech,
357 computed_value_type = AsSpecified,
358 canonical_order = "per grammar",
359)]
360#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
361#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.voice-family"))]
362#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
363#[derive(csskit_derives::NodeWithMetadata)]
364pub enum VoiceFamilyStyleValue<'a> {}
365
366#[syntax(" [ normal | x-slow | slow | medium | fast | x-fast ] || <percentage [0,∞]> ")]
472#[derive(
473 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
474)]
475#[declaration_metadata(
476 initial = "normal",
477 inherits,
478 applies_to = Elements,
479 animation_type = ByComputedValue,
480 percentages = Unknown,
481 property_group = Speech,
482 computed_value_type = Unknown,
483 canonical_order = "per grammar",
484)]
485#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
486#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.voice-rate"))]
487#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
488#[derive(csskit_derives::NodeWithMetadata)]
489pub enum VoiceRateStyleValue {}
490
491#[syntax(" normal | strong | moderate | none | reduced ")]
501#[derive(
502 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
503)]
504#[declaration_metadata(
505 initial = "normal",
506 inherits,
507 applies_to = Elements,
508 animation_type = Discrete,
509 property_group = Speech,
510 computed_value_type = AsSpecified,
511 canonical_order = "per grammar",
512)]
513#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
514#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.voice-stress"))]
515#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
516#[derive(csskit_derives::NodeWithMetadata)]
517pub enum VoiceStressStyleValue {}
518
519#[syntax(" silent | [ [ x-soft | soft | medium | loud | x-loud ] || <decibel> ] ")]
529#[derive(
530 Parse, Peek, ToSpan, ToCursors, DeclarationMetadata, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
531)]
532#[declaration_metadata(
533 initial = "medium",
534 inherits,
535 applies_to = Elements,
536 animation_type = ByComputedValue,
537 property_group = Speech,
538 computed_value_type = Unknown,
539 canonical_order = "per grammar",
540)]
541#[cfg_attr(feature = "serde", derive(serde::Serialize), serde())]
542#[cfg_attr(feature = "css_feature_data", derive(ToCSSFeature), css_feature("css.properties.voice-volume"))]
543#[cfg_attr(feature = "visitable", derive(Visitable), visit)]
544#[derive(csskit_derives::NodeWithMetadata)]
545pub enum VoiceVolumeStyleValue {}