Trait ori_core::BindCallback
source · pub trait BindCallback {
type Event;
// Required method
fn bind<'a>(
&mut self,
cx: Scope<'a>,
callback: impl FnMut(&Self::Event) + Sendable + 'a
);
}
pub trait BindCallback {
type Event;
// Required method
fn bind<'a>(
&mut self,
cx: Scope<'a>,
callback: impl FnMut(&Self::Event) + Sendable + 'a
);
}