pub struct CharHeuristic;Expand description
Fast four-characters-per-token heuristic.
Trait Implementations§
Source§impl Clone for CharHeuristic
impl Clone for CharHeuristic
Source§fn clone(&self) -> CharHeuristic
fn clone(&self) -> CharHeuristic
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CharHeuristic
Source§impl Debug for CharHeuristic
impl Debug for CharHeuristic
Source§impl Default for CharHeuristic
impl Default for CharHeuristic
Source§fn default() -> CharHeuristic
fn default() -> CharHeuristic
Returns the “default value” for a type. Read more
Source§impl TokenEstimator for CharHeuristic
impl TokenEstimator for CharHeuristic
Auto Trait Implementations§
impl Freeze for CharHeuristic
impl RefUnwindSafe for CharHeuristic
impl Send for CharHeuristic
impl Sync for CharHeuristic
impl Unpin for CharHeuristic
impl UnsafeUnpin for CharHeuristic
impl UnwindSafe for CharHeuristic
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