pub trait AsCallback: Send + Sync {
// Required methods
fn get_id(&self) -> CallbackId;
fn get_fn(&self) -> &Function;
}Expand description
Trait allowing to bind a generic Callback struct
with a CallbackId identifier.
pub trait AsCallback: Send + Sync {
// Required methods
fn get_id(&self) -> CallbackId;
fn get_fn(&self) -> &Function;
}Trait allowing to bind a generic Callback struct
with a CallbackId identifier.