[][src]Enum agda_mode::resp::OutputConstraint

pub enum OutputConstraint<Obj> {
    OfType(OfType<Obj>),
    CmpInType {
        constraint_objs: (Obj, Obj),
        of_type: String,
        comparison: Comparison,
    },
    CmpElim {
        constraint_objs: (Vec<Obj>, Vec<Obj>),
        of_type: String,
        polarities: Vec<Polarity>,
    },
    JustType(JustSomething<Obj>),
    JustSort(JustSomething<Obj>),
    CmpTypes(CmpSomething<Obj>),
    CmpLevels(CmpSomething<Obj>),
    CmpTeles(CmpSomething<Obj>),
    CmpSorts(CmpSomething<Obj>),
    Guard {
        constraint: Box<OutputConstraint<Obj>>,
        problem: ProblemId,
    },
    Assign {
        constraint_obj: Obj,
        value: String,
    },
    TypedAssign(TypedAssign<Obj>),
    PostponedCheckArgs(PostponedCheckArgs<Obj>),
    IsEmptyType {
        the_type: String,
    },
    SizeLtSat {
        the_type: String,
    },
    FindInstanceOF(FindInstanceOF<Obj>),
    PTSInstance {
        constraint_objs: (Obj, Obj),
    },
    PostponedCheckFunDef {
        name: String,
        of_type: String,
    },
}

Variants

OfType(OfType<Obj>)
CmpInType

Fields of CmpInType

constraint_objs: (Obj, Obj)of_type: Stringcomparison: Comparison
CmpElim

Fields of CmpElim

constraint_objs: (Vec<Obj>, Vec<Obj>)of_type: Stringpolarities: Vec<Polarity>
JustType(JustSomething<Obj>)
JustSort(JustSomething<Obj>)
CmpTypes(CmpSomething<Obj>)
CmpLevels(CmpSomething<Obj>)
CmpTeles(CmpSomething<Obj>)
CmpSorts(CmpSomething<Obj>)
Guard

Fields of Guard

constraint: Box<OutputConstraint<Obj>>problem: ProblemId
Assign

Fields of Assign

constraint_obj: Objvalue: String
TypedAssign(TypedAssign<Obj>)
PostponedCheckArgs(PostponedCheckArgs<Obj>)
IsEmptyType

Fields of IsEmptyType

the_type: String
SizeLtSat

Fields of SizeLtSat

the_type: String
FindInstanceOF(FindInstanceOF<Obj>)
PTSInstance

Fields of PTSInstance

constraint_objs: (Obj, Obj)
PostponedCheckFunDef

Fields of PostponedCheckFunDef

name: Stringof_type: String

Implementations

impl<Obj> OutputConstraint<Obj>[src]

pub fn try_into_of_type(self) -> Result<OfType<Obj>, Self>[src]

pub fn try_as_of_type(&self) -> Result<&OfType<Obj>, &Self>[src]

Trait Implementations

impl<Obj: Clone> Clone for OutputConstraint<Obj>[src]

impl<Obj> CollectObjs<Obj> for OutputConstraint<Obj>[src]

impl<Obj: Debug> Debug for OutputConstraint<Obj>[src]

impl<'de, Obj> Deserialize<'de> for OutputConstraint<Obj> where
    Obj: Deserialize<'de>, 
[src]

impl<Obj: Display + Debug> Display for OutputConstraint<Obj>[src]

impl<Obj: Eq> Eq for OutputConstraint<Obj>[src]

impl<Obj: PartialEq> PartialEq<OutputConstraint<Obj>> for OutputConstraint<Obj>[src]

impl<Obj> StructuralEq for OutputConstraint<Obj>[src]

impl<Obj> StructuralPartialEq for OutputConstraint<Obj>[src]

Auto Trait Implementations

impl<Obj> RefUnwindSafe for OutputConstraint<Obj> where
    Obj: RefUnwindSafe

impl<Obj> Send for OutputConstraint<Obj> where
    Obj: Send

impl<Obj> Sync for OutputConstraint<Obj> where
    Obj: Sync

impl<Obj> Unpin for OutputConstraint<Obj> where
    Obj: Unpin

impl<Obj> UnwindSafe for OutputConstraint<Obj> where
    Obj: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.