#[repr(C)]pub struct PhysicalDeviceShaderFloat16Int8Features<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub shader_float16: Bool32,
pub shader_int8: Bool32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§shader_float16: Bool32
§shader_int8: Bool32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceShaderFloat16Int8Features<'a>
impl<'a> PhysicalDeviceShaderFloat16Int8Features<'a>
pub fn shader_float16(self, shader_float16: bool) -> Self
pub fn shader_int8(self, shader_int8: bool) -> Self
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§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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)