pub struct FramebufferAttachmentImageInfoBuilder<'b> { /* private fields */ }
Expand description
A builder for a FramebufferAttachmentImageInfo
.
Implementations§
source§impl<'b> FramebufferAttachmentImageInfoBuilder<'b>
impl<'b> FramebufferAttachmentImageInfoBuilder<'b>
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: &'b [Format]) -> Self
pub fn build(self) -> FramebufferAttachmentImageInfo
Trait Implementations§
source§impl<'b> Cast for FramebufferAttachmentImageInfoBuilder<'b>
impl<'b> Cast for FramebufferAttachmentImageInfoBuilder<'b>
§type Target = FramebufferAttachmentImageInfo
type Target = FramebufferAttachmentImageInfo
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for FramebufferAttachmentImageInfoBuilder<'b>
impl<'b> Clone for FramebufferAttachmentImageInfoBuilder<'b>
source§fn clone(&self) -> FramebufferAttachmentImageInfoBuilder<'b>
fn clone(&self) -> FramebufferAttachmentImageInfoBuilder<'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 FramebufferAttachmentImageInfoBuilder<'b>
impl<'b> Debug for FramebufferAttachmentImageInfoBuilder<'b>
source§impl<'b> Default for FramebufferAttachmentImageInfoBuilder<'b>
impl<'b> Default for FramebufferAttachmentImageInfoBuilder<'b>
source§fn default() -> FramebufferAttachmentImageInfoBuilder<'b>
fn default() -> FramebufferAttachmentImageInfoBuilder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for FramebufferAttachmentImageInfoBuilder<'b>
impl<'b> Deref for FramebufferAttachmentImageInfoBuilder<'b>
source§impl<'b> DerefMut for FramebufferAttachmentImageInfoBuilder<'b>
impl<'b> DerefMut for FramebufferAttachmentImageInfoBuilder<'b>
impl<'b> Copy for FramebufferAttachmentImageInfoBuilder<'b>
Auto Trait Implementations§
impl<'b> Freeze for FramebufferAttachmentImageInfoBuilder<'b>
impl<'b> RefUnwindSafe for FramebufferAttachmentImageInfoBuilder<'b>
impl<'b> !Send for FramebufferAttachmentImageInfoBuilder<'b>
impl<'b> !Sync for FramebufferAttachmentImageInfoBuilder<'b>
impl<'b> Unpin for FramebufferAttachmentImageInfoBuilder<'b>
impl<'b> UnwindSafe for FramebufferAttachmentImageInfoBuilder<'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