pub struct PresentRegionsKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> PresentRegionsKHRBuilder<'a>
impl<'a> PresentRegionsKHRBuilder<'a>
pub fn regions(self, regions: &'a [PresentRegionKHR]) -> Self
Sourcepub fn build(self) -> PresentRegionsKHR
pub fn build(self) -> PresentRegionsKHR
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§
Source§impl<'a> Deref for PresentRegionsKHRBuilder<'a>
impl<'a> Deref for PresentRegionsKHRBuilder<'a>
Source§impl<'a> DerefMut for PresentRegionsKHRBuilder<'a>
impl<'a> DerefMut for PresentRegionsKHRBuilder<'a>
impl ExtendsPresentInfoKHR for PresentRegionsKHRBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for PresentRegionsKHRBuilder<'a>
impl<'a> RefUnwindSafe for PresentRegionsKHRBuilder<'a>
impl<'a> !Send for PresentRegionsKHRBuilder<'a>
impl<'a> !Sync for PresentRegionsKHRBuilder<'a>
impl<'a> Unpin for PresentRegionsKHRBuilder<'a>
impl<'a> UnwindSafe for PresentRegionsKHRBuilder<'a>
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