Trait gfx_glyph::LineBreaker
[−]
[src]
pub trait LineBreaker: Debug + Copy + Hash { fn line_breaks<'a>(
&self,
glyph_info: &GlyphInfo<'a>
) -> Box<Iterator<Item = LineBreak> + 'a>; }
Producer of a LineBreak
iterator. Used to allow to the
Layout
to be line break aware in a generic way.
Required Methods
fn line_breaks<'a>(
&self,
glyph_info: &GlyphInfo<'a>
) -> Box<Iterator<Item = LineBreak> + 'a>
&self,
glyph_info: &GlyphInfo<'a>
) -> Box<Iterator<Item = LineBreak> + 'a>
Implementors
impl LineBreaker for BuiltInLineBreaker