#[repr(C)]pub struct SwapchainTimingPropertiesEXT {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub refresh_duration: u64,
pub refresh_interval: u64,
}Expand description
VkSwapchainTimingPropertiesEXT
Provided by VK_EXT_present_timing.
Returned only*, filled by Vulkan, not constructed by the application.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_SWAPCHAIN_TIMING_PROPERTIES_EXT.
p_next: *mut c_voidOptional, may be null.
refresh_duration: u64§refresh_interval: u64Implementations§
Source§impl SwapchainTimingPropertiesEXT
impl SwapchainTimingPropertiesEXT
Sourcepub fn builder<'a>() -> SwapchainTimingPropertiesEXTBuilder<'a>
pub fn builder<'a>() -> SwapchainTimingPropertiesEXTBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for SwapchainTimingPropertiesEXT
impl Clone for SwapchainTimingPropertiesEXT
Source§fn clone(&self) -> SwapchainTimingPropertiesEXT
fn clone(&self) -> SwapchainTimingPropertiesEXT
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 Debug for SwapchainTimingPropertiesEXT
impl Debug for SwapchainTimingPropertiesEXT
impl Copy for SwapchainTimingPropertiesEXT
Auto Trait Implementations§
impl Freeze for SwapchainTimingPropertiesEXT
impl RefUnwindSafe for SwapchainTimingPropertiesEXT
impl !Send for SwapchainTimingPropertiesEXT
impl !Sync for SwapchainTimingPropertiesEXT
impl Unpin for SwapchainTimingPropertiesEXT
impl UnsafeUnpin for SwapchainTimingPropertiesEXT
impl UnwindSafe for SwapchainTimingPropertiesEXT
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