Struct daumdic::Word [] [src]

pub struct Word {
    pub word: String,
    pub meaning: String,
    pub pronounce: String,
    pub lang: Lang,
}

Result of search function

Fields

Trait Implementations

impl Display for Word
[src]

Quick way to make clean output

Example

assert_eq!(format!("{}", daumdic::search("ironic").unwrap()), "ironic  [airάnik]  아이러니한, 역설적인, 모순적인, 반어적인");

[src]

Formats the value using the given formatter. Read more