Enum jmdict_enums::PartOfSpeech [−][src]
pub enum PartOfSpeech {}Show variants
NounOrVerbActingPrenominally, Adjective, YoiAdjective, AdjectivalNoun, NoAdjective, PreNounAdjectival, TaruAdjective, Adverb, AdverbTakingToParticle, Auxiliary, AuxiliaryAdjective, AuxiliaryVerb, Conjunction, Copula, Counter, Expression, Interjection, CommonNoun, AdverbialNoun, ProperNoun, NounPrefix, NounSuffix, TemporalNoun, Numeric, Pronoun, Prefix, Particle, Suffix, Unclassified, UnspecifiedVerb, IchidanVerb, IchidanKureruVerb, GodanAruVerb, GodanBuVerb, GodanGuVerb, GodanKuVerb, GodanIkuVerb, GodanMuVerb, GodanNuVerb, GodanRuVerb, IrregularGodanRuVerb, GodanSuVerb, GodanTsuVerb, GodanUVerb, IrregularGodanUVerb, IntransitiveVerb, KuruVerb, IrregularGodanNuVerb, IrregularGodanRuVerbWithPlainRiForm, SuruVerb, SuruPrecursorVerb, IncludedSuruVerb, SpecialSuruVerb, TransitiveVerb, IchidanZuruVerb,
Expand description
Where a word can appear in a sentence for a particular Sense of the word.
Variants
noun or verb acting prenominally
adjective (keiyoushi)
adjective (keiyoushi) - yoi/ii class
adjectival nouns or quasi-adjectives (keiyodoshi)
nouns which may take the genitive case particle ‘no’
pre-noun adjectival (rentaishi)
‘taru’ adjective
adverb (fukushi)
adverb taking the ‘to’ particle
auxiliary
auxiliary adjective
auxiliary verb
conjunction
copula
counter
expressions (phrases, clauses, etc.)
interjection (kandoushi)
noun (common) (futsuumeishi)
adverbial noun (fukushitekimeishi)
proper noun
noun, used as a prefix
noun, used as a suffix
noun (temporal) (jisoumeishi)
numeric
pronoun
prefix
particle
suffix
unclassified
verb unspecified
Ichidan verb
Ichidan verb - kureru special class
Godan verb - -aru special class
Godan verb with ‘bu’ ending
Godan verb with ‘gu’ ending
Godan verb with ‘ku’ ending
Godan verb - Iku/Yuku special class
Godan verb with ‘mu’ ending
Godan verb with ‘nu’ ending
Godan verb with ‘ru’ ending
Godan verb with ‘ru’ ending (irregular verb)
Godan verb with ‘su’ ending
Godan verb with ‘tsu’ ending
Godan verb with ‘u’ ending
Godan verb with ‘u’ ending (special class)
intransitive verb
Kuru verb - special class
irregular nu verb
irregular ru verb, plain form ends with -ri
noun or participle which takes the aux. verb suru
su verb - precursor to the modern suru
suru verb - included
suru verb - special class
transitive verb
Ichidan verb - zuru verb (alternative form of -jiru verbs)
Trait Implementations
Returns the string that marks this enum variant in the JMdict. For values that JMdict
represents as XML entities, only the entity name is returned, e.g. adj-n
instead of
&adj-n;
. Read more
Returns the variant name. This is used to generate Rust code for this enum. The impl Display
for enums uses this same representation. Read more
Parses a representation from the JMdict file into a value of this enum. This is the reverse
of self.code()
, i.e. Self::from_code(self.code()) == Some(self)
. Read more
Returns the variant that is identified the given name in Rust code, or None
if there is no
such variant. This is the reverse of self.constant_name()
, i.e.
Self::from_constant_name(self.constant_name()) == Some(self)
. Read more
Returns a list of all variant values in this enum. No particular order is guaranteed or implied. Read more
Performs the conversion.
type Error = DisabledVariant
type Error = DisabledVariant
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for PartOfSpeech
impl Send for PartOfSpeech
impl Sync for PartOfSpeech
impl Unpin for PartOfSpeech
impl UnwindSafe for PartOfSpeech
Blanket Implementations
Mutably borrows from an owned value. Read more