Trait CallBackData

Source
pub trait CallBackData: Clone + Debug { }
Expand description

Callback data trait

This trait represents data that can be returned from functions that are used to control the solver’s execution flow. The Clone and Debug traits are required for internal use but anything that implements this trait can be used as callback data. For example, this can be a string, a number, or any other type that implements the Clone and Debug traits.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§