pub trait PresentationTimeHandler: Sized {
    // Required methods
    fn presentation_time_state(&mut self) -> &mut PresentationTimeState;
    fn presented(
        &mut self,
        conn: &Connection,
        qh: &QueueHandle<Self>,
        feedback: &WpPresentationFeedback,
        surface: &WlSurface,
        outputs: Vec<WlOutput>,
        time: PresentTime,
        refresh: u32,
        seq: u64,
        flags: WEnum<Kind>,
    );
    fn discarded(
        &mut self,
        conn: &Connection,
        qh: &QueueHandle<Self>,
        feedback: &WpPresentationFeedback,
        surface: &WlSurface,
    );
}

Required Methods§

source

fn presentation_time_state(&mut self) -> &mut PresentationTimeState

source

fn presented( &mut self, conn: &Connection, qh: &QueueHandle<Self>, feedback: &WpPresentationFeedback, surface: &WlSurface, outputs: Vec<WlOutput>, time: PresentTime, refresh: u32, seq: u64, flags: WEnum<Kind>, )

Content update displayed to user at indicated time

source

fn discarded( &mut self, conn: &Connection, qh: &QueueHandle<Self>, feedback: &WpPresentationFeedback, surface: &WlSurface, )

Content update not displayed

Object Safety§

This trait is not object safe.

Implementors§