Enum draw2d::graphics::frame_context::SwapchainState [−][src]
pub enum SwapchainState { Ok, NeedsRebuild, }
Expand description
An enum used by the frame context to signal when the swapchain needs to be rebuilt.
Variants
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SwapchainState
impl Send for SwapchainState
impl Sync for SwapchainState
impl Unpin for SwapchainState
impl UnwindSafe for SwapchainState
Blanket Implementations
Mutably borrows from an owned value. Read more
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
Checks if self
is actually part of its subset T
(and can be converted to it).
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
The inclusion map: converts self
to the equivalent element of its superset.