#[repr(C)]pub struct VkCommandPoolCreateInfo {
pub sType: VkStructureType,
pub pNext: *const c_void,
pub flags: VkCommandPoolCreateFlags,
pub queueFamilyIndex: u32,
}Fields§
§sType: VkStructureType§pNext: *const c_void§flags: VkCommandPoolCreateFlags§queueFamilyIndex: u32Trait Implementations§
Source§impl Clone for VkCommandPoolCreateInfo
impl Clone for VkCommandPoolCreateInfo
Source§fn clone(&self) -> VkCommandPoolCreateInfo
fn clone(&self) -> VkCommandPoolCreateInfo
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 VkCommandPoolCreateInfo
impl Debug for VkCommandPoolCreateInfo
Source§impl TypedVulkanStructure for VkCommandPoolCreateInfo
impl TypedVulkanStructure for VkCommandPoolCreateInfo
Source§const TYPE: VkStructureType = VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO
const TYPE: VkStructureType = VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_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 VkCommandPoolCreateInfo
impl VulkanStructure for VkCommandPoolCreateInfo
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 VkCommandPoolCreateInfo
impl RefUnwindSafe for VkCommandPoolCreateInfo
impl !Send for VkCommandPoolCreateInfo
impl !Sync for VkCommandPoolCreateInfo
impl Unpin for VkCommandPoolCreateInfo
impl UnsafeUnpin for VkCommandPoolCreateInfo
impl UnwindSafe for VkCommandPoolCreateInfo
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