pub enum StartGate {
Immediately,
WindowVisible,
After(Duration),
}Expand description
When the flush observer may start flushing. Flushing the first frames while the window is still being put on screen lost the last startup frame in the spike (the window kept a stale frame until the next redraw).
Variants§
Immediately
Flush from the first frame.
WindowVisible
Once the window reports itself visible (occlusion state).
After(Duration)
A fixed delay after the first observed draw (the spike’s workaround).
Trait Implementations§
impl Copy for StartGate
impl StructuralPartialEq for StartGate
Auto Trait Implementations§
impl Freeze for StartGate
impl RefUnwindSafe for StartGate
impl Send for StartGate
impl Sync for StartGate
impl Unpin for StartGate
impl UnsafeUnpin for StartGate
impl UnwindSafe for StartGate
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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