pub enum ValidationLayers {
Require,
Request,
Disable,
}Expand description
Require, request or disable validation layers.
Variants§
Require
Instance creation will fail if there are no validation layers installed.
Request
If there are validation layers installed, enable them.
Disable
Don’t enable validation layers.
Trait Implementations§
Source§impl Clone for ValidationLayers
impl Clone for ValidationLayers
Source§fn clone(&self) -> ValidationLayers
fn clone(&self) -> ValidationLayers
Returns a duplicate of the value. Read more
1.0.0 · 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 ValidationLayers
impl Debug for ValidationLayers
impl Copy for ValidationLayers
Auto Trait Implementations§
impl Freeze for ValidationLayers
impl RefUnwindSafe for ValidationLayers
impl Send for ValidationLayers
impl Sync for ValidationLayers
impl Unpin for ValidationLayers
impl UnwindSafe for ValidationLayers
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