Trait ttf_word_wrap::WrapWithPosition [−][src]
Provides .wrap_with_position()
on &str
s
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.
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]
T: WordWrapWithPosition<'fnt, 'txt>,
T::Iterator: 'fnt,
Self: 'txt,