pub enum PresentResult {
Success,
Suboptimal,
}Variants§
Success
All requests presented successfully.
Suboptimal
The presentation was suboptimal, but the swapchain can still be used.
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 moreSource§impl Debug for PresentResult
impl Debug 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 Copy for PresentResult
impl Eq for PresentResult
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