pub struct ProgressContext { /* private fields */ }Expand description
Encapsulates runtime state for progress evaluation.
Implementations§
Source§impl ProgressContext
impl ProgressContext
pub fn new(answers: Value, ctx: &Value) -> Self
pub fn answered_count( &self, spec: &FormSpec, visibility: &VisibilityMap, ) -> usize
Trait Implementations§
Source§impl Clone for ProgressContext
impl Clone for ProgressContext
Source§fn clone(&self) -> ProgressContext
fn clone(&self) -> ProgressContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProgressContext
impl RefUnwindSafe for ProgressContext
impl Send for ProgressContext
impl Sync for ProgressContext
impl Unpin for ProgressContext
impl UnwindSafe for ProgressContext
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