pub struct PhysicalDeviceMeshShaderFeaturesNVBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> PhysicalDeviceMeshShaderFeaturesNVBuilder<'a>
impl<'a> PhysicalDeviceMeshShaderFeaturesNVBuilder<'a>
pub fn task_shader(self, task_shader: bool) -> Self
pub fn mesh_shader(self, mesh_shader: bool) -> Self
Sourcepub fn build(self) -> PhysicalDeviceMeshShaderFeaturesNV
pub fn build(self) -> PhysicalDeviceMeshShaderFeaturesNV
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 PhysicalDeviceMeshShaderFeaturesNVBuilder<'a>
impl<'a> Deref for PhysicalDeviceMeshShaderFeaturesNVBuilder<'a>
Source§impl<'a> DerefMut for PhysicalDeviceMeshShaderFeaturesNVBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceMeshShaderFeaturesNVBuilder<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceMeshShaderFeaturesNVBuilder<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceMeshShaderFeaturesNVBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceMeshShaderFeaturesNVBuilder<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceMeshShaderFeaturesNVBuilder<'a>
impl<'a> !Send for PhysicalDeviceMeshShaderFeaturesNVBuilder<'a>
impl<'a> !Sync for PhysicalDeviceMeshShaderFeaturesNVBuilder<'a>
impl<'a> Unpin for PhysicalDeviceMeshShaderFeaturesNVBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceMeshShaderFeaturesNVBuilder<'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