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