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]
fn stop(&self)
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]
fn clone(&self) -> FruitStopper
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more