pub trait DictionaryAccess {
// Required methods
fn grammar(&self) -> &Grammar<'_>;
fn lexicon(&self) -> &LexiconSet<'_>;
fn input_text_plugins(&self) -> &[Box<dyn InputTextPlugin + Sync + Send>];
fn oov_provider_plugins(
&self,
) -> &[Box<dyn OovProviderPlugin + Sync + Send>];
fn path_rewrite_plugins(
&self,
) -> &[Box<dyn PathRewritePlugin + Sync + Send>];
}Expand description
Provides access to dictionary data
Required Methods§
fn grammar(&self) -> &Grammar<'_>
fn lexicon(&self) -> &LexiconSet<'_>
fn input_text_plugins(&self) -> &[Box<dyn InputTextPlugin + Sync + Send>]
fn oov_provider_plugins(&self) -> &[Box<dyn OovProviderPlugin + Sync + Send>]
fn path_rewrite_plugins(&self) -> &[Box<dyn PathRewritePlugin + Sync + Send>]
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".