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§
fn presentation_time_state(&mut self) -> &mut PresentationTimeState
Object Safety§
This trait is not object safe.