Struct glib::source::Continue [−][src]
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 UnwindSafe for Continue
Blanket Implementations
Mutably borrows from an owned value. Read more