pub enum Readiness {
Pending,
Ready,
OnCapture,
}Expand description
How a toolkit establishes freshness for a screenshot.
Variants§
Pending
The main loop must run before the checkpoint can complete.
Ready
The toolkit completed its render checkpoint. The external capture still owns synchronization with the compositor (and must not return a cached image).
OnCapture
The toolkit’s synchronous snapshot operation itself establishes freshness. This does not promise that an external whole-screen capture is ready.
Trait Implementations§
impl Copy for Readiness
impl Eq for Readiness
impl StructuralPartialEq for Readiness
Auto Trait Implementations§
impl Freeze for Readiness
impl RefUnwindSafe for Readiness
impl Send for Readiness
impl Sync for Readiness
impl Unpin for Readiness
impl UnsafeUnpin for Readiness
impl UnwindSafe for Readiness
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