#[repr(C)]pub struct CommandPoolCreateInfo {
pub sType: StructureType,
pub pNext: *const c_void,
pub flags: CommandPoolCreateFlags,
pub queueFamilyIndex: u32,
}Fields§
§sType: StructureType§pNext: *const c_void§flags: CommandPoolCreateFlags§queueFamilyIndex: u32Implementations§
Source§impl CommandPoolCreateInfo
impl CommandPoolCreateInfo
pub fn new() -> Self
pub fn sType(self, sType: StructureType) -> Self
pub fn pNext(self, pNext: *const c_void) -> Self
pub fn flags(self, flags: CommandPoolCreateFlags) -> Self
pub fn queueFamilyIndex(self, queueFamilyIndex: u32) -> Self
Trait 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
impl Copy for CommandPoolCreateInfo
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