Struct ash::vk::CommandBufferAllocateInfoBuilder
source · [−]#[repr(transparent)]pub struct CommandBufferAllocateInfoBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> CommandBufferAllocateInfoBuilder<'a>
impl<'a> CommandBufferAllocateInfoBuilder<'a>
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
sourcepub 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.
Trait Implementations
sourceimpl<'a> Deref for CommandBufferAllocateInfoBuilder<'a>
impl<'a> Deref for CommandBufferAllocateInfoBuilder<'a>
type Target = CommandBufferAllocateInfo
type Target = CommandBufferAllocateInfo
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> RefUnwindSafe for CommandBufferAllocateInfoBuilder<'a>
impl<'a> !Send for CommandBufferAllocateInfoBuilder<'a>
impl<'a> !Sync for CommandBufferAllocateInfoBuilder<'a>
impl<'a> Unpin for CommandBufferAllocateInfoBuilder<'a>
impl<'a> UnwindSafe for CommandBufferAllocateInfoBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more