Enum parse_wiktionary_de::Flowing
source · pub enum Flowing<'a> {
Show 34 variants
Audio {
file_name: Cow<'a, str>,
label: Option<Cow<'a, str>>,
language: Option<Cow<'a, str>>,
},
Bold,
Comment,
CommonGender,
Comparative,
EmptyAudio,
FeminineGender,
Genitive,
Ipa {
ipa: Cow<'a, str>,
},
Italic,
Language {
language: Cow<'a, str>,
},
LanguageAdjective {
language: Cow<'a, str>,
},
Link {
target: Cow<'a, str>,
text: Cow<'a, str>,
},
List {
items: Vec<Vec<Flowing<'a>>>,
},
MasculineGender,
NeuterGender,
NoPlural,
PastParticiple,
Plural,
Plural1,
Plural2,
Plural3,
Plural4,
Pos {
pos: Pos,
},
Preterite,
QualityControl,
Reference,
Rhyme {
rhyme: Cow<'a, str>,
},
Superlative,
SuperscriptEnd,
SuperscriptStart,
Term {
language: Cow<'a, str>,
term: Cow<'a, str>,
transliteration: Option<Cow<'a, str>>,
},
Text {
value: Cow<'a, str>,
},
Unknown {
value: Cow<'a, str>,
},
}
Expand description
An element in a sequence that allows different kinds of elements.
Variants§
Audio
Fields
Audio sample.
Parsed from the template Audio
.
Bold
Toggle bold text.
Parsed from the wiki text '''
.
Comment
Comment tag.
Parsed code starting with <!--
.
CommonGender
Indication that something is of common gender.
Parsed from the template u
.
Comparative
Indication that something is a comparative.
Parsed from the template Komp.
.
EmptyAudio
Placeholder for an audio sample that has not been filled in.
Parsed from the template Audio
.
FeminineGender
Indication that something is of feminine gender.
Parsed from the template u
.
Genitive
Indication that something is a genitive.
Parsed from the template Gen.
.
Ipa
Pronunciation written in IPA.
Parsed from the template Lautschrift
.
Italic
Toggle italic text.
Parsed from the wiki text ''
.
Language
Language as a noun.
Parsed from the templates found in the category Sprachkürzel
.
LanguageAdjective
Language as an adjective.
Parsed from the templates found in the category Sprachadjektive
.
Link
Fields
Link.
Parsed from wiki text starting with [[
.
List
Unordered list.
MasculineGender
Indication that something is of masculine gender.
Parsed from the template m
.
NeuterGender
Indication that something is of neuter gender.
Parsed from the template n
.
NoPlural
Indication that something has no plural.
Parsed from the template kPl.
.
PastParticiple
Indication that something is a past participle.
Parsed from the template Part.
.
Plural
Indication that something is a plural.
Parsed from the template Pl.
.
Plural1
Indication that something is a plural.
Parsed from the template Pl.1
.
Plural2
Indication that something is a plural.
Parsed from the template Pl.2
.
Plural3
Indication that something is a plural.
Parsed from the template Pl.3
.
Plural4
Indication that something is a plural.
Parsed from the template Pl.4
.
Pos
Part of speech.
Parsed from the template Wortbildung
.
Preterite
Indication that something is a preterite.
Parsed from the template Prät.
.
QualityControl
Quality control marker.
Parsed from the template QS Herkunft
.
Reference
Indication of a reference.
Parsed from the extension tag ref
. The content if the reference is not parsed. This element is added to the output just to indicate the existence of a reference.
Rhyme
Rhyme.
Parsed from the template Reim.
Superlative
Indication that something is a superlative.
Parsed from the template Sup.
.
SuperscriptEnd
End of superscript.
Parsed from the tag </sup>
.
SuperscriptStart
Start of superscript.
Parsed from the tag <sup>
.
Term
Fields
Link to a dictionary entry.
Parsed from the template Ü
.
Text
Chunk of plain text.
Unknown
Element that could not be recognized.