Function hyphenation::hyphenator::soft_hyphen_indices[][src]

pub fn soft_hyphen_indices(word: &str) -> Option<Vec<usize>>

The indices of soft hyphens (U+00AD) within the string, if any. Existing soft hyphens indicate a preferred hyphenation, which can be used without resorting to best-effort hyphenation.