Enum ccthw::graphics::vulkan_api::FrameStatus
source · pub enum FrameStatus {
FrameAcquired(Frame),
SwapchainNeedsRebuild,
}
Expand description
The result of a call to FramesInFlight::acquire_frame.
Variants§
FrameAcquired(Frame)
The frame is acquired and ready for commands.
SwapchainNeedsRebuild
No frame could be acquired because the swapchain needs to be rebuilt.
Auto Trait Implementations§
impl RefUnwindSafe for FrameStatus
impl !Send for FrameStatus
impl !Sync for FrameStatus
impl Unpin for FrameStatus
impl UnwindSafe for FrameStatus
Blanket Implementations§
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.