Struct vulkano::command_buffer::pool::CommandPoolCreateInfo
source · pub struct CommandPoolCreateInfo {
pub flags: CommandPoolCreateFlags,
pub queue_family_index: u32,
pub _ne: NonExhaustive,
}
Expand description
Parameters to create an CommandPool
.
Fields§
§flags: CommandPoolCreateFlags
Additional properties of the command pool.
The default value is empty.
queue_family_index: u32
The index of the queue family that this pool is created for. All command buffers allocated from this pool must be submitted on a queue belonging to that family.
The default value is u32::MAX
, which must be overridden.
_ne: NonExhaustive
Trait Implementations§
source§impl Clone for CommandPoolCreateInfo
impl Clone for CommandPoolCreateInfo
source§fn clone(&self) -> CommandPoolCreateInfo
fn clone(&self) -> CommandPoolCreateInfo
Returns a copy of the value. Read more
1.0.0 · 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 CommandPoolCreateInfo
impl Debug for CommandPoolCreateInfo
Auto Trait Implementations§
impl RefUnwindSafe for CommandPoolCreateInfo
impl Send for CommandPoolCreateInfo
impl Sync for CommandPoolCreateInfo
impl Unpin for CommandPoolCreateInfo
impl UnwindSafe for CommandPoolCreateInfo
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