Trait spair::prelude::TraitCallbackArg
source · pub trait TraitCallbackArg<A> {
fn call(&self, a: A);
fn queue(&self, a: A);
fn emit(&self, a: A);
}
Required Methods
sourcefn call(&self, a: A)
fn call(&self, a: A)
This method executes the callback immediately. But it may fail if the related component is already in progress of updating or rendering (it means that the component is being borrowed).