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: boolTrait 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§
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.