Struct vulkanalia::vk::PresentRegionsKHRBuilder
source · #[repr(transparent)]pub struct PresentRegionsKHRBuilder<'b> { /* private fields */ }
Expand description
A builder for a PresentRegionsKHR
.
Implementations§
source§impl<'b> PresentRegionsKHRBuilder<'b>
impl<'b> PresentRegionsKHRBuilder<'b>
pub fn swapchain_count(self, swapchain_count: u32) -> Self
pub fn regions( self, regions: &'b [impl Cast<Target = PresentRegionKHR>] ) -> Self
pub fn build(self) -> PresentRegionsKHR
Trait Implementations§
source§impl<'b> Cast for PresentRegionsKHRBuilder<'b>
impl<'b> Cast for PresentRegionsKHRBuilder<'b>
§type Target = PresentRegionsKHR
type Target = PresentRegionsKHR
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for PresentRegionsKHRBuilder<'b>
impl<'b> Clone for PresentRegionsKHRBuilder<'b>
source§fn clone(&self) -> PresentRegionsKHRBuilder<'b>
fn clone(&self) -> PresentRegionsKHRBuilder<'b>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'b> Debug for PresentRegionsKHRBuilder<'b>
impl<'b> Debug for PresentRegionsKHRBuilder<'b>
source§impl<'b> Default for PresentRegionsKHRBuilder<'b>
impl<'b> Default for PresentRegionsKHRBuilder<'b>
source§fn default() -> PresentRegionsKHRBuilder<'b>
fn default() -> PresentRegionsKHRBuilder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for PresentRegionsKHRBuilder<'b>
impl<'b> Deref for PresentRegionsKHRBuilder<'b>
source§impl<'b> DerefMut for PresentRegionsKHRBuilder<'b>
impl<'b> DerefMut for PresentRegionsKHRBuilder<'b>
impl<'b> Copy for PresentRegionsKHRBuilder<'b>
Auto Trait Implementations§
impl<'b> RefUnwindSafe for PresentRegionsKHRBuilder<'b>
impl<'b> !Send for PresentRegionsKHRBuilder<'b>
impl<'b> !Sync for PresentRegionsKHRBuilder<'b>
impl<'b> Unpin for PresentRegionsKHRBuilder<'b>
impl<'b> UnwindSafe for PresentRegionsKHRBuilder<'b>
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