#[repr(transparent)]pub struct PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
impl<'a> Deref for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
type Target = PhysicalDeviceShaderSMBuiltinsPropertiesNV
type Target = PhysicalDeviceShaderSMBuiltinsPropertiesNV
The resulting type after dereferencing.
sourceimpl<'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
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