pub struct StepperState {
pub active: usize,
pub completed_mask: u64,
}Expand description
Caller-owned state for Frame::stepper.
Fields§
§active: usize§completed_mask: u64Implementations§
Source§impl StepperState
impl StepperState
pub fn is_completed(&self, index: usize) -> bool
pub fn set_completed(&mut self, index: usize, done: bool)
Trait Implementations§
Source§impl Clone for StepperState
impl Clone for StepperState
impl Copy for StepperState
Source§impl Debug for StepperState
impl Debug for StepperState
Source§impl Default for StepperState
impl Default for StepperState
impl Eq for StepperState
Source§impl PartialEq for StepperState
impl PartialEq for StepperState
impl StructuralPartialEq for StepperState
Auto Trait Implementations§
impl Forget for StepperState
impl Freeze for StepperState
impl Move for StepperState
impl RefUnwindSafe for StepperState
impl Send for StepperState
impl Sync for StepperState
impl Unpin for StepperState
impl UnsafeUnpin for StepperState
impl UnwindSafe for StepperState
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