pub struct Program {
pub declarations: Vec<Decl>,
pub rules: Vec<RuleEntry>,
pub settings: Option<Settings>,
}Expand description
A parsed program: declarations and rule/subroutine entries.
Fields§
§declarations: Vec<Decl>§rules: Vec<RuleEntry>§settings: Option<Settings>The parsed top-of-file settings { ... } block, when present (#86).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Program
impl RefUnwindSafe for Program
impl Send for Program
impl Sync for Program
impl Unpin for Program
impl UnsafeUnpin for Program
impl UnwindSafe for Program
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