Trait jmdict_traverse::Visitor[][src]

pub trait Visitor {
    fn process_entry(&mut self, entry: &RawEntry<'_>);

    fn notify_data_file_path(&mut self, _path: &str) { ... }
}
Expand description

Strategy for processing a JMdict file.

Required methods

fn process_entry(&mut self, entry: &RawEntry<'_>)

Provided methods

This is called once for each file that was read from disk. The build script uses this to generate cargo:rerun-if-changed directives.

Implementors