pub struct FramebufferAttachmentImageInfoBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> FramebufferAttachmentImageInfoBuilder<'a>
impl<'a> FramebufferAttachmentImageInfoBuilder<'a>
pub fn flags(self, flags: ImageCreateFlags) -> Self
pub fn usage(self, usage: ImageUsageFlags) -> Self
pub fn width(self, width: u32) -> Self
pub fn height(self, height: u32) -> Self
pub fn layer_count(self, layer_count: u32) -> Self
pub fn view_formats(self, view_formats: &'a [Format]) -> Self
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>
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