Function all

Source
pub fn all(lang: Lang) -> &'static [&'static str]
Expand description

Returns all words with the given language.

ยงExample

use random_word::Lang;
let words = random_word::all(Lang::En);
assert!(!words.is_empty());