pub type LineBreakIteratorPotentiallyIllFormedUtf8<'l, 's> = LineBreakIterator<'l, 's, LineBreakTypePotentiallyIllFormedUtf8>;Expand description
Line break iterator for a potentially invalid UTF-8 string.
For examples of use, see LineSegmenter.
Aliased Type§
pub struct LineBreakIteratorPotentiallyIllFormedUtf8<'l, 's> {
iter: Utf8CharIndices<'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: Utf8CharIndices<'s>§len: usize§current_pos_data: Option<(usize, char)>§result_cache: Vec<usize>§data: &'l RuleBreakDataV1<'l>§options: &'l LineBreakOptions§complex: &'l ComplexPayloads