pub struct LocalInfo {
pub name: String,
pub binder_info: String,
pub type_str: RenderedInfo,
pub value: Option<RenderedInfo>,
}Expand description
One rendered local declaration in a proof-state result.
Fields§
§name: String§binder_info: String§type_str: RenderedInfo§value: Option<RenderedInfo>Trait Implementations§
impl Eq for LocalInfo
impl StructuralPartialEq for LocalInfo
Source§impl<'lean> TryFromLean<'lean> for LocalInfo
impl<'lean> TryFromLean<'lean> for LocalInfo
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 LocalInfo
impl RefUnwindSafe for LocalInfo
impl Send for LocalInfo
impl Sync for LocalInfo
impl Unpin for LocalInfo
impl UnsafeUnpin for LocalInfo
impl UnwindSafe for LocalInfo
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