pub enum PredicateValueIR {
String(StringId),
Regex(StringId),
}Expand description
Predicate value: string or regex pattern.
Both variants store StringId (index into StringTable). For regex predicates, the pattern string is also compiled to a DFA during emit.
Variants§
String(StringId)
String comparison value.
Regex(StringId)
Regex pattern (StringId for pattern, compiled to DFA during emit).
Trait Implementations§
Source§impl Clone for PredicateValueIR
impl Clone for PredicateValueIR
Source§fn clone(&self) -> PredicateValueIR
fn clone(&self) -> PredicateValueIR
Returns a duplicate 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 PredicateValueIR
impl RefUnwindSafe for PredicateValueIR
impl Send for PredicateValueIR
impl Sync for PredicateValueIR
impl Unpin for PredicateValueIR
impl UnwindSafe for PredicateValueIR
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