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: S
start: usize
end: usize
marks: Vec<Option<usize>>
lastindex: isize
string_position: usize
has_matched: bool
match_all: bool
must_advance: bool
Implementations
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