pub struct Decl {
pub var: Variable,
pub expr: Expr,
pub mult: DeclMult,
}Expand description
A declaration x: e of one atom, or x: m e over sets or relations
(LOGIC.md section 5).
Fields§
§var: VariableThe variable it introduces.
expr: ExprWhat the variable ranges over.
mult: DeclMultHow many tuples it holds.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Decl
impl Freeze for Declwhere
*const ArcInner<Declared> is !null: Freeze,
PhantomData<ArcInner<Declared>>: Freeze,
*const ArcInner<ExprNode> is !null: Freeze,
PhantomData<ArcInner<ExprNode>>: Freeze,
impl Move for Decl
impl RefUnwindSafe for Decl
impl Send for Decl
impl Sync for Decl
impl Unpin for Decl
impl UnsafeUnpin for Declwhere
*const ArcInner<Declared> is !null: UnsafeUnpin,
PhantomData<ArcInner<Declared>>: UnsafeUnpin,
*const ArcInner<ExprNode> is !null: UnsafeUnpin,
PhantomData<ArcInner<ExprNode>>: UnsafeUnpin,
impl UnwindSafe for Decl
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