Trait cavalier_contours::core::traits::ControlFlow
source · pub trait ControlFlow {
// Required methods
fn continuing() -> Self;
fn should_break(&self) -> bool;
}
Expand description
Trait for control flow inside visiting methods.
Required Methods§
sourcefn continuing() -> Self
fn continuing() -> Self
Constructs state indicating to continue.
sourcefn should_break(&self) -> bool
fn should_break(&self) -> bool
Should return true if control flow should break.
Object Safety§
This trait is not object safe.