Struct pilka_lib::ash::vk::CommandBufferAllocateInfoBuilder [−]
#[repr(transparent)]pub struct CommandBufferAllocateInfoBuilder<'a> { /* fields omitted */ }
Implementations
impl<'a> CommandBufferAllocateInfoBuilder<'a>
impl<'a> CommandBufferAllocateInfoBuilder<'a>
pub fn command_pool(
self,
command_pool: CommandPool
) -> CommandBufferAllocateInfoBuilder<'a>
pub fn level(
self,
level: CommandBufferLevel
) -> CommandBufferAllocateInfoBuilder<'a>
pub fn command_buffer_count(
self,
command_buffer_count: u32
) -> CommandBufferAllocateInfoBuilder<'a>
pub fn build(self) -> CommandBufferAllocateInfo
pub fn build(self) -> CommandBufferAllocateInfo
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.
Methods from Deref<Target = CommandBufferAllocateInfo>
Trait Implementations
impl<'a> Deref for CommandBufferAllocateInfoBuilder<'a>
impl<'a> Deref for CommandBufferAllocateInfoBuilder<'a>
type Target = CommandBufferAllocateInfo
type Target = CommandBufferAllocateInfo
The resulting type after dereferencing.
pub fn deref(&self) -> &<CommandBufferAllocateInfoBuilder<'a> as Deref>::Target
pub fn deref(&self) -> &<CommandBufferAllocateInfoBuilder<'a> as Deref>::Target
Dereferences the value.
impl<'a> DerefMut for CommandBufferAllocateInfoBuilder<'a>
impl<'a> DerefMut for CommandBufferAllocateInfoBuilder<'a>
pub fn deref_mut(
&mut self
) -> &mut <CommandBufferAllocateInfoBuilder<'a> as Deref>::Target
pub fn deref_mut(
&mut self
) -> &mut <CommandBufferAllocateInfoBuilder<'a> as Deref>::Target
Mutably dereferences the value.