pub struct Group {
pub end: usize,
pub tokens: usize,
}Expand description
One consecutive group of tokens spanning whole grapheme clusters.
Fields§
§end: usizeExclusive UTF-8 byte offset in the original text.
tokens: usizeNumber of tokens in this group.
Trait Implementations§
impl Copy for Group
impl Eq for Group
impl StructuralPartialEq for Group
Auto Trait Implementations§
impl Forget for Group
impl Freeze for Group
impl Move for Group
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnsafeUnpin for Group
impl UnwindSafe for Group
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