pub enum SetupMsg {
Appearance(AppearanceChange),
Install,
Installing(Progress),
Back,
Next,
Step(usize),
Finish,
}Expand description
Something that happened on the first step of a SetupWizard, or on its buttons. Every one of
them goes to Setup::update; the application never answers one itself.
Variants§
Appearance(AppearanceChange)
A row of the appearance step was changed.
Install
The Nerd Font symbols were asked for.
Installing(Progress)
A step of the running install.
Back
Back: the step before this one.
Next
Next: the step after this one.
Step(usize)
A finished step was chosen from the steps on top.
Finish
The wizard is over: what was chosen is written, and the application is told with the
message of Setup::on_finish. “Start with the defaults” sends it from the first step.
Trait Implementations§
impl StructuralPartialEq for SetupMsg
Auto Trait Implementations§
impl Freeze for SetupMsg
impl RefUnwindSafe for SetupMsg
impl Send for SetupMsg
impl Sync for SetupMsg
impl Unpin for SetupMsg
impl UnsafeUnpin for SetupMsg
impl UnwindSafe for SetupMsg
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more