pub struct Match {
pub position: usize,
pub length: usize,
pub key: u8,
}Expand description
A single keyword match found in text.
Fields§
§position: usizeByte offset in the scanned text.
length: usizeByte length of the matched word.
key: u8Category key (0-254; 255 is internal sentinel).
Implementations§
Trait Implementations§
impl Eq for Match
impl StructuralPartialEq for Match
Auto Trait Implementations§
impl Freeze for Match
impl RefUnwindSafe for Match
impl Send for Match
impl Sync for Match
impl Unpin for Match
impl UnsafeUnpin for Match
impl UnwindSafe for Match
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