pub struct State<T> {
pub index: usize,
pub chars: CharacterClass,
pub next_states: Vec<usize>,
pub acceptance: bool,
pub start_capture: bool,
pub end_capture: bool,
pub metadata: Option<T>,
}
Fields§
§index: usize
§chars: CharacterClass
§next_states: Vec<usize>
§acceptance: bool
§start_capture: bool
§end_capture: bool
§metadata: Option<T>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for State<T>where
T: Freeze,
impl<T> RefUnwindSafe for State<T>where
T: RefUnwindSafe,
impl<T> Send for State<T>where
T: Send,
impl<T> Sync for State<T>where
T: Sync,
impl<T> Unpin for State<T>where
T: Unpin,
impl<T> UnwindSafe for State<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