pub struct ICU4XWordBreakIteratorLatin1<'a>(WordBreakIteratorLatin1<'a, 'a>);
Tuple Fields§
§0: WordBreakIteratorLatin1<'a, 'a>
Implementations§
Source§impl<'a> ICU4XWordBreakIteratorLatin1<'a>
impl<'a> ICU4XWordBreakIteratorLatin1<'a>
Sourcepub fn next(&mut self) -> i32
pub fn next(&mut self) -> i32
Finds the next breakpoint. Returns -1 if at the end of the string or if the index is out of range of a 32-bit signed integer.
Sourcepub fn word_type(&self) -> ICU4XSegmenterWordType
pub fn word_type(&self) -> ICU4XSegmenterWordType
Return the status value of break boundary.
Sourcepub fn is_word_like(&self) -> bool
pub fn is_word_like(&self) -> bool
Return true when break boundary is word-like such as letter/number/CJK
Auto Trait Implementations§
impl<'a> Freeze for ICU4XWordBreakIteratorLatin1<'a>
impl<'a> RefUnwindSafe for ICU4XWordBreakIteratorLatin1<'a>
impl<'a> !Send for ICU4XWordBreakIteratorLatin1<'a>
impl<'a> !Sync for ICU4XWordBreakIteratorLatin1<'a>
impl<'a> Unpin for ICU4XWordBreakIteratorLatin1<'a>
impl<'a> UnwindSafe for ICU4XWordBreakIteratorLatin1<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Filterable for T
impl<T> Filterable for T
Source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more