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

The wrapped library thinks the main program should continue running.

The wrapped library thinks the main program should quit now.

Trait Implementations

impl Debug for ShouldQuit
[src]

Formats the value using the given formatter.

impl PartialEq for ShouldQuit
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ShouldQuit
[src]