pub enum GoalAtResult {
Goal {
span: ModuleSourceSpan,
goals_before: Vec<String>,
goals_after: Vec<String>,
truncated: bool,
},
NoTacticContext,
}Expand description
Result for ModuleQuery::GoalAt.
Variants§
Trait Implementations§
Source§impl Clone for GoalAtResult
impl Clone for GoalAtResult
Source§fn clone(&self) -> GoalAtResult
fn clone(&self) -> GoalAtResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GoalAtResult
impl Debug for GoalAtResult
impl Eq for GoalAtResult
Source§impl PartialEq for GoalAtResult
impl PartialEq for GoalAtResult
Source§fn eq(&self, other: &GoalAtResult) -> bool
fn eq(&self, other: &GoalAtResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GoalAtResult
Source§impl<'lean> TryFromLean<'lean> for GoalAtResult
impl<'lean> TryFromLean<'lean> for GoalAtResult
Source§fn try_from_lean(obj: Obj<'lean>) -> LeanResult<Self>
fn try_from_lean(obj: Obj<'lean>) -> LeanResult<Self>
Decode
obj into Self, returning a
LeanError::Host with stage
[HostStage::Conversion] if the object’s kind or payload is
outside the type’s representable range. Read moreAuto Trait Implementations§
impl Freeze for GoalAtResult
impl RefUnwindSafe for GoalAtResult
impl Send for GoalAtResult
impl Sync for GoalAtResult
impl Unpin for GoalAtResult
impl UnsafeUnpin for GoalAtResult
impl UnwindSafe for GoalAtResult
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