pub enum ProofPositionSelector {
Default,
Index {
index: u32,
},
AfterText {
text: String,
occurrence: Option<u32>,
},
}Expand description
Intent selector for one proof position inside a declaration.
Variants§
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
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
Source§fn eq(&self, other: &ProofPositionSelector) -> bool
fn eq(&self, other: &ProofPositionSelector) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq 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