#[repr(transparent)]pub struct PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a>
impl<'a> PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a>
pub fn device_generated_commands(self, device_generated_commands: bool) -> Self
sourcepub fn build(self) -> PhysicalDeviceDeviceGeneratedCommandsFeaturesNV
pub fn build(self) -> PhysicalDeviceDeviceGeneratedCommandsFeaturesNV
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
sourceimpl<'a> Deref for PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a>
impl<'a> Deref for PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a>
type Target = PhysicalDeviceDeviceGeneratedCommandsFeaturesNV
type Target = PhysicalDeviceDeviceGeneratedCommandsFeaturesNV
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a>
impl<'a> !Send for PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a>
impl<'a> !Sync for PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a>
impl<'a> Unpin for PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a>
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