Struct ash::vk::PresentTimeGOOGLEBuilder
source · [−]#[repr(transparent)]pub struct PresentTimeGOOGLEBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> PresentTimeGOOGLEBuilder<'a>
impl<'a> PresentTimeGOOGLEBuilder<'a>
pub fn present_id(self, present_id: u32) -> Self
pub fn desired_present_time(self, desired_present_time: u64) -> Self
sourcepub fn build(self) -> PresentTimeGOOGLE
pub fn build(self) -> PresentTimeGOOGLE
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 PresentTimeGOOGLEBuilder<'a>
impl<'a> Deref for PresentTimeGOOGLEBuilder<'a>
type Target = PresentTimeGOOGLE
type Target = PresentTimeGOOGLE
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> RefUnwindSafe for PresentTimeGOOGLEBuilder<'a>
impl<'a> Send for PresentTimeGOOGLEBuilder<'a>
impl<'a> Sync for PresentTimeGOOGLEBuilder<'a>
impl<'a> Unpin for PresentTimeGOOGLEBuilder<'a>
impl<'a> UnwindSafe for PresentTimeGOOGLEBuilder<'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