Struct gfx_hal::window::Suboptimal
source · [−]pub struct Suboptimal;
Expand description
Marker value returned if the swapchain no longer matches the surface properties exactly, but can still be used to present to the surface successfully.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Suboptimal
impl Send for Suboptimal
impl Sync for Suboptimal
impl Unpin for Suboptimal
impl UnwindSafe for Suboptimal
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more