pub enum ControlFlow {
Continue,
Break,
}
Expand description
Used to tell a query whether it should exit early or go on as usual.
Variants§
Implementations§
source§impl ControlFlow
impl ControlFlow
pub fn and_then(self, f: impl FnOnce() -> ControlFlow) -> ControlFlow
Trait Implementations§
source§impl Clone for ControlFlow
impl Clone for ControlFlow
source§fn clone(&self) -> ControlFlow
fn clone(&self) -> ControlFlow
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ControlFlow
impl Debug for ControlFlow
source§impl PartialEq<ControlFlow> for ControlFlow
impl PartialEq<ControlFlow> for ControlFlow
source§fn eq(&self, other: &ControlFlow) -> bool
fn eq(&self, other: &ControlFlow) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.