#[repr(C)]pub struct PhysicalDeviceShaderBfloat16FeaturesKHR {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub shader_b_float16_type: u32,
pub shader_b_float16_dot_product: u32,
pub shader_b_float16_cooperative_matrix: u32,
}Expand description
VkPhysicalDeviceShaderBfloat16FeaturesKHR
Provided by VK_KHR_shader_bfloat16.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_BFLOAT16_FEATURES_KHR.
p_next: *mut c_voidOptional, may be null.
shader_b_float16_type: u32§shader_b_float16_dot_product: u32§shader_b_float16_cooperative_matrix: u32Implementations§
Source§impl PhysicalDeviceShaderBfloat16FeaturesKHR
impl PhysicalDeviceShaderBfloat16FeaturesKHR
Sourcepub fn builder<'a>() -> PhysicalDeviceShaderBfloat16FeaturesKHRBuilder<'a>
pub fn builder<'a>() -> PhysicalDeviceShaderBfloat16FeaturesKHRBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PhysicalDeviceShaderBfloat16FeaturesKHR
impl Clone for PhysicalDeviceShaderBfloat16FeaturesKHR
Source§fn clone(&self) -> PhysicalDeviceShaderBfloat16FeaturesKHR
fn clone(&self) -> PhysicalDeviceShaderBfloat16FeaturesKHR
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 Default for PhysicalDeviceShaderBfloat16FeaturesKHR
impl Default for PhysicalDeviceShaderBfloat16FeaturesKHR
Source§fn default() -> PhysicalDeviceShaderBfloat16FeaturesKHR
fn default() -> PhysicalDeviceShaderBfloat16FeaturesKHR
Returns the “default value” for a type. Read more
impl Copy for PhysicalDeviceShaderBfloat16FeaturesKHR
impl ExtendsDeviceCreateInfo for PhysicalDeviceShaderBfloat16FeaturesKHR
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceShaderBfloat16FeaturesKHR
Auto Trait Implementations§
impl Freeze for PhysicalDeviceShaderBfloat16FeaturesKHR
impl RefUnwindSafe for PhysicalDeviceShaderBfloat16FeaturesKHR
impl !Send for PhysicalDeviceShaderBfloat16FeaturesKHR
impl !Sync for PhysicalDeviceShaderBfloat16FeaturesKHR
impl Unpin for PhysicalDeviceShaderBfloat16FeaturesKHR
impl UnsafeUnpin for PhysicalDeviceShaderBfloat16FeaturesKHR
impl UnwindSafe for PhysicalDeviceShaderBfloat16FeaturesKHR
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