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