Trait img2text::GlyphSet[][src]

pub trait GlyphSet {
    fn mask_dims(&self) -> [usize; 2];
fn mask_overlap(&self) -> [usize; 2];
fn fragment_to_glyph(&self, fragment: Fragment) -> &str;
fn max_glyph_len(&self) -> usize; }

A set of output glyphs (string fragments) that are associated with expected input image patterns.

This trait’s methods are exempt from the API stability guarantee.

Required methods

Loading content...

Implementors

Loading content...