#[repr(C)]pub struct PastPresentationTimingGOOGLE {
pub present_id: u32,
pub desired_present_time: u64,
pub actual_present_time: u64,
pub earliest_present_time: u64,
pub present_margin: u64,
}Expand description
Native structure VkPastPresentationTimingGOOGLE.
Fields§
§present_id: u32Native field presentID.
desired_present_time: u64Native field desiredPresentTime.
actual_present_time: u64Native field actualPresentTime.
earliest_present_time: u64Native field earliestPresentTime.
present_margin: u64Native field presentMargin.
Implementations§
Source§impl PastPresentationTimingGOOGLE
impl PastPresentationTimingGOOGLE
Sourcepub fn set_present_id(self, value: u32) -> Self
pub fn set_present_id(self, value: u32) -> Self
Set native field presentID without native effects.
Sourcepub fn set_desired_present_time(self, value: u64) -> Self
pub fn set_desired_present_time(self, value: u64) -> Self
Set native field desiredPresentTime without native effects.
Sourcepub fn set_actual_present_time(self, value: u64) -> Self
pub fn set_actual_present_time(self, value: u64) -> Self
Set native field actualPresentTime without native effects.
Sourcepub fn set_earliest_present_time(self, value: u64) -> Self
pub fn set_earliest_present_time(self, value: u64) -> Self
Set native field earliestPresentTime without native effects.
Sourcepub fn set_present_margin(self, value: u64) -> Self
pub fn set_present_margin(self, value: u64) -> Self
Set native field presentMargin without native effects.
Trait Implementations§
Source§impl Clone for PastPresentationTimingGOOGLE
impl Clone for PastPresentationTimingGOOGLE
impl Copy for PastPresentationTimingGOOGLE
Auto Trait Implementations§
impl Forget for PastPresentationTimingGOOGLE
impl Freeze for PastPresentationTimingGOOGLE
impl Move for PastPresentationTimingGOOGLE
impl RefUnwindSafe for PastPresentationTimingGOOGLE
impl Send for PastPresentationTimingGOOGLE
impl Sync for PastPresentationTimingGOOGLE
impl Unpin for PastPresentationTimingGOOGLE
impl UnsafeUnpin for PastPresentationTimingGOOGLE
impl UnwindSafe for PastPresentationTimingGOOGLE
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