Struct hyphenation::hyphenator::Word [−][src]
Expand description
A hyphenated word carrying valid breaks.
The Word
can be borrowed or moved for iteration with iter()
and
into_iter()
respectively.
Fields
text: &'t str
breaks: Vec<Break>
Trait Implementations
fn iter(&'t self) -> Hyphenating<'t, Self::Iter>ⓘNotable traits for Hyphenating<'m, I>
impl<'m, I, S> Iterator for Hyphenating<'m, I> where
I: Iterator<Item = S> + ExactSizeIterator,
S: AsRef<str>, type Item = String;
[src]Auto Trait Implementations
impl<'t, Break> RefUnwindSafe for Word<'t, Break> where
Break: RefUnwindSafe,
impl<'t, Break> UnwindSafe for Word<'t, Break> where
Break: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more