pub trait VsyncObserver: Send + Sync {
// Required method
fn vsync(&self, at: Instant);
}Expand description
What a VsyncWaiter calls at the refresh it was asked for.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".