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
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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