pub enum SwapchainImagePresentStatus {
Pending,
RanToCompletion,
Canceled,
Faulted,
}Expand description
The state of the last presentation of a swapchain image.
Variants§
Pending
The presentation has not completed yet.
RanToCompletion
The presentation completed successfully.
Canceled
The presentation was canceled.
Faulted
The presentation failed.
Trait Implementations§
Source§impl Clone for SwapchainImagePresentStatus
impl Clone for SwapchainImagePresentStatus
impl Copy for SwapchainImagePresentStatus
Source§impl Debug for SwapchainImagePresentStatus
impl Debug for SwapchainImagePresentStatus
impl Eq for SwapchainImagePresentStatus
Source§impl Hash for SwapchainImagePresentStatus
impl Hash for SwapchainImagePresentStatus
impl StructuralPartialEq for SwapchainImagePresentStatus
Auto Trait Implementations§
impl Freeze for SwapchainImagePresentStatus
impl RefUnwindSafe for SwapchainImagePresentStatus
impl Send for SwapchainImagePresentStatus
impl Sync for SwapchainImagePresentStatus
impl Unpin for SwapchainImagePresentStatus
impl UnsafeUnpin for SwapchainImagePresentStatus
impl UnwindSafe for SwapchainImagePresentStatus
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more