#[repr(C)]pub struct PhysicalDeviceShaderClockFeaturesKHR {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub shader_subgroup_clock: u32,
pub shader_device_clock: u32,
}Expand description
VkPhysicalDeviceShaderClockFeaturesKHR
Provided by VK_KHR_shader_clock.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CLOCK_FEATURES_KHR.
p_next: *mut c_voidOptional, may be null.
shader_subgroup_clock: u32§shader_device_clock: u32Implementations§
Source§impl PhysicalDeviceShaderClockFeaturesKHR
impl PhysicalDeviceShaderClockFeaturesKHR
Sourcepub fn builder<'a>() -> PhysicalDeviceShaderClockFeaturesKHRBuilder<'a>
pub fn builder<'a>() -> PhysicalDeviceShaderClockFeaturesKHRBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PhysicalDeviceShaderClockFeaturesKHR
impl Clone for PhysicalDeviceShaderClockFeaturesKHR
Source§fn clone(&self) -> PhysicalDeviceShaderClockFeaturesKHR
fn clone(&self) -> PhysicalDeviceShaderClockFeaturesKHR
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 PhysicalDeviceShaderClockFeaturesKHR
impl ExtendsDeviceCreateInfo for PhysicalDeviceShaderClockFeaturesKHR
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceShaderClockFeaturesKHR
Auto Trait Implementations§
impl Freeze for PhysicalDeviceShaderClockFeaturesKHR
impl RefUnwindSafe for PhysicalDeviceShaderClockFeaturesKHR
impl !Send for PhysicalDeviceShaderClockFeaturesKHR
impl !Sync for PhysicalDeviceShaderClockFeaturesKHR
impl Unpin for PhysicalDeviceShaderClockFeaturesKHR
impl UnsafeUnpin for PhysicalDeviceShaderClockFeaturesKHR
impl UnwindSafe for PhysicalDeviceShaderClockFeaturesKHR
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