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
sourceimpl PartialEq<Continue> for Continue
impl PartialEq<Continue> for Continue
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