Struct ash::vk::PresentRegionKHRBuilder
source · pub struct PresentRegionKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PresentRegionKHRBuilder<'a>
impl<'a> PresentRegionKHRBuilder<'a>
pub fn rectangles(self, rectangles: &'a [RectLayerKHR]) -> Self
sourcepub fn build(self) -> PresentRegionKHR
pub fn build(self) -> PresentRegionKHR
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 PresentRegionKHRBuilder<'a>
impl<'a> Deref for PresentRegionKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for PresentRegionKHRBuilder<'a>
impl<'a> RefUnwindSafe for PresentRegionKHRBuilder<'a>
impl<'a> !Send for PresentRegionKHRBuilder<'a>
impl<'a> !Sync for PresentRegionKHRBuilder<'a>
impl<'a> Unpin for PresentRegionKHRBuilder<'a>
impl<'a> UnwindSafe for PresentRegionKHRBuilder<'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