Struct erupt::vk1_0::CommandBufferAllocateInfoBuilder
source · #[repr(transparent)]pub struct CommandBufferAllocateInfoBuilder<'a>(_, _);
Expand description
Vulkan Manual Page · Builder of CommandBufferAllocateInfo
Implementations
sourceimpl<'a> CommandBufferAllocateInfoBuilder<'a>
impl<'a> CommandBufferAllocateInfoBuilder<'a>
pub fn new() -> 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_dangling(self) -> CommandBufferAllocateInfo
pub fn build_dangling(self) -> CommandBufferAllocateInfo
Discards all lifetime information.
Use the Deref
and DerefMut
implementations if possible.
Methods from Deref<Target = CommandBufferAllocateInfo>
pub const STRUCTURE_TYPE: StructureType = crate::vk1_0::StructureType::COMMAND_BUFFER_ALLOCATE_INFO
Trait Implementations
sourceimpl<'a> Clone for CommandBufferAllocateInfoBuilder<'a>
impl<'a> Clone for CommandBufferAllocateInfoBuilder<'a>
sourcefn clone(&self) -> CommandBufferAllocateInfoBuilder<'a>
fn clone(&self) -> CommandBufferAllocateInfoBuilder<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for CommandBufferAllocateInfoBuilder<'a>
impl<'a> Debug for CommandBufferAllocateInfoBuilder<'a>
sourceimpl<'a> Default for CommandBufferAllocateInfoBuilder<'a>
impl<'a> Default for CommandBufferAllocateInfoBuilder<'a>
sourcefn default() -> CommandBufferAllocateInfoBuilder<'a>
fn default() -> CommandBufferAllocateInfoBuilder<'a>
Returns the “default value” for a type. Read more
sourceimpl<'a> Deref for CommandBufferAllocateInfoBuilder<'a>
impl<'a> Deref for CommandBufferAllocateInfoBuilder<'a>
type Target = CommandBufferAllocateInfo
type Target = CommandBufferAllocateInfo
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for CommandBufferAllocateInfoBuilder<'a>
impl<'a> DerefMut for CommandBufferAllocateInfoBuilder<'a>
impl<'a> Copy for CommandBufferAllocateInfoBuilder<'a>
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more