Struct vulkanalia::vk::CommandBufferAllocateInfoBuilder
source · #[repr(transparent)]pub struct CommandBufferAllocateInfoBuilder { /* private fields */ }
Expand description
A builder for a CommandBufferAllocateInfo
.
Implementations§
source§impl CommandBufferAllocateInfoBuilder
impl CommandBufferAllocateInfoBuilder
pub fn command_pool(self, command_pool: CommandPool) -> Self
pub fn level(self, level: CommandBufferLevel) -> Self
pub fn command_buffer_count(self, command_buffer_count: u32) -> Self
pub fn build(self) -> CommandBufferAllocateInfo
Trait Implementations§
source§impl Cast for CommandBufferAllocateInfoBuilder
impl Cast for CommandBufferAllocateInfoBuilder
§type Target = CommandBufferAllocateInfo
type Target = CommandBufferAllocateInfo
The other type this type can be used interchangeably with in FFI.
source§impl Clone for CommandBufferAllocateInfoBuilder
impl Clone for CommandBufferAllocateInfoBuilder
source§fn clone(&self) -> CommandBufferAllocateInfoBuilder
fn clone(&self) -> CommandBufferAllocateInfoBuilder
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 Default for CommandBufferAllocateInfoBuilder
impl Default for CommandBufferAllocateInfoBuilder
source§fn default() -> CommandBufferAllocateInfoBuilder
fn default() -> CommandBufferAllocateInfoBuilder
Returns the “default value” for a type. Read more
impl Copy for CommandBufferAllocateInfoBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CommandBufferAllocateInfoBuilder
impl !Send for CommandBufferAllocateInfoBuilder
impl !Sync for CommandBufferAllocateInfoBuilder
impl Unpin for CommandBufferAllocateInfoBuilder
impl UnwindSafe for CommandBufferAllocateInfoBuilder
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