pub enum TryAcquire {
Frame(Frame),
NotReady,
Stale,
NoArea,
}Expand description
what Swapchain::try_acquire found
Variants§
Frame(Frame)
NotReady
no image is free yet, or the display has not answered the last frame: try again later
Stale
the swapchain does not fit the window any more: Swapchain::rebuild first
NoArea
the window is minimised or has no area
Auto Trait Implementations§
impl Forget for TryAcquire
impl Freeze for TryAcquire
impl RefUnwindSafe for TryAcquire
impl Send for TryAcquire
impl Sync for TryAcquire
impl Unpin for TryAcquire
impl UnsafeUnpin for TryAcquire
impl UnwindSafe for TryAcquire
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