Struct sre_engine::engine::State
source · [−]pub struct State<'a, S: StrDrive> {
pub string: S,
pub start: usize,
pub end: usize,
pub marks: Vec<Option<usize>>,
pub lastindex: isize,
pub string_position: usize,
pub has_matched: bool,
pub match_all: bool,
pub must_advance: bool,
/* private fields */
}Fields
string: Sstart: usizeend: usizemarks: Vec<Option<usize>>lastindex: isizestring_position: usizehas_matched: boolmatch_all: boolmust_advance: boolImplementations
Trait Implementations
Auto Trait Implementations
impl<'a, S> RefUnwindSafe for State<'a, S> where
S: RefUnwindSafe,
impl<'a, S> Send for State<'a, S> where
S: Send,
impl<'a, S> Sync for State<'a, S> where
S: Sync,
impl<'a, S> Unpin for State<'a, S> where
S: Unpin,
impl<'a, S> UnwindSafe for State<'a, S> where
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more