pub struct Words { /* private fields */ }
Expand description
Word counter for UTF-8 encoded byte slices
A word boundary is defined in isspace(3)
use wz_core::Counter;
use wz_utf8::Words;
let counter = Words::default();
Trait Implementations
sourceimpl<T> Counter<T> for Wordswhere
T: WordsCollector,
impl<T> Counter<T> for Wordswhere
T: WordsCollector,
Auto Trait Implementations
impl RefUnwindSafe for Words
impl Send for Words
impl Sync for Words
impl Unpin for Words
impl UnwindSafe for Words
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more