pub struct FramebufferAttachmentImageInfoBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> FramebufferAttachmentImageInfoBuilder<'a>
impl<'a> FramebufferAttachmentImageInfoBuilder<'a>
pub fn flags( self, flags: ImageCreateFlags, ) -> FramebufferAttachmentImageInfoBuilder<'a>
pub fn usage( self, usage: ImageUsageFlags, ) -> FramebufferAttachmentImageInfoBuilder<'a>
pub fn width(self, width: u32) -> FramebufferAttachmentImageInfoBuilder<'a>
pub fn height(self, height: u32) -> FramebufferAttachmentImageInfoBuilder<'a>
pub fn layer_count( self, layer_count: u32, ) -> FramebufferAttachmentImageInfoBuilder<'a>
pub fn view_formats( self, view_formats: &'a [Format], ) -> FramebufferAttachmentImageInfoBuilder<'a>
sourcepub fn build(self) -> FramebufferAttachmentImageInfo
pub fn build(self) -> FramebufferAttachmentImageInfo
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 FramebufferAttachmentImageInfoBuilder<'a>
impl<'a> Deref for FramebufferAttachmentImageInfoBuilder<'a>
§type Target = FramebufferAttachmentImageInfo
type Target = FramebufferAttachmentImageInfo
The resulting type after dereferencing.
source§impl<'a> DerefMut for FramebufferAttachmentImageInfoBuilder<'a>
impl<'a> DerefMut for FramebufferAttachmentImageInfoBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for FramebufferAttachmentImageInfoBuilder<'a>
impl<'a> RefUnwindSafe for FramebufferAttachmentImageInfoBuilder<'a>
impl<'a> !Send for FramebufferAttachmentImageInfoBuilder<'a>
impl<'a> !Sync for FramebufferAttachmentImageInfoBuilder<'a>
impl<'a> Unpin for FramebufferAttachmentImageInfoBuilder<'a>
impl<'a> UnwindSafe for FramebufferAttachmentImageInfoBuilder<'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