Trait jmdict_enums::EnumPayload[][src]

pub trait EnumPayload {
    fn to_u32(&self) -> u32;
fn from_u32(code: u32) -> Self; }

Internal helper functions for serialization and deserialization of enum values.

This is an internal trait; it is not re-exported by the jmdict crate and thus not part of the public API.

Required methods

fn to_u32(&self) -> u32[src]

fn from_u32(code: u32) -> Self[src]

Loading content...

Implementors

impl EnumPayload for AllGlossLanguage[src]

impl EnumPayload for AllPartOfSpeech[src]

impl EnumPayload for Dialect[src]

impl EnumPayload for GlossLanguage[src]

impl EnumPayload for GlossType[src]

impl EnumPayload for KanjiInfo[src]

impl EnumPayload for PartOfSpeech[src]

impl EnumPayload for ReadingInfo[src]

impl EnumPayload for SenseInfo[src]

impl EnumPayload for SenseTopic[src]

impl EnumPayload for Priority[src]

Loading content...