Enum tokenizers::tokenizer::normalizer::Range   
source · pub enum Range<T: RangeBounds<usize> + Clone> {
    Original(T),
    Normalized(T),
}Expand description
Represents a Range usable by the NormalizedString to index its content.
A Range can use indices relative to either the Original or the Normalized string
Variants§
Implementations§
Trait Implementations§
source§impl<T: PartialEq + RangeBounds<usize> + Clone> PartialEq for Range<T>
 
impl<T: PartialEq + RangeBounds<usize> + Clone> PartialEq for Range<T>
impl<T: Eq + RangeBounds<usize> + Clone> Eq for Range<T>
impl<T: RangeBounds<usize> + Clone> StructuralPartialEq for Range<T>
Auto Trait Implementations§
impl<T> Freeze for Range<T>where
    T: Freeze,
impl<T> RefUnwindSafe for Range<T>where
    T: RefUnwindSafe,
impl<T> Send for Range<T>where
    T: Send,
impl<T> Sync for Range<T>where
    T: Sync,
impl<T> Unpin for Range<T>where
    T: Unpin,
impl<T> UnwindSafe for Range<T>where
    T: UnwindSafe,
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