#[repr(C)]pub struct VkCommandBufferAllocateInfo {
pub sType: VkStructureType,
pub pNext: *const c_void,
pub commandPool: VkCommandPool,
pub level: VkCommandBufferLevel,
pub commandBufferCount: u32,
}Fields§
§sType: VkStructureType§pNext: *const c_void§commandPool: VkCommandPool§level: VkCommandBufferLevel§commandBufferCount: u32Trait Implementations§
Source§impl Clone for VkCommandBufferAllocateInfo
impl Clone for VkCommandBufferAllocateInfo
Source§fn clone(&self) -> VkCommandBufferAllocateInfo
fn clone(&self) -> VkCommandBufferAllocateInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VkCommandBufferAllocateInfo
impl Debug for VkCommandBufferAllocateInfo
Source§impl TypedVulkanStructure for VkCommandBufferAllocateInfo
impl TypedVulkanStructure for VkCommandBufferAllocateInfo
Source§const TYPE: VkStructureType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO
const TYPE: VkStructureType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO
sType of this structure
Source§fn try_from_generic(g: &GenericVulkanStructure) -> Option<&Self>where
Self: Sized,
fn try_from_generic(g: &GenericVulkanStructure) -> Option<&Self>where
Self: Sized,
Cast structure ref only if sType matches
Source§impl VulkanStructure for VkCommandBufferAllocateInfo
impl VulkanStructure for VkCommandBufferAllocateInfo
Source§fn as_generic(&self) -> &GenericVulkanStructure
fn as_generic(&self) -> &GenericVulkanStructure
Cast structure ref to generic. This is same as transmute but must be safe.
Source§fn as_generic_mut(&mut self) -> &mut GenericVulkanStructure
fn as_generic_mut(&mut self) -> &mut GenericVulkanStructure
Cast structure mutable ref to generic. This is same as transmute but must be safe.
Auto Trait Implementations§
impl Freeze for VkCommandBufferAllocateInfo
impl RefUnwindSafe for VkCommandBufferAllocateInfo
impl !Send for VkCommandBufferAllocateInfo
impl !Sync for VkCommandBufferAllocateInfo
impl Unpin for VkCommandBufferAllocateInfo
impl UnsafeUnpin for VkCommandBufferAllocateInfo
impl UnwindSafe for VkCommandBufferAllocateInfo
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