Emitter

Trait Emitter 

Source
pub trait Emitter {
    // Required methods
    fn emit_character(&mut self, c: char);
    fn emit_kern(&mut self, kern: Scaled);
    fn emit_ligature(&mut self, c: char, original: Rc<str>);
}
Expand description

Implementations of this trait determine how characters, kerns and ligatures are handled when running a lig/kern program.

Required Methods§

Source

fn emit_character(&mut self, c: char)

Source

fn emit_kern(&mut self, kern: Scaled)

Source

fn emit_ligature(&mut self, c: char, original: Rc<str>)

Implementors§