Trait jmdict_enums::EnumPayload[][src]

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

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

Implementors