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

§file_name: Cow<'a, str>

The file name referred to.

§label: Option<Cow<'a, str>>

The label to display for the audio sample.

§language: Option<Cow<'a, str>>

The language of the audio.

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

Fields

§ipa: Cow<'a, str>

The pronunciation written in IPA.

Pronunciation written in IPA.

Parsed from the template Lautschrift.

§

Italic

Toggle italic text.

Parsed from the wiki text ''.

§

Language

Fields

§language: Cow<'a, str>

The language referred to.

Language as a noun.

Parsed from the templates found in the category Sprachkürzel.

§

LanguageAdjective

Fields

§language: Cow<'a, str>

The language referred to.

Language as an adjective.

Parsed from the templates found in the category Sprachadjektive.

Fields

§target: Cow<'a, str>

The target the link refers to.

§text: Cow<'a, str>

The text to display for the link.

Link.

Parsed from wiki text starting with [[.

§

List

Fields

§items: Vec<Vec<Flowing<'a>>>

The items of the 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

Fields

§pos: Pos

The part of speech.

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

Fields

§rhyme: Cow<'a, str>

The 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

§language: Cow<'a, str>

The language the link refers to.

§term: Cow<'a, str>

The term the link refers to.

§transliteration: Option<Cow<'a, str>>

Transliteration of the term.

Link to a dictionary entry.

Parsed from the template Ü.

§

Text

Fields

§value: Cow<'a, str>

The text to display.

Chunk of plain text.

§

Unknown

Fields

§value: Cow<'a, str>

The wiki text of the element.

Element that could not be recognized.

Trait Implementations§

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.