Skip to main content

define

Function define 

Source
pub fn define(word: &str, source: DefinitionSource) -> Option<String>
Expand description

A definition from the configured source, for the synchronous paths. Online returns None here because it blocks — callers fetch it via define_online on a worker thread instead.