Type Alias icu_segmenter::LineBreakIteratorUtf8
source · pub type LineBreakIteratorUtf8<'l, 's> = LineBreakIterator<'l, 's, LineBreakTypeUtf8>;
Expand description
Line break iterator for an str
(a UTF-8 string).
For examples of use, see LineSegmenter
.
Aliased Type§
struct LineBreakIteratorUtf8<'l, 's> {
iter: CharIndices<'s>,
len: usize,
current_pos_data: Option<(usize, char)>,
result_cache: Vec<usize>,
data: &'l RuleBreakDataV1<'l>,
options: &'l LineBreakOptions,
complex: &'l ComplexPayloads,
}
Fields§
§iter: CharIndices<'s>
§len: usize
§current_pos_data: Option<(usize, char)>
§result_cache: Vec<usize>
§data: &'l RuleBreakDataV1<'l>
§options: &'l LineBreakOptions
§complex: &'l ComplexPayloads