pub struct LeanProgressTick {
pub current: u64,
pub total: u64,
}Expand description
Counter payload for progress-like callback ticks.
lean-rs-host maps this payload into host progress events; lean-rs
itself attaches no theorem-prover policy to the counters.
Fields§
§current: u64Current item, tick, or phase-local counter supplied by Lean.
total: u64Total item count or phase-local bound supplied by Lean.
Trait Implementations§
Source§impl Clone for LeanProgressTick
impl Clone for LeanProgressTick
Source§fn clone(&self) -> LeanProgressTick
fn clone(&self) -> LeanProgressTick
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 LeanProgressTick
impl Debug for LeanProgressTick
Source§impl PartialEq for LeanProgressTick
impl PartialEq for LeanProgressTick
Source§fn eq(&self, other: &LeanProgressTick) -> bool
fn eq(&self, other: &LeanProgressTick) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LeanProgressTick
impl Eq for LeanProgressTick
impl LeanCallbackPayload for LeanProgressTick
impl StructuralPartialEq for LeanProgressTick
Auto Trait Implementations§
impl Freeze for LeanProgressTick
impl RefUnwindSafe for LeanProgressTick
impl Send for LeanProgressTick
impl Sync for LeanProgressTick
impl Unpin for LeanProgressTick
impl UnsafeUnpin for LeanProgressTick
impl UnwindSafe for LeanProgressTick
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