pub enum ProofPositionSelector {
Default,
Index {
index: u32,
},
AfterText {
text: String,
occurrence: Option<u32>,
},
Entry,
}Expand description
Intent selector for one proof position inside a declaration.
Variants§
Default
The first tactic state — the point after the first tactic has run.
Index
The index-th tactic state — after the index-th tactic has run.
AfterText
The tactic whose source text exactly matches text.
Entry
The goal state before any tactic runs — the pristine entry goal. A proof attempt splices its candidate before the first tactic, so a from-scratch tactic block elaborates against this goal.
Trait Implementations§
Source§impl Clone for ProofPositionSelector
impl Clone for ProofPositionSelector
Source§fn clone(&self) -> ProofPositionSelector
fn clone(&self) -> ProofPositionSelector
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 ProofPositionSelector
impl Debug for ProofPositionSelector
Source§impl Default for ProofPositionSelector
impl Default for ProofPositionSelector
Source§fn default() -> ProofPositionSelector
fn default() -> ProofPositionSelector
Returns the “default value” for a type. Read more
impl Eq for ProofPositionSelector
Source§impl<'lean> IntoLean<'lean> for ProofPositionSelector
impl<'lean> IntoLean<'lean> for ProofPositionSelector
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 PartialEq for ProofPositionSelector
impl PartialEq for ProofPositionSelector
impl StructuralPartialEq for ProofPositionSelector
Auto Trait Implementations§
impl Freeze for ProofPositionSelector
impl RefUnwindSafe for ProofPositionSelector
impl Send for ProofPositionSelector
impl Sync for ProofPositionSelector
impl Unpin for ProofPositionSelector
impl UnsafeUnpin for ProofPositionSelector
impl UnwindSafe for ProofPositionSelector
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