Struct text_tokenizer::CharToken
source · pub struct CharToken {
pub byte_offset: usize,
pub byte_length: usize,
pub char_offset: usize,
pub char_length: usize,
pub token: Token<CharToken>,
}Fields§
§byte_offset: usize§byte_length: usize§char_offset: usize§char_length: usize§token: Token<CharToken>Trait Implementations§
source§impl PartialEq for CharToken
impl PartialEq for CharToken
source§impl PartialOrd for CharToken
impl PartialOrd for CharToken
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl StructuralPartialEq for CharToken
Auto Trait Implementations§
impl RefUnwindSafe for CharToken
impl Send for CharToken
impl Sync for CharToken
impl Unpin for CharToken
impl UnwindSafe for CharToken
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