Skip to main content

Terminator

Trait Terminator 

Source
pub trait Terminator {
    // Required method
    fn terminated(&mut self) -> bool;
}
Expand description

Connected terminators are checked for termination regularly. If the ‘terminate’ function of the terminator returns true the solver is terminated synchronously as soon it calls this function.

Required Methods§

Source

fn terminated(&mut self) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: Terminator> Terminator for Rc<RefCell<T>>

Source§

fn terminated(&mut self) -> bool

Implementors§