Enum fungi_lang::decide::RelCtx
[−]
[src]
pub enum RelCtx { Empty, NVar(RelCtxRec, Var, Var, Sort), IVar(RelCtxRec, Var, Var, Sort), TVar(RelCtxRec, Var, Var, Kind), Equiv(RelCtxRec, IdxTm, IdxTm, Sort), Apart(RelCtxRec, IdxTm, IdxTm, Sort), PropTrue(RelCtxRec, Prop), }
Relational typing context: Relates pairs of variables, terms, etc
Variants
Empty
NVar(RelCtxRec, Var, Var, Sort)
Define a name variable's sort
IVar(RelCtxRec, Var, Var, Sort)
Define an index variable's sort
TVar(RelCtxRec, Var, Var, Kind)
Define a type variable's kind
Equiv(RelCtxRec, IdxTm, IdxTm, Sort)
Assume an index term equivalence, at a common sort
Apart(RelCtxRec, IdxTm, IdxTm, Sort)
Assume an index term apartness, at a common sort
PropTrue(RelCtxRec, Prop)
Assume a proposition is true
Trait Implementations
impl Clone for RelCtx
[src]
fn clone(&self) -> RelCtx
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for RelCtx
[src]
impl Eq for RelCtx
[src]
impl PartialEq for RelCtx
[src]
fn eq(&self, __arg_0: &RelCtx) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RelCtx) -> bool
[src]
This method tests for !=
.