pub struct ValidationFeaturesEXTBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> ValidationFeaturesEXTBuilder<'a>
impl<'a> ValidationFeaturesEXTBuilder<'a>
pub fn enabled_validation_features( self, enabled_validation_features: &'a [ValidationFeatureEnableEXT], ) -> Self
pub fn disabled_validation_features( self, disabled_validation_features: &'a [ValidationFeatureDisableEXT], ) -> Self
Sourcepub fn build(self) -> ValidationFeaturesEXT
pub fn build(self) -> ValidationFeaturesEXT
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
Source§impl<'a> Deref for ValidationFeaturesEXTBuilder<'a>
impl<'a> Deref for ValidationFeaturesEXTBuilder<'a>
Source§impl<'a> DerefMut for ValidationFeaturesEXTBuilder<'a>
impl<'a> DerefMut for ValidationFeaturesEXTBuilder<'a>
impl ExtendsInstanceCreateInfo for ValidationFeaturesEXTBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for ValidationFeaturesEXTBuilder<'a>
impl<'a> RefUnwindSafe for ValidationFeaturesEXTBuilder<'a>
impl<'a> !Send for ValidationFeaturesEXTBuilder<'a>
impl<'a> !Sync for ValidationFeaturesEXTBuilder<'a>
impl<'a> Unpin for ValidationFeaturesEXTBuilder<'a>
impl<'a> UnwindSafe for ValidationFeaturesEXTBuilder<'a>
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