pub struct Continue(pub bool);
Expand description
Continue calling the closure in the future iterations or drop it.
This is the return type of idle_add
and timeout_add
closures.
Continue(true)
keeps the closure assigned, to be rerun when appropriate.
Continue(false)
disconnects and drops it.
Tuple Fields
0: bool
Trait Implementations
impl Copy for Continue
impl Eq for Continue
impl StructuralEq for Continue
impl StructuralPartialEq for Continue
Auto Trait Implementations
impl RefUnwindSafe for Continue
impl Send for Continue
impl Sync for Continue
impl Unpin for Continue
impl UnwindSafe for Continue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more