pub struct CommandPoolCreateInfo {
pub flags: CommandPoolCreateFlags,
pub queue_family_index: u32,
pub _ne: NonExhaustive,
}Expand description
Parameters to create an CommandPool.
Fields§
§flags: CommandPoolCreateFlagsAdditional properties of the command pool.
The default value is empty.
queue_family_index: u32The 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: NonExhaustiveTrait Implementations§
Source§impl Clone for CommandPoolCreateInfo
impl Clone for CommandPoolCreateInfo
Source§fn clone(&self) -> CommandPoolCreateInfo
fn clone(&self) -> CommandPoolCreateInfo
Returns a duplicate 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
Source§impl Default for CommandPoolCreateInfo
impl Default for CommandPoolCreateInfo
Source§fn default() -> CommandPoolCreateInfo
fn default() -> CommandPoolCreateInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CommandPoolCreateInfo
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