pub struct ThroughputScheduler { /* private fields */ }
Implementations§
Source§impl ThroughputScheduler
impl ThroughputScheduler
pub fn new() -> ThroughputScheduler
Trait Implementations§
Source§impl SchedulingLib for ThroughputScheduler
impl SchedulingLib for ThroughputScheduler
fn request_present(&self)
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,
fn on_frame_presented( &self, _actual_presentation_time: MonotonicInstant, _presented_infos: Vec<PresentedInfo>, )
Auto Trait Implementations§
impl !Freeze for ThroughputScheduler
impl !RefUnwindSafe for ThroughputScheduler
impl Send for ThroughputScheduler
impl !Sync for ThroughputScheduler
impl Unpin for ThroughputScheduler
impl UnwindSafe for ThroughputScheduler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more