pub trait SchedulingLib {
// Required methods
fn on_next_frame_begin(
&self,
additional_present_credits: u32,
future_presentation_infos: Vec<PresentationInfo>,
);
fn wait_to_update<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = PresentParameters> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
// Provided methods
fn request_present(&self) { ... }
fn on_frame_presented(
&self,
_actual_presentation_time: MonotonicInstant,
_presented_infos: Vec<PresentedInfo>,
) { ... }
}