pub struct PatternAst {
pub name: String,
pub stages: Vec<StageAst>,
pub negations: Vec<NegationAst>,
pub temporals: Vec<TemporalAst>,
pub metadata: Vec<(String, String)>,
pub deadline: Option<f64>,
pub unordered_groups: Vec<Vec<usize>>,
pub private: bool,
}Expand description
A pattern declaration.
Fields§
§name: String§stages: Vec<StageAst>§negations: Vec<NegationAst>§temporals: Vec<TemporalAst>§metadata: Vec<(String, String)>§deadline: Option<f64>§unordered_groups: Vec<Vec<usize>>Unordered stage groups (concurrent blocks). Each entry contains the
stage indices (into stages) that form a concurrent group.
private: boolIf true, this pattern was declared with private keyword.
Trait Implementations§
Source§impl Clone for PatternAst
impl Clone for PatternAst
Source§fn clone(&self) -> PatternAst
fn clone(&self) -> PatternAst
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 PatternAst
impl RefUnwindSafe for PatternAst
impl Send for PatternAst
impl Sync for PatternAst
impl Unpin for PatternAst
impl UnsafeUnpin for PatternAst
impl UnwindSafe for PatternAst
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