Struct ash::vk::PastPresentationTimingGOOGLEBuilder
source · [−]#[repr(transparent)]pub struct PastPresentationTimingGOOGLEBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> PastPresentationTimingGOOGLEBuilder<'a>
impl<'a> PastPresentationTimingGOOGLEBuilder<'a>
pub fn present_id(self, present_id: u32) -> Self
pub fn desired_present_time(self, desired_present_time: u64) -> Self
pub fn actual_present_time(self, actual_present_time: u64) -> Self
pub fn earliest_present_time(self, earliest_present_time: u64) -> Self
pub fn present_margin(self, present_margin: u64) -> Self
sourcepub fn build(self) -> PastPresentationTimingGOOGLE
pub fn build(self) -> PastPresentationTimingGOOGLE
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations
sourceimpl<'a> Deref for PastPresentationTimingGOOGLEBuilder<'a>
impl<'a> Deref for PastPresentationTimingGOOGLEBuilder<'a>
type Target = PastPresentationTimingGOOGLE
type Target = PastPresentationTimingGOOGLE
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> RefUnwindSafe for PastPresentationTimingGOOGLEBuilder<'a>
impl<'a> Send for PastPresentationTimingGOOGLEBuilder<'a>
impl<'a> Sync for PastPresentationTimingGOOGLEBuilder<'a>
impl<'a> Unpin for PastPresentationTimingGOOGLEBuilder<'a>
impl<'a> UnwindSafe for PastPresentationTimingGOOGLEBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more