pub enum Resp {
HighlightingInfo(HighlightingInfo),
Status {
status: Status,
},
JumpToError {
filepath: String,
position: i32,
},
InteractionPoints {
interaction_points: Vec<InteractionPoint>,
},
GiveAction(GiveAction),
MakeCase(MakeCase),
SolveAll {
solutions: Vec<OneSolution>,
},
DisplayInfo {
info: Option<DisplayInfo>,
},
RunningInfo {
debug_level: i32,
message: String,
},
ClearRunningInfo,
ClearHighlighting {
token_based: TokenBased,
},
DoneAborting,
}
Expand description
Agda response.
Variants§
HighlightingInfo(HighlightingInfo)
Status
JumpToError
InteractionPoints
Fields
§
interaction_points: Vec<InteractionPoint>
GiveAction(GiveAction)
MakeCase(MakeCase)
Response is list of printed clauses.
SolveAll
Solution for one or more meta-variables.
Fields
§
solutions: Vec<OneSolution>
DisplayInfo
Fields
§
info: Option<DisplayInfo>
RunningInfo
The integer is the message’s debug level.
ClearRunningInfo
ClearHighlighting
Clear highlighting of the given kind.
Fields
§
token_based: TokenBased
DoneAborting
A command sent when an abort command has completed successfully.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Resp
impl<'de> Deserialize<'de> for Resp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Resp
impl StructuralPartialEq for Resp
Auto Trait Implementations§
impl Freeze for Resp
impl RefUnwindSafe for Resp
impl Send for Resp
impl Sync for Resp
impl Unpin for Resp
impl UnwindSafe for Resp
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more