vizia::vg::shaper

Trait RunHandler

pub trait RunHandler {
    // Required methods
    fn begin_line(&mut self);
    fn run_info(&mut self, info: &RunInfo<'_>);
    fn commit_run_info(&mut self);
    fn run_buffer(&mut self, info: &RunInfo<'_>) -> Buffer<'_>;
    fn commit_run_buffer(&mut self, info: &RunInfo<'_>);
    fn commit_line(&mut self);
}

Required Methods§

fn begin_line(&mut self)

fn run_info(&mut self, info: &RunInfo<'_>)

fn commit_run_info(&mut self)

fn run_buffer(&mut self, info: &RunInfo<'_>) -> Buffer<'_>

fn commit_run_buffer(&mut self, info: &RunInfo<'_>)

fn commit_line(&mut self)

Implementors§