pub struct SetupState {
pub input: TextInput,
pub completions: Vec<String>,
pub selected_completion: Option<usize>,
pub dirs: Vec<String>,
}Expand description
Setup wizard state
Fields§
§input: TextInputCurrent text input with cursor
completions: Vec<String>Current filesystem completions
selected_completion: Option<usize>Which completion is highlighted
dirs: Vec<String>Directories added so far
Implementations§
Source§impl SetupState
impl SetupState
Trait Implementations§
Source§impl Clone for SetupState
impl Clone for SetupState
Source§fn clone(&self) -> SetupState
fn clone(&self) -> SetupState
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 moreSource§impl Debug for SetupState
impl Debug for SetupState
Auto Trait Implementations§
impl Freeze for SetupState
impl RefUnwindSafe for SetupState
impl Send for SetupState
impl Sync for SetupState
impl Unpin for SetupState
impl UnsafeUnpin for SetupState
impl UnwindSafe for SetupState
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