pub struct Tag<'a> {
pub word: &'a str,
pub tag: &'a str,
pub start: usize,
pub end: usize,
pub byte_start: usize,
pub byte_end: usize,
}Expand description
A tagged word
Fields§
§word: &'a strWord
tag: &'a strWord tag
start: usizeUnicode start position of the word in the original input
end: usizeUnicode end position of the word in the original input
byte_start: usizeByte start position of the word in the original input
byte_end: usizeByte end position of the word in the original input
Trait Implementations§
impl<'a> Eq for Tag<'a>
impl<'a> StructuralPartialEq for Tag<'a>
Auto Trait Implementations§
impl<'a> Freeze for Tag<'a>
impl<'a> RefUnwindSafe for Tag<'a>
impl<'a> Send for Tag<'a>
impl<'a> Sync for Tag<'a>
impl<'a> Unpin for Tag<'a>
impl<'a> UnwindSafe for Tag<'a>
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