#[repr(C)]pub struct PastPresentationTimingEXT {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub present_id: u64,
pub target_time: u64,
pub present_stage_count: u32,
pub p_present_stages: *mut PresentStageTimeEXT,
pub time_domain: TimeDomainKHR,
pub time_domain_id: u64,
pub report_complete: u32,
}Expand description
VkPastPresentationTimingEXT
Provided by VK_EXT_present_timing.
Returned only*, filled by Vulkan, not constructed by the application.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PAST_PRESENTATION_TIMING_EXT.
p_next: *mut c_voidOptional, may be null.
present_id: u64§target_time: u64§present_stage_count: u32Length of p_present_stages.
p_present_stages: *mut PresentStageTimeEXT§time_domain: TimeDomainKHR§time_domain_id: u64§report_complete: u32Implementations§
Source§impl PastPresentationTimingEXT
impl PastPresentationTimingEXT
Sourcepub fn builder<'a>() -> PastPresentationTimingEXTBuilder<'a>
pub fn builder<'a>() -> PastPresentationTimingEXTBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PastPresentationTimingEXT
impl Clone for PastPresentationTimingEXT
Source§fn clone(&self) -> PastPresentationTimingEXT
fn clone(&self) -> PastPresentationTimingEXT
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 PastPresentationTimingEXT
impl Debug for PastPresentationTimingEXT
Source§impl Default for PastPresentationTimingEXT
impl Default for PastPresentationTimingEXT
Source§fn default() -> PastPresentationTimingEXT
fn default() -> PastPresentationTimingEXT
Returns the “default value” for a type. Read more
impl Copy for PastPresentationTimingEXT
Auto Trait Implementations§
impl Freeze for PastPresentationTimingEXT
impl RefUnwindSafe for PastPresentationTimingEXT
impl !Send for PastPresentationTimingEXT
impl !Sync for PastPresentationTimingEXT
impl Unpin for PastPresentationTimingEXT
impl UnsafeUnpin for PastPresentationTimingEXT
impl UnwindSafe for PastPresentationTimingEXT
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