pub struct PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'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§
Source§impl<'a> Deref for PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a>
impl<'a> Deref for PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a>
Source§impl<'a> DerefMut for PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a>
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§
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