pub struct EirProgram {
pub mode: EirEpistemicMode,
pub rules: Vec<EirRule>,
pub constraints: Vec<EirConstraint>,
}Expand description
Program represented at the EIR boundary.
Fields§
§mode: EirEpistemicModeSelected epistemic semantics mode.
rules: Vec<EirRule>Rules in source order.
constraints: Vec<EirConstraint>Integrity constraints in source order.
Trait Implementations§
Source§impl Clone for EirProgram
impl Clone for EirProgram
Source§fn clone(&self) -> EirProgram
fn clone(&self) -> EirProgram
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EirProgram
impl Debug for EirProgram
impl Eq for EirProgram
Source§impl PartialEq for EirProgram
impl PartialEq for EirProgram
Source§fn eq(&self, other: &EirProgram) -> bool
fn eq(&self, other: &EirProgram) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EirProgram
Auto Trait Implementations§
impl Freeze for EirProgram
impl RefUnwindSafe for EirProgram
impl Send for EirProgram
impl Sync for EirProgram
impl Unpin for EirProgram
impl UnsafeUnpin for EirProgram
impl UnwindSafe for EirProgram
Blanket Implementations§
impl<T> Allocation for T
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