[][src]Enum agda_mode::resp::DisplayInfo

pub enum DisplayInfo {
    CompilationOk {
        warnings: String,
        errors: String,
    },
    Constraints {
        constraints: Vec<OutputForm>,
    },
    AllGoalsWarnings(AllGoalsWarnings),
    Time {
        time: String,
    },
    Error(AgdaError),
    IntroNotFound,
    IntroConstructorUnknown {
        constructors: Vec<String>,
    },
    Auto {
        info: String,
    },
    ModuleContents(ModuleContents),
    SearchAbout {
        search: String,
        results: Vec<NamedPrettyTCM>,
    },
    WhyInScope {
        thing: String,
        filepath: String,
        message: String,
    },
    NormalForm(NormalForm),
    InferredType(InferredType),
    Context(Context),
    Version {
        version: String,
    },
    GoalSpecific(GoalSpecific),
}

Something that is displayed in the Emacs mode, serialized with more details.

Variants

CompilationOk

Fields of CompilationOk

warnings: Stringerrors: String
Constraints

Fields of Constraints

constraints: Vec<OutputForm>
AllGoalsWarnings(AllGoalsWarnings)
Time

Fields of Time

time: String
Error(AgdaError)
IntroNotFound
IntroConstructorUnknown

Fields of IntroConstructorUnknown

constructors: Vec<String>

Available constructors

Auto

Fields of Auto

info: String
ModuleContents(ModuleContents)
SearchAbout

Fields of SearchAbout

search: Stringresults: Vec<NamedPrettyTCM>
WhyInScope

Fields of WhyInScope

thing: Stringfilepath: Stringmessage: String
NormalForm(NormalForm)
InferredType(InferredType)
Context(Context)
Version

Fields of Version

version: String
GoalSpecific(GoalSpecific)

Trait Implementations

impl Clone for DisplayInfo[src]

impl Debug for DisplayInfo[src]

impl<'de> Deserialize<'de> for DisplayInfo[src]

impl Eq for DisplayInfo[src]

impl PartialEq<DisplayInfo> for DisplayInfo[src]

impl StructuralEq for DisplayInfo[src]

impl StructuralPartialEq for DisplayInfo[src]

Auto Trait Implementations

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, 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.