pub struct FirstMatchId(pub u32);Expand description
Identifies one first_match region (16.9.3) inside its automaton: the key
the engine’s first-match table is indexed by, together with the tick the
region began on. Minted by Automaton::new_first_match_group; every
first_match operator in an assertion (and every copy of it a repetition
unrolls into) has its own.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for FirstMatchId
impl Clone for FirstMatchId
impl Copy for FirstMatchId
Source§impl Debug for FirstMatchId
impl Debug for FirstMatchId
impl Eq for FirstMatchId
Source§impl Hash for FirstMatchId
impl Hash for FirstMatchId
Source§impl Ord for FirstMatchId
impl Ord for FirstMatchId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for FirstMatchId
impl PartialEq for FirstMatchId
Source§impl PartialOrd for FirstMatchId
impl PartialOrd for FirstMatchId
impl StructuralPartialEq for FirstMatchId
Auto Trait Implementations§
impl Freeze for FirstMatchId
impl RefUnwindSafe for FirstMatchId
impl Send for FirstMatchId
impl Sync for FirstMatchId
impl Unpin for FirstMatchId
impl UnsafeUnpin for FirstMatchId
impl UnwindSafe for FirstMatchId
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.