pub trait PresentCall: KvarnSendSync {
// Required method
fn call<'a>(
&'a self,
present_data: &'a mut PresentData<'a>,
) -> RetFut<'a, ()>;
}
Expand description
Implement this to pass your extension to Extensions::add_present_file
or
Extensions::add_present_internal
or Extensions::add_present_fn
.
Required Methods§
sourcefn call<'a>(&'a self, present_data: &'a mut PresentData<'a>) -> RetFut<'a, ()>
fn call<'a>(&'a self, present_data: &'a mut PresentData<'a>) -> RetFut<'a, ()>
§Arguments
PresentData
contains all the references to the data needed.