pub enum ModuleQueryBatchResult {
Diagnostics(LeanElabFailure),
ProofState(ProofStateResult),
TypeAt(TypeAtResult),
References(ReferencesResult),
DeclarationTarget(DeclarationTargetResult),
SurroundingDeclaration(SurroundingDeclarationResult),
DeclarationOutline(DeclarationOutlineResult),
}Expand description
Typed payload returned by one successful batch selector.
Variants§
Diagnostics(LeanElabFailure)
ProofState(ProofStateResult)
TypeAt(TypeAtResult)
References(ReferencesResult)
DeclarationTarget(DeclarationTargetResult)
SurroundingDeclaration(SurroundingDeclarationResult)
DeclarationOutline(DeclarationOutlineResult)
Trait Implementations§
Source§impl Clone for ModuleQueryBatchResult
impl Clone for ModuleQueryBatchResult
Source§fn clone(&self) -> ModuleQueryBatchResult
fn clone(&self) -> ModuleQueryBatchResult
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 ModuleQueryBatchResult
impl Debug for ModuleQueryBatchResult
Source§impl<'lean> TryFromLean<'lean> for ModuleQueryBatchResult
impl<'lean> TryFromLean<'lean> for ModuleQueryBatchResult
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 ModuleQueryBatchResult
impl RefUnwindSafe for ModuleQueryBatchResult
impl Send for ModuleQueryBatchResult
impl Sync for ModuleQueryBatchResult
impl Unpin for ModuleQueryBatchResult
impl UnsafeUnpin for ModuleQueryBatchResult
impl UnwindSafe for ModuleQueryBatchResult
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