#[repr(C)]pub struct PhysicalDeviceShaderSMBuiltinsPropertiesNV<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub shader_sm_count: u32,
pub shader_warps_per_sm: u32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§shader_sm_count: u32
§shader_warps_per_sm: u32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceShaderSMBuiltinsPropertiesNV<'a>
impl<'a> PhysicalDeviceShaderSMBuiltinsPropertiesNV<'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
Trait Implementations§
source§impl<'a> Clone for PhysicalDeviceShaderSMBuiltinsPropertiesNV<'a>
impl<'a> Clone for PhysicalDeviceShaderSMBuiltinsPropertiesNV<'a>
source§fn clone(&self) -> PhysicalDeviceShaderSMBuiltinsPropertiesNV<'a>
fn clone(&self) -> PhysicalDeviceShaderSMBuiltinsPropertiesNV<'a>
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<'a> Debug for PhysicalDeviceShaderSMBuiltinsPropertiesNV<'a>
impl<'a> Debug for PhysicalDeviceShaderSMBuiltinsPropertiesNV<'a>
source§impl Default for PhysicalDeviceShaderSMBuiltinsPropertiesNV<'_>
impl Default for PhysicalDeviceShaderSMBuiltinsPropertiesNV<'_>
source§impl<'a> TaggedStructure for PhysicalDeviceShaderSMBuiltinsPropertiesNV<'a>
impl<'a> TaggedStructure for PhysicalDeviceShaderSMBuiltinsPropertiesNV<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_SHADER_SM_BUILTINS_PROPERTIES_NV
impl<'a> Copy for PhysicalDeviceShaderSMBuiltinsPropertiesNV<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceShaderSMBuiltinsPropertiesNV<'_>
impl Send for PhysicalDeviceShaderSMBuiltinsPropertiesNV<'_>
impl Sync for PhysicalDeviceShaderSMBuiltinsPropertiesNV<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceShaderSMBuiltinsPropertiesNV<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceShaderSMBuiltinsPropertiesNV<'a>
impl<'a> Unpin for PhysicalDeviceShaderSMBuiltinsPropertiesNV<'a>
impl<'a> UnwindSafe for PhysicalDeviceShaderSMBuiltinsPropertiesNV<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)