Crate jmdict_enums[][src]

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

Error type for all enum conversions of the form impl TryFrom<AllFoo> for Foo.

Relative priority of a ReadingElement or KanjiElement.

Enums

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.

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 of Japanese in which a certain vocabulary occurs.

The language of a particular Gloss.

Type of gloss.

Information regarding a certain KanjiElement.

Where a word can appear in a sentence for a particular Sense of the word.

PriorityInCorpus appears in struct Priority. It describes how often a dictionary entry appears in a certain corpus of text.

Information regarding a certain ReadingElement.

Information regarding a certain Sense.

Field of study where a certain Sense originates.

Traits

Common methods provided by all enums in this crate.

Internal helper functions for serialization and deserialization of enum values.