#[repr(transparent)]pub struct PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a>
impl<'a> PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a>
pub fn max_graphics_shader_group_count(
self,
max_graphics_shader_group_count: u32
) -> PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a>
pub fn max_indirect_sequence_count(
self,
max_indirect_sequence_count: u32
) -> PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a>
pub fn max_indirect_commands_token_count(
self,
max_indirect_commands_token_count: u32
) -> PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a>
pub fn max_indirect_commands_stream_count(
self,
max_indirect_commands_stream_count: u32
) -> PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a>
pub fn max_indirect_commands_token_offset(
self,
max_indirect_commands_token_offset: u32
) -> PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a>
pub fn max_indirect_commands_stream_stride(
self,
max_indirect_commands_stream_stride: u32
) -> PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a>
pub fn min_sequences_count_buffer_offset_alignment(
self,
min_sequences_count_buffer_offset_alignment: u32
) -> PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a>
pub fn min_sequences_index_buffer_offset_alignment(
self,
min_sequences_index_buffer_offset_alignment: u32
) -> PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a>
pub fn min_indirect_commands_buffer_offset_alignment(
self,
min_indirect_commands_buffer_offset_alignment: u32
) -> PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a>
sourcepub fn build(self) -> PhysicalDeviceDeviceGeneratedCommandsPropertiesNV
pub fn build(self) -> PhysicalDeviceDeviceGeneratedCommandsPropertiesNV
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 PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a>
impl<'a> Deref for PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a>
type Target = PhysicalDeviceDeviceGeneratedCommandsPropertiesNV
type Target = PhysicalDeviceDeviceGeneratedCommandsPropertiesNV
The resulting type after dereferencing.
sourcefn deref(
&self
) -> &<PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a> as Deref>::Target
fn deref(
&self
) -> &<PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a> as Deref>::Target
Mutably dereferences the value.
impl<'_> ExtendsPhysicalDeviceProperties2 for PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a>
impl<'a> !Send for PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a>
impl<'a> !Sync for PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a>
impl<'a> Unpin for PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'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