pub enum ModuleQuerySelector {
Diagnostics {
id: String,
},
ProofState {
id: String,
line: u32,
column: u32,
},
ProofStateInDeclaration {
id: String,
declaration: String,
position: ProofPositionSelector,
locals_raw: bool,
},
TypeAt {
id: String,
line: u32,
column: u32,
},
References {
id: String,
name: String,
},
DeclarationTarget {
id: String,
name: Option<String>,
line: Option<u32>,
column: Option<u32>,
},
SurroundingDeclaration {
id: String,
line: u32,
column: u32,
},
DeclarationOutline {
id: String,
},
}Expand description
One selector inside a batched module-processing request.
Variants§
Diagnostics
ProofState
ProofStateInDeclaration
Fields
§
position: ProofPositionSelectorTypeAt
References
DeclarationTarget
SurroundingDeclaration
DeclarationOutline
Implementations§
Trait Implementations§
Source§impl Clone for ModuleQuerySelector
impl Clone for ModuleQuerySelector
Source§fn clone(&self) -> ModuleQuerySelector
fn clone(&self) -> ModuleQuerySelector
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 ModuleQuerySelector
impl Debug for ModuleQuerySelector
impl Eq for ModuleQuerySelector
Source§impl<'lean> IntoLean<'lean> for ModuleQuerySelector
impl<'lean> IntoLean<'lean> for ModuleQuerySelector
Source§fn into_lean(self, runtime: &'lean LeanRuntime) -> Obj<'lean>
fn into_lean(self, runtime: &'lean LeanRuntime) -> Obj<'lean>
Allocate (or scalar-box) a Lean representation of
self and return
the owned handle.Source§impl<'lean> LeanAbi<'lean> for ModuleQuerySelector
impl<'lean> LeanAbi<'lean> for ModuleQuerySelector
Source§impl PartialEq for ModuleQuerySelector
impl PartialEq for ModuleQuerySelector
Source§fn eq(&self, other: &ModuleQuerySelector) -> bool
fn eq(&self, other: &ModuleQuerySelector) -> bool
Tests for
self and other values to be equal, and is used by ==.impl SealedAbi for ModuleQuerySelector
impl StructuralPartialEq for ModuleQuerySelector
Source§impl<'lean> TryFromLean<'lean> for ModuleQuerySelector
impl<'lean> TryFromLean<'lean> for ModuleQuerySelector
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 ModuleQuerySelector
impl RefUnwindSafe for ModuleQuerySelector
impl Send for ModuleQuerySelector
impl Sync for ModuleQuerySelector
impl Unpin for ModuleQuerySelector
impl UnsafeUnpin for ModuleQuerySelector
impl UnwindSafe for ModuleQuerySelector
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<'lean, T> DecodeCallResult<'lean> for Twhere
T: LeanAbi<'lean>,
impl<'lean, T> DecodeCallResult<'lean> for Twhere
T: LeanAbi<'lean>,
const EXPECTS_IO_RESULT: bool = false
Source§type CRepr = <T as LeanAbi<'lean>>::CRepr
type CRepr = <T as LeanAbi<'lean>>::CRepr
The C-ABI return type of the Lake-emitted function. For the pure
path this is
T::CRepr (e.g. u8 for Bool exports, *mut lean_object for String); for the IO path it is always
*mut lean_object (the lean_io_result_* wrapper).