Enum fungi_lang::ast::CEffect [−][src]
pub enum CEffect { Cons(CType, Effect), ForallType(Var, Kind, CEffectRec), ForallIdx(Var, Sort, Prop, CEffectRec), NoParse(String), }
Computation effects
(TODO: Rename as Effectful Computations
, and put Effect
before
CType
in Cons case).
Variants
Cons(CType, Effect)
ForallType(Var, Kind, CEffectRec)
ForallIdx(Var, Sort, Prop, CEffectRec)
NoParse(String)
Trait Implementations
impl Display for CEffect
[src]
impl Display for CEffect
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for CEffect
[src]
impl Clone for CEffect
fn clone(&self) -> CEffect
[src]
fn clone(&self) -> CEffect
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for CEffect
[src]
impl Debug for CEffect
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for CEffect
[src]
impl Eq for CEffect
impl PartialEq for CEffect
[src]
impl PartialEq for CEffect
fn eq(&self, other: &CEffect) -> bool
[src]
fn eq(&self, other: &CEffect) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CEffect) -> bool
[src]
fn ne(&self, other: &CEffect) -> bool
This method tests for !=
.
impl Hash for CEffect
[src]
impl Hash for CEffect