#[repr(C)]pub struct PhysicalDeviceMeshShaderFeaturesNV<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub task_shader: u32,
pub mesh_shader: u32,
pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§s_type: StructureType§p_next: *mut c_void§task_shader: u32§mesh_shader: u32§_marker: PhantomData<&'a ()>Implementations§
Source§impl<'a> PhysicalDeviceMeshShaderFeaturesNV<'a>
impl<'a> PhysicalDeviceMeshShaderFeaturesNV<'a>
pub fn task_shader( self, task_shader: bool, ) -> PhysicalDeviceMeshShaderFeaturesNV<'a>
pub fn mesh_shader( self, mesh_shader: bool, ) -> PhysicalDeviceMeshShaderFeaturesNV<'a>
Trait Implementations§
Source§impl<'a> Clone for PhysicalDeviceMeshShaderFeaturesNV<'a>
impl<'a> Clone for PhysicalDeviceMeshShaderFeaturesNV<'a>
Source§fn clone(&self) -> PhysicalDeviceMeshShaderFeaturesNV<'a>
fn clone(&self) -> PhysicalDeviceMeshShaderFeaturesNV<'a>
Returns a duplicate 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 PhysicalDeviceMeshShaderFeaturesNV<'a>
impl<'a> Debug for PhysicalDeviceMeshShaderFeaturesNV<'a>
Source§impl Default for PhysicalDeviceMeshShaderFeaturesNV<'_>
impl Default for PhysicalDeviceMeshShaderFeaturesNV<'_>
Source§fn default() -> PhysicalDeviceMeshShaderFeaturesNV<'_>
fn default() -> PhysicalDeviceMeshShaderFeaturesNV<'_>
Returns the “default value” for a type. Read more
Source§impl<'a> TaggedStructure for PhysicalDeviceMeshShaderFeaturesNV<'a>
impl<'a> TaggedStructure for PhysicalDeviceMeshShaderFeaturesNV<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_MESH_SHADER_FEATURES_NV
impl<'a> Copy for PhysicalDeviceMeshShaderFeaturesNV<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceMeshShaderFeaturesNV<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceMeshShaderFeaturesNV<'_>
impl Send for PhysicalDeviceMeshShaderFeaturesNV<'_>
impl Sync for PhysicalDeviceMeshShaderFeaturesNV<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceMeshShaderFeaturesNV<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceMeshShaderFeaturesNV<'a>
impl<'a> Unpin for PhysicalDeviceMeshShaderFeaturesNV<'a>
impl<'a> UnwindSafe for PhysicalDeviceMeshShaderFeaturesNV<'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