Struct cedict::DictEntry [] [src]

pub struct DictEntry {
    pub traditional: String,
    pub simplified: String,
    pub pinyin: String,
    pub definitions: Vec<String>,
}

A struct that contains all fields of a CEDICT definition

Fields

Methods

impl DictEntry
[src]

Formats a DictEntry into a CEDICT formatted line. This function can be used to modify or create CEDICT files.

Trait Implementations

impl Debug for DictEntry
[src]

Formats the value using the given formatter.