Struct fruitbasket::FruitStopper [] [src]

pub struct FruitStopper { /* fields omitted */ }

An opaque, thread-safe object that can interrupt the run loop.

An object that is safe to pass across thread boundaries (i.e. it implements Send and Sync), and can be used to interrupt and stop the run loop, even when running in 'Forever' mode. It can be Cloned infinite times and used from any thread.

Methods

impl FruitStopper
[src]

Stop the run loop on the FruitApp instance that created this object

This is equivalent to passing the object to FruitApp::stop(). See it for more documentation.

Trait Implementations

impl Clone for FruitStopper
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more