[][src]Trait glyph_brush::LineBreaker

pub trait LineBreaker: Copy + Debug + Hash {
    pub fn line_breaks(
        &self,
        glyph_info: &'a str
    ) -> Box<dyn Iterator<Item = LineBreak> + 'a, Global>; }

Producer of a LineBreak iterator. Used to allow to the Layout to be line break aware in a generic way.

Required methods

pub fn line_breaks(
    &self,
    glyph_info: &'a str
) -> Box<dyn Iterator<Item = LineBreak> + 'a, Global>
[src]

Loading content...

Implementors

impl LineBreaker for BuiltInLineBreaker[src]

Loading content...