pub enum PresentResult {
QueuedOptimal,
QueuedSuboptimal,
NotQueued(PresentError),
}Expand description
Result of one image in a queue presentation batch.
Variants§
QueuedOptimal
The image was queued and the swapchain remained optimal.
QueuedSuboptimal
The image was queued, but the swapchain should be recreated soon.
NotQueued(PresentError)
The image was not queued for presentation.
Implementations§
Source§impl PresentResult
impl PresentResult
Trait Implementations§
Source§impl Clone for PresentResult
impl Clone for PresentResult
Source§fn clone(&self) -> PresentResult
fn clone(&self) -> PresentResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PresentResult
Source§impl Debug for PresentResult
impl Debug for PresentResult
impl Eq for PresentResult
Source§impl PartialEq for PresentResult
impl PartialEq for PresentResult
Source§fn eq(&self, other: &PresentResult) -> bool
fn eq(&self, other: &PresentResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PresentResult
Auto Trait Implementations§
impl Freeze for PresentResult
impl RefUnwindSafe for PresentResult
impl Send for PresentResult
impl Sync for PresentResult
impl Unpin for PresentResult
impl UnsafeUnpin for PresentResult
impl UnwindSafe for PresentResult
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