[][src]Function ejdict_rs::look

pub fn look(word: &str, mode: SearchMode) -> Result<&Word>

Look up words from an English-Japanese Dictionary.

Example

The following example shows how to Look up words.

use ejdict_rs::SearchMode;

let word = ejdict_rs::look("apple", SearchMode::Exact)?;
assert_eq!(word.mean(), "『リンゴ』;リンゴの木");