#[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
) -> PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a>
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.
sourcefn deref(
&self
) -> &<PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a> as Deref>::Target
fn deref(
&self
) -> &<PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a> as Deref>::Target
Mutably dereferences the value.
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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more