Enum live_reload::ShouldQuit
[−]
[src]
pub enum ShouldQuit { No, Yes, }
Should the main program quit? More self-documenting than a boolean!
This type is returned by the update
method, since with a boolean it's
often unclear if true
means "should continue" or "should quit".
Variants
No
The wrapped library thinks the main program should continue running.
Yes
The wrapped library thinks the main program should quit now.
Trait Implementations
impl Debug for ShouldQuit
[src]
impl PartialEq for ShouldQuit
[src]
fn eq(&self, __arg_0: &ShouldQuit) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.