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: Time,
        _presented_infos: Vec<PresentedInfo>
    ) { ... }
}

Required Methods§

source

fn on_next_frame_begin( &self, additional_present_credits: u32, future_presentation_infos: Vec<PresentationInfo> )

source

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§

source

fn request_present(&self)

source

fn on_frame_presented( &self, _actual_presentation_time: Time, _presented_infos: Vec<PresentedInfo> )

Implementors§