[−][src]Struct spandex_hyphenation::hyphenator::Word
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
impl<'t> Iter<'t> for Word<'t, usize>
[src]
type Iter = Segments<'t, Cloned<Iter<'t, usize>>>
ⓘImportant traits for Hyphenating<'m, I>fn iter(&'t self) -> Hyphenating<'t, Self::Iter>
[src]
ⓘImportant traits for Hyphenating<'m, I>
impl<'t> IntoIterator for Word<'t, usize>
[src]
type Item = String
The type of the elements being iterated over.
type IntoIter = Hyphenating<'t, Segments<'t, IntoIter<usize>>>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl<'t> IntoIterator for Word<'t, (usize, Option<&'t Subregion>)>
[src]
type Item = String
The type of the elements being iterated over.
type IntoIter = Hyphenating<'t, SegmentsExt<'t, IntoIter<(usize, Option<&'t Subregion>)>>>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl<'t, Break: Clone> Clone for Word<'t, Break>
[src]
impl<'t, Break: Eq> Eq for Word<'t, Break>
[src]
impl<'t, Break: PartialEq> PartialEq<Word<'t, Break>> for Word<'t, Break>
[src]
fn eq(&self, other: &Word<'t, Break>) -> bool
[src]
fn ne(&self, other: &Word<'t, Break>) -> bool
[src]
impl<'t, Break: Debug> Debug for Word<'t, Break>
[src]
impl<'t, Break: Hash> Hash for Word<'t, Break>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<'t, Break> StructuralPartialEq for Word<'t, Break>
[src]
impl<'t, Break> StructuralEq for Word<'t, Break>
[src]
Auto Trait Implementations
impl<'t, Break> Send for Word<'t, Break> where
Break: Send,
Break: Send,
impl<'t, Break> Sync for Word<'t, Break> where
Break: Sync,
Break: Sync,
impl<'t, Break> Unpin for Word<'t, Break> where
Break: Unpin,
Break: Unpin,
impl<'t, Break> UnwindSafe for Word<'t, Break> where
Break: UnwindSafe,
Break: UnwindSafe,
impl<'t, Break> RefUnwindSafe for Word<'t, Break> where
Break: RefUnwindSafe,
Break: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
fn into_iter(self) -> I
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,