pub struct ICU4XWordBreakIteratorLatin1<'a>(/* private fields */);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
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> MaybeSendSync for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 104 bytes