pub struct WizardStateHandle { /* private fields */ }Expand description
Wizard state handle with methods for state manipulation
Implementations§
Source§impl WizardStateHandle
impl WizardStateHandle
Sourcepub fn get(&self) -> WizardState
pub fn get(&self) -> WizardState
Get current state
Sourcepub fn go_to(&self, step: WizardStep)
pub fn go_to(&self, step: WizardStep)
Jump to a specific step if accessible
Sourcepub fn set_instance(&self, instance: Option<String>)
pub fn set_instance(&self, instance: Option<String>)
Set selected instance
Sourcepub fn set_parameter(&self, name: String, value: Value)
pub fn set_parameter(&self, name: String, value: Value)
Update a parameter value
Sourcepub fn set_validation_errors(&self, errors: HashMap<String, String>)
pub fn set_validation_errors(&self, errors: HashMap<String, String>)
Set validation errors
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WizardStateHandle
impl !RefUnwindSafe for WizardStateHandle
impl !Send for WizardStateHandle
impl !Sync for WizardStateHandle
impl Unpin for WizardStateHandle
impl !UnwindSafe for WizardStateHandle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.