Trait ttf_word_wrap::WrapWithPosition[][src]

pub trait WrapWithPosition<'fnt, 'txt: 'fnt, T> where
    T: WordWrapWithPosition<'fnt, 'txt>, 
{ fn wrap_with_position(&self, word_wrap: &'fnt T) -> T::Iterator; }

Provides .wrap_with_position() on &strs

The behavior of the wrapping can change depending on the WordWrap type passed in.

Required methods

fn wrap_with_position(&self, word_wrap: &'fnt T) -> T::Iterator[src]

Based on the word_wrap provided, provides an iterator of split lines.

Loading content...

Implementations on Foreign Types

impl<'fnt, 'txt: 'fnt, T> WrapWithPosition<'fnt, 'txt, T> for &str where
    T: WordWrapWithPosition<'fnt, 'txt>,
    T::Iterator: 'fnt,
    Self: 'txt, 
[src]

Loading content...

Implementors

Loading content...