Struct ash::vk::RectLayerKHRBuilder
source · #[repr(transparent)]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.