Struct vulkanalia::vk::FramebufferCreateInfoBuilder
source · #[repr(transparent)]pub struct FramebufferCreateInfoBuilder<'b> { /* private fields */ }
Expand description
A builder for a FramebufferCreateInfo
.
Implementations§
source§impl<'b> FramebufferCreateInfoBuilder<'b>
impl<'b> FramebufferCreateInfoBuilder<'b>
pub fn push_next<T>(self, next: &'b mut impl Cast<Target = T>) -> Selfwhere T: ExtendsFramebufferCreateInfo,
pub fn flags(self, flags: FramebufferCreateFlags) -> Self
pub fn render_pass(self, render_pass: RenderPass) -> Self
pub fn attachments(self, attachments: &'b [ImageView]) -> Self
pub fn width(self, width: u32) -> Self
pub fn height(self, height: u32) -> Self
pub fn layers(self, layers: u32) -> Self
pub fn build(self) -> FramebufferCreateInfo
Trait Implementations§
source§impl<'b> Cast for FramebufferCreateInfoBuilder<'b>
impl<'b> Cast for FramebufferCreateInfoBuilder<'b>
§type Target = FramebufferCreateInfo
type Target = FramebufferCreateInfo
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for FramebufferCreateInfoBuilder<'b>
impl<'b> Clone for FramebufferCreateInfoBuilder<'b>
source§fn clone(&self) -> FramebufferCreateInfoBuilder<'b>
fn clone(&self) -> FramebufferCreateInfoBuilder<'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 FramebufferCreateInfoBuilder<'b>
impl<'b> Debug for FramebufferCreateInfoBuilder<'b>
source§impl<'b> Default for FramebufferCreateInfoBuilder<'b>
impl<'b> Default for FramebufferCreateInfoBuilder<'b>
source§fn default() -> FramebufferCreateInfoBuilder<'b>
fn default() -> FramebufferCreateInfoBuilder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for FramebufferCreateInfoBuilder<'b>
impl<'b> Deref for FramebufferCreateInfoBuilder<'b>
source§impl<'b> DerefMut for FramebufferCreateInfoBuilder<'b>
impl<'b> DerefMut for FramebufferCreateInfoBuilder<'b>
impl<'b> Copy for FramebufferCreateInfoBuilder<'b>
Auto Trait Implementations§
impl<'b> RefUnwindSafe for FramebufferCreateInfoBuilder<'b>
impl<'b> !Send for FramebufferCreateInfoBuilder<'b>
impl<'b> !Sync for FramebufferCreateInfoBuilder<'b>
impl<'b> Unpin for FramebufferCreateInfoBuilder<'b>
impl<'b> UnwindSafe for FramebufferCreateInfoBuilder<'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