Struct ash::vk::PresentRegionsKHRBuilder
source · 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> 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