pub struct ProofStateInfo {
pub declaration_name: Option<String>,
pub namespace_name: String,
pub safe_edit: Option<DeclarationTargetInfo>,
pub span: ModuleSourceSpan,
pub goals_before: Vec<String>,
pub goals_after: Vec<String>,
pub locals: Vec<LocalInfo>,
pub expected_type: Option<RenderedInfo>,
pub truncated: bool,
pub proof_boundaries: Vec<ProofBoundaryCandidate>,
pub proof_boundaries_truncated: bool,
}Expand description
Proof-state payload for one cursor.
Fields§
§declaration_name: Option<String>§namespace_name: String§safe_edit: Option<DeclarationTargetInfo>§span: ModuleSourceSpan§goals_before: Vec<String>§goals_after: Vec<String>§locals: Vec<LocalInfo>§expected_type: Option<RenderedInfo>§truncated: bool§proof_boundaries: Vec<ProofBoundaryCandidate>§proof_boundaries_truncated: boolTrait Implementations§
Source§impl Clone for ProofStateInfo
impl Clone for ProofStateInfo
Source§fn clone(&self) -> ProofStateInfo
fn clone(&self) -> ProofStateInfo
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 ProofStateInfo
impl Debug for ProofStateInfo
impl Eq for ProofStateInfo
Source§impl PartialEq for ProofStateInfo
impl PartialEq for ProofStateInfo
impl StructuralPartialEq for ProofStateInfo
Source§impl<'lean> TryFromLean<'lean> for ProofStateInfo
impl<'lean> TryFromLean<'lean> for ProofStateInfo
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 ProofStateInfo
impl RefUnwindSafe for ProofStateInfo
impl Send for ProofStateInfo
impl Sync for ProofStateInfo
impl Unpin for ProofStateInfo
impl UnsafeUnpin for ProofStateInfo
impl UnwindSafe for ProofStateInfo
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