#[repr(transparent)]pub struct PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder { /* private fields */ }
Expand description
A builder for a PhysicalDeviceShaderSMBuiltinsPropertiesNV
.
Implementations§
source§impl PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder
impl PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder
pub fn shader_sm_count(self, shader_sm_count: u32) -> Self
pub fn shader_warps_per_sm(self, shader_warps_per_sm: u32) -> Self
pub fn build(self) -> PhysicalDeviceShaderSMBuiltinsPropertiesNV
Trait Implementations§
source§impl Cast for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder
impl Cast for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder
§type Target = PhysicalDeviceShaderSMBuiltinsPropertiesNV
type Target = PhysicalDeviceShaderSMBuiltinsPropertiesNV
The other type this type can be used interchangeably with in FFI.
source§impl Clone for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder
impl Clone for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder
source§fn clone(&self) -> PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder
fn clone(&self) -> PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder
impl Default for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder
source§fn default() -> PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder
fn default() -> PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder
Returns the “default value” for a type. Read more
impl Copy for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder
impl !Send for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder
impl !Sync for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder
impl Unpin for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder
impl UnwindSafe for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder
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