Home
last modified time | relevance | path

Searched refs:Graphemes (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/bstr/src/unicode/
Dgrapheme.rs30 pub struct Graphemes<'a> { struct
34 impl<'a> Graphemes<'a> { argument
35 pub(crate) fn new(bs: &'a [u8]) -> Graphemes<'a> { in new()
36 Graphemes { bs } in new()
64 impl<'a> Iterator for Graphemes<'a> { implementation
78 impl<'a> DoubleEndedIterator for Graphemes<'a> { implementation
272 let got: Vec<String> = Graphemes::new(given.as_bytes()) in forward_ucd()
294 let mut got: Vec<String> = Graphemes::new(given.as_bytes()) in reverse_ucd()
317 let got = Graphemes::new(input.as_bytes()).collect::<String>(); in forward_lossy()
327 Graphemes::new(input.as_bytes()).rev().collect::<String>(); in reverse_lossy()
Dmod.rs1 pub use self::grapheme::{decode_grapheme, GraphemeIndices, Graphemes};
/external/rust/crates/unicode-segmentation/src/
Dlib.rs66 pub use grapheme::{Graphemes, GraphemeIndices};
110 fn graphemes<'a>(&'a self, is_extended: bool) -> Graphemes<'a>; in graphemes()
238 fn graphemes(&self, is_extended: bool) -> Graphemes { in graphemes() argument
Dgrapheme.rs25 iter: Graphemes<'a>,
77 pub struct Graphemes<'a> { struct
83 impl<'a> Graphemes<'a> { argument
102 impl<'a> Iterator for Graphemes<'a> { implementation
122 impl<'a> DoubleEndedIterator for Graphemes<'a> { implementation
135 pub fn new_graphemes<'b>(s: &'b str, is_extended: bool) -> Graphemes<'b> { in new_graphemes()
137 Graphemes { in new_graphemes()
/external/rust/crates/bstr/src/
Dlib.rs401 GraphemeIndices, Graphemes, SentenceIndices, Sentences, WordIndices,
Dext_slice.rs19 whitespace_len_fwd, whitespace_len_rev, GraphemeIndices, Graphemes,
1776 fn graphemes(&self) -> Graphemes { in graphemes() argument
1777 Graphemes::new(self.as_bytes()) in graphemes()