#[repr(C)]pub struct PhysicalDeviceShaderFloat16Int8Features {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub shader_float16: u32,
pub shader_int8: u32,
}Expand description
VkPhysicalDeviceShaderFloat16Int8Features
Provided by VK_COMPUTE_VERSION_1_2.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES.
p_next: *mut c_voidOptional, may be null.
shader_float16: u32§shader_int8: u32Implementations§
Source§impl PhysicalDeviceShaderFloat16Int8Features
impl PhysicalDeviceShaderFloat16Int8Features
Sourcepub fn builder<'a>() -> PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
pub fn builder<'a>() -> PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a>
Returns a builder for this struct with sType pre-filled.
Trait Implementations§
Source§impl Clone for PhysicalDeviceShaderFloat16Int8Features
impl Clone for PhysicalDeviceShaderFloat16Int8Features
Source§fn clone(&self) -> PhysicalDeviceShaderFloat16Int8Features
fn clone(&self) -> PhysicalDeviceShaderFloat16Int8Features
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 moreimpl Copy for PhysicalDeviceShaderFloat16Int8Features
impl ExtendsDeviceCreateInfo for PhysicalDeviceShaderFloat16Int8Features
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceShaderFloat16Int8Features
Auto Trait Implementations§
impl Freeze for PhysicalDeviceShaderFloat16Int8Features
impl RefUnwindSafe for PhysicalDeviceShaderFloat16Int8Features
impl !Send for PhysicalDeviceShaderFloat16Int8Features
impl !Sync for PhysicalDeviceShaderFloat16Int8Features
impl Unpin for PhysicalDeviceShaderFloat16Int8Features
impl UnsafeUnpin for PhysicalDeviceShaderFloat16Int8Features
impl UnwindSafe for PhysicalDeviceShaderFloat16Int8Features
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