pub struct EuvStepsProps {
pub steps: Vec<EuvStep>,
pub current: Signal<usize>,
}Expand description
Props for the euv_steps component.
The progress position is owned by the caller through a Signal<usize>
so advancing the stepper re-renders only the marker and class of each
step instead of rebuilding the list.
Fields§
§steps: Vec<EuvStep>The ordered steps to render; an empty list renders an empty row.
current: Signal<usize>The index of the step currently in progress.
Implementations§
Source§impl EuvStepsProps
impl EuvStepsProps
pub fn get_steps(&self) -> &Vec<EuvStep>
pub fn get_mut_steps(&mut self) -> &mut Vec<EuvStep>
pub fn set_steps(&mut self, val: Vec<EuvStep>) -> &mut Self
pub fn get_current(&self) -> Signal<usize>
pub fn get_mut_current(&mut self) -> &mut Signal<usize>
pub fn set_current(&mut self, val: Signal<usize>) -> &mut Self
Trait Implementations§
Source§impl Clone for EuvStepsProps
impl Clone for EuvStepsProps
Source§impl Debug for EuvStepsProps
impl Debug for EuvStepsProps
Auto Trait Implementations§
impl Freeze for EuvStepsProps
impl RefUnwindSafe for EuvStepsProps
impl Send for EuvStepsProps
impl Sync for EuvStepsProps
impl Unpin for EuvStepsProps
impl UnsafeUnpin for EuvStepsProps
impl UnwindSafe for EuvStepsProps
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