pub struct RectLayerKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> RectLayerKHRBuilder<'a>
impl<'a> RectLayerKHRBuilder<'a>
pub fn offset(self, offset: Offset2D) -> Self
pub fn extent(self, extent: Extent2D) -> Self
pub fn layer(self, layer: u32) -> Self
Sourcepub fn build(self) -> RectLayerKHR
pub fn build(self) -> RectLayerKHR
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 RectLayerKHRBuilder<'a>
impl<'a> Deref for RectLayerKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for RectLayerKHRBuilder<'a>
impl<'a> RefUnwindSafe for RectLayerKHRBuilder<'a>
impl<'a> Send for RectLayerKHRBuilder<'a>
impl<'a> Sync for RectLayerKHRBuilder<'a>
impl<'a> Unpin for RectLayerKHRBuilder<'a>
impl<'a> UnwindSafe for RectLayerKHRBuilder<'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