#[repr(C)]pub struct DeviceQueueCreateInfo {
pub sType: StructureType,
pub pNext: *const c_void,
pub flags: DeviceQueueCreateFlags,
pub queueFamilyIndex: u32,
pub queueCount: u32,
pub pQueuePriorities: *const f32,
}Fields§
§sType: StructureType§pNext: *const c_void§flags: DeviceQueueCreateFlags§queueFamilyIndex: u32§queueCount: u32§pQueuePriorities: *const f32Implementations§
Source§impl DeviceQueueCreateInfo
impl DeviceQueueCreateInfo
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: DeviceQueueCreateFlags) -> Self
pub fn queueFamilyIndex(self, queueFamilyIndex: u32) -> Self
pub fn queueCount(self, queueCount: u32) -> Self
pub fn pQueuePriorities(self, pQueuePriorities: *const f32) -> Self
Trait Implementations§
Source§impl Clone for DeviceQueueCreateInfo
impl Clone for DeviceQueueCreateInfo
Source§fn clone(&self) -> DeviceQueueCreateInfo
fn clone(&self) -> DeviceQueueCreateInfo
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 DeviceQueueCreateInfo
impl Debug for DeviceQueueCreateInfo
Source§impl Default for DeviceQueueCreateInfo
impl Default for DeviceQueueCreateInfo
Source§fn default() -> DeviceQueueCreateInfo
fn default() -> DeviceQueueCreateInfo
Returns the “default value” for a type. Read more
impl Copy for DeviceQueueCreateInfo
Auto Trait Implementations§
impl Freeze for DeviceQueueCreateInfo
impl RefUnwindSafe for DeviceQueueCreateInfo
impl !Send for DeviceQueueCreateInfo
impl !Sync for DeviceQueueCreateInfo
impl Unpin for DeviceQueueCreateInfo
impl UnwindSafe for DeviceQueueCreateInfo
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