pub struct WizardStep {
pub multi_select: bool,
pub title: String,
pub question: String,
pub items: Vec<InlineListItem>,
pub completed: bool,
pub answer: Option<InlineListSelection>,
pub allow_freeform: bool,
pub freeform_label: Option<String>,
pub freeform_placeholder: Option<String>,
pub mask_input: bool,
pub freeform_default: Option<String>,
}Expand description
A single step in a wizard modal flow.
Fields§
§multi_select: boolWhether options can be checked independently.
title: StringTitle displayed in the tab header.
question: StringQuestion or instruction shown above the list.
items: Vec<InlineListItem>Selectable items for this step.
completed: boolWhether this step has been completed.
answer: Option<InlineListSelection>The selected answer for this step (if completed).
allow_freeform: bool§freeform_label: Option<String>§freeform_placeholder: Option<String>§mask_input: boolConceal freeform input wherever the wizard displays it.
freeform_default: Option<String>Trait Implementations§
Source§impl Clone for WizardStep
impl Clone for WizardStep
Auto Trait Implementations§
impl Forget for WizardStep
impl Freeze for WizardStepwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<InlineListItem>: Freeze,
PhantomData<String>: Freeze,
impl Move for WizardStep
impl RefUnwindSafe for WizardStep
impl Send for WizardStepwhere
RawVecInner: Send,
impl Sync for WizardStepwhere
RawVecInner: Sync,
impl Unpin for WizardStep
impl UnsafeUnpin for WizardStepwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<InlineListItem>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for WizardStepwhere
RawVecInner: UnwindSafe,
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