#[repr(transparent)]pub struct ExprId(pub c_uint);
Available on crate feature
compiler
only.Expand description
The ID number to associate with a pattern match in an expression set.
When provided to an expression set, this value is converted into an
ExpressionIndex
in a
Match
,
VectoredMatch
, or
ChimeraMatch
upon matching the
given pattern.
This ID is used in ExpressionSet::with_ids()
,
LiteralSet::with_ids()
, and
ChimeraExpressionSet::with_ids()
.
Tuple Fields§
§0: c_uint
Trait Implementations§
Source§impl Ord for ExprId
impl Ord for ExprId
Source§impl PartialOrd for ExprId
impl PartialOrd for ExprId
impl Copy for ExprId
impl Eq for ExprId
impl StructuralPartialEq for ExprId
Auto Trait Implementations§
impl Freeze for ExprId
impl RefUnwindSafe for ExprId
impl Send for ExprId
impl Sync for ExprId
impl Unpin for ExprId
impl UnwindSafe for ExprId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.