#[repr(C)]pub struct PhysicalDeviceShaderBfloat16FeaturesKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub shader_b_float16_type: Bool32,
pub shader_b_float16_dot_product: Bool32,
pub shader_b_float16_cooperative_matrix: Bool32,
pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§s_type: StructureType§p_next: *mut c_void§shader_b_float16_type: Bool32§shader_b_float16_dot_product: Bool32§shader_b_float16_cooperative_matrix: Bool32§_marker: PhantomData<&'a ()>Implementations§
Source§impl<'a> PhysicalDeviceShaderBfloat16FeaturesKHR<'a>
impl<'a> PhysicalDeviceShaderBfloat16FeaturesKHR<'a>
pub fn shader_b_float16_type(self, shader_b_float16_type: bool) -> Self
pub fn shader_b_float16_dot_product( self, shader_b_float16_dot_product: bool, ) -> Self
pub fn shader_b_float16_cooperative_matrix( self, shader_b_float16_cooperative_matrix: bool, ) -> Self
Trait Implementations§
Source§impl<'a> Clone for PhysicalDeviceShaderBfloat16FeaturesKHR<'a>
impl<'a> Clone for PhysicalDeviceShaderBfloat16FeaturesKHR<'a>
Source§fn clone(&self) -> PhysicalDeviceShaderBfloat16FeaturesKHR<'a>
fn clone(&self) -> PhysicalDeviceShaderBfloat16FeaturesKHR<'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 PhysicalDeviceShaderBfloat16FeaturesKHR<'a>
impl<'a> Debug for PhysicalDeviceShaderBfloat16FeaturesKHR<'a>
Source§impl Default for PhysicalDeviceShaderBfloat16FeaturesKHR<'_>
impl Default for PhysicalDeviceShaderBfloat16FeaturesKHR<'_>
Source§impl<'a> TaggedStructure for PhysicalDeviceShaderBfloat16FeaturesKHR<'a>
impl<'a> TaggedStructure for PhysicalDeviceShaderBfloat16FeaturesKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_SHADER_BFLOAT16_FEATURES_KHR
impl<'a> Copy for PhysicalDeviceShaderBfloat16FeaturesKHR<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceShaderBfloat16FeaturesKHR<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceShaderBfloat16FeaturesKHR<'_>
impl Send for PhysicalDeviceShaderBfloat16FeaturesKHR<'_>
impl Sync for PhysicalDeviceShaderBfloat16FeaturesKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceShaderBfloat16FeaturesKHR<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceShaderBfloat16FeaturesKHR<'a>
impl<'a> Unpin for PhysicalDeviceShaderBfloat16FeaturesKHR<'a>
impl<'a> UnwindSafe for PhysicalDeviceShaderBfloat16FeaturesKHR<'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