Struct glib::source::Continue [−][src]
pub struct Continue(pub bool);
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.