Crate jmdict_enums

Source
Expand description

Autogenerated enums for the jmdict crate.

This code is in a separate crate because, if we put it in the jmdict crate itself, its build.rs could not import it.

§Compatibility promise

There is none. This crate can disappear at any time if we choose to restructure the build system for the jmdict crate. To use the types from this crate, look at the re-exports of the same name in the jmdict crate.

Structs§

DisabledVariant
Error type for all enum conversions of the form impl TryFrom<AllFoo> for Foo.
Priority
Relative priority of a ReadingElement or KanjiElement.

Enums§

AllGlossLanguage
The language of a particular Gloss. This enum contains all possible variants, including those that have been disabled by compile-time flags in enum GlossLanguage.
AllPartOfSpeech
Where a word can appear in a sentence for a particular Sense of the word. This enum contains all possible variants, including those that have been disabled by compile-time flags in enum PartOfSpeech.
Dialect
Dialect of Japanese in which a certain vocabulary occurs.
GlossLanguage
The language of a particular Gloss.
GlossType
Type of gloss.
KanjiInfo
Information regarding a certain KanjiElement.
PartOfSpeech
Where a word can appear in a sentence for a particular Sense of the word.
PriorityInCorpus
PriorityInCorpus appears in struct Priority. It describes how often a dictionary entry appears in a certain corpus of text.
ReadingInfo
Information regarding a certain ReadingElement.
SenseInfo
Information regarding a certain Sense.
SenseTopic
Field of study where a certain Sense originates.

Traits§

Enum
Common methods provided by all enums in this crate.
EnumPayload
Internal helper functions for serialization and deserialization of enum values.