Struct regex_automata::util::determinize::state::StateBuilderMatches
source · pub(crate) struct StateBuilderMatches(Vec<u8>);
Expand description
A state builder that collects assertions and pattern IDs.
When collecting pattern IDs is finished, this can be converted into a builder that collects NFA state IDs.
Tuple Fields§
§0: Vec<u8>
Implementations§
source§impl StateBuilderMatches
impl StateBuilderMatches
For docs on these routines, see the internal Repr and ReprVec types below.
pub(crate) fn into_nfa(self) -> StateBuilderNFA
pub(crate) fn set_is_from_word(&mut self)
pub(crate) fn set_is_half_crlf(&mut self)
pub(crate) fn look_have(&self) -> LookSet
pub(crate) fn set_look_have(&mut self, set: impl FnMut(LookSet) -> LookSet)
pub(crate) fn add_match_pattern_id(&mut self, pid: PatternID)
fn repr(&self) -> Repr<'_>
fn repr_vec(&mut self) -> ReprVec<'_>
Trait Implementations§
source§impl Clone for StateBuilderMatches
impl Clone for StateBuilderMatches
source§fn clone(&self) -> StateBuilderMatches
fn clone(&self) -> StateBuilderMatches
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for StateBuilderMatches
impl RefUnwindSafe for StateBuilderMatches
impl Send for StateBuilderMatches
impl Sync for StateBuilderMatches
impl Unpin for StateBuilderMatches
impl UnwindSafe for StateBuilderMatches
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