pub struct PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
impl<'a> PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
pub fn shader_sm_count(self, shader_sm_count: u32) -> Self
pub fn shader_warps_per_sm(self, shader_warps_per_sm: u32) -> Self
sourcepub fn build(self) -> PhysicalDeviceShaderSMBuiltinsPropertiesNV
pub fn build(self) -> PhysicalDeviceShaderSMBuiltinsPropertiesNV
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 PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
impl<'a> Deref for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
source§impl<'a> DerefMut for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
impl<'a> !Send for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
impl<'a> !Sync for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
impl<'a> Unpin for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'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