pub struct CharsCount { /* private fields */ }Expand description
Process N chars.
This is beneficial when comparing benchmarks between ASCII and Unicode implementations, since the number of code points is a common baseline reference.
Implementations§
Trait Implementations§
Source§impl Clone for CharsCount
impl Clone for CharsCount
Source§fn clone(&self) -> CharsCount
fn clone(&self) -> CharsCount
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CharsCount
impl Debug for CharsCount
Source§impl<C> From<C> for CharsCountwhere
C: AsCountUInt,
impl<C> From<C> for CharsCountwhere
C: AsCountUInt,
Source§fn from(count: C) -> CharsCount
fn from(count: C) -> CharsCount
Converts to this type from the input type.
Source§impl Ord for CharsCount
impl Ord for CharsCount
Source§fn cmp(&self, other: &CharsCount) -> Ordering
fn cmp(&self, other: &CharsCount) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CharsCount
impl PartialEq for CharsCount
Source§impl PartialOrd for CharsCount
impl PartialOrd for CharsCount
impl Copy for CharsCount
impl Counter for CharsCount
impl Eq for CharsCount
impl StructuralPartialEq for CharsCount
Auto Trait Implementations§
impl Freeze for CharsCount
impl RefUnwindSafe for CharsCount
impl Send for CharsCount
impl Sync for CharsCount
impl Unpin for CharsCount
impl UnwindSafe for CharsCount
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<C> IntoCounter for Cwhere
C: Counter,
impl<C> IntoCounter for Cwhere
C: Counter,
Source§fn into_counter(self) -> <C as IntoCounter>::Counter
fn into_counter(self) -> <C as IntoCounter>::Counter
Converts into a
Counter.