Struct erupt::extensions::nv_shader_sm_builtins::PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder
source · #[repr(transparent)]pub struct PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>(_, _);
Expand description
Implementations
sourceimpl<'a> PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
impl<'a> PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
pub fn new() -> 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_dangling(self) -> PhysicalDeviceShaderSMBuiltinsPropertiesNV
pub fn build_dangling(self) -> PhysicalDeviceShaderSMBuiltinsPropertiesNV
Discards all lifetime information.
Use the Deref
and DerefMut
implementations if possible.
Methods from Deref<Target = PhysicalDeviceShaderSMBuiltinsPropertiesNV>
pub const STRUCTURE_TYPE: StructureType = crate::vk1_0::StructureType::PHYSICAL_DEVICE_SHADER_SM_BUILTINS_PROPERTIES_NV
Trait Implementations
sourceimpl<'a> Clone for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
impl<'a> Clone for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
sourcefn clone(&self) -> PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
fn clone(&self) -> PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
impl<'a> Debug for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
sourceimpl<'a> Default for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
impl<'a> Default for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
sourcefn default() -> PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
fn default() -> PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
Returns the “default value” for a type. Read more
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>
sourceimpl<'a> ExtendableFrom<'a, PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'_>> for PhysicalDeviceProperties2Builder<'a>
impl<'a> ExtendableFrom<'a, PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'_>> for PhysicalDeviceProperties2Builder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moreimpl<'a> Copy for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a>
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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