pub enum RuleEntry {
Rule(Rule),
SubroutineDef {
name: String,
presentation_name: Option<String>,
span: Span,
name_span: Span,
body: Vec<Stmt>,
annotations: Vec<Annotation>,
rule_prefix: Option<String>,
},
}Expand description
A rule or a subroutine definition.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RuleEntry
impl RefUnwindSafe for RuleEntry
impl Send for RuleEntry
impl Sync for RuleEntry
impl Unpin for RuleEntry
impl UnsafeUnpin for RuleEntry
impl UnwindSafe for RuleEntry
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