pub enum RowPattern {
Empty,
Symbol(Ident),
Start,
Concat(Vec<RowPattern>),
Alternation(Vec<RowPattern>),
Group(Box<RowPattern>),
Quantified {
pattern: Box<RowPattern>,
quantifier: PatternQuantifier,
reluctant: bool,
},
}Expand description
A PATTERN of MATCH_RECOGNIZE.
Variants§
Empty
()
Symbol(Ident)
Start
^: the start of the partition.
Concat(Vec<RowPattern>)
Alternation(Vec<RowPattern>)
Group(Box<RowPattern>)
Quantified
Implementations§
Trait Implementations§
Source§impl Clone for RowPattern
impl Clone for RowPattern
Source§impl Debug for RowPattern
impl Debug for RowPattern
Source§impl<'de> Deserialize<'de> for RowPattern
impl<'de> Deserialize<'de> for RowPattern
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RowPattern
Source§impl Hash for RowPattern
impl Hash for RowPattern
Source§impl PartialEq for RowPattern
impl PartialEq for RowPattern
Source§impl Serialize for RowPattern
impl Serialize for RowPattern
impl StructuralPartialEq for RowPattern
Auto Trait Implementations§
impl Forget for RowPattern
impl Freeze for RowPatternwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<RowPattern>: Freeze,
*const RowPattern is !null: Freeze,
impl Move for RowPattern
impl RefUnwindSafe for RowPattern
impl Send for RowPattern
impl Sync for RowPattern
impl Unpin for RowPattern
impl UnsafeUnpin for RowPatternwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<RowPattern>: UnsafeUnpin,
*const RowPattern is !null: UnsafeUnpin,
impl UnwindSafe for RowPattern
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.