#[repr(C)]pub struct DeviceCreateInfo {
pub sType: StructureType,
pub pNext: *const c_void,
pub flags: DeviceCreateFlags,
pub queueCreateInfoCount: u32,
pub pQueueCreateInfos: *const DeviceQueueCreateInfo,
pub enabledLayerCount: u32,
pub ppEnabledLayerNames: *const *const c_char,
pub enabledExtensionCount: u32,
pub ppEnabledExtensionNames: *const *const c_char,
pub pEnabledFeatures: *const PhysicalDeviceFeatures,
}
Fields§
§sType: StructureType
§pNext: *const c_void
§flags: DeviceCreateFlags
§queueCreateInfoCount: u32
§pQueueCreateInfos: *const DeviceQueueCreateInfo
§enabledLayerCount: u32
§ppEnabledLayerNames: *const *const c_char
§enabledExtensionCount: u32
§ppEnabledExtensionNames: *const *const c_char
§pEnabledFeatures: *const PhysicalDeviceFeatures
Trait Implementations§
Source§impl Clone for DeviceCreateInfo
impl Clone for DeviceCreateInfo
Source§fn clone(&self) -> DeviceCreateInfo
fn clone(&self) -> DeviceCreateInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for DeviceCreateInfo
Auto Trait Implementations§
impl Freeze for DeviceCreateInfo
impl RefUnwindSafe for DeviceCreateInfo
impl !Send for DeviceCreateInfo
impl !Sync for DeviceCreateInfo
impl Unpin for DeviceCreateInfo
impl UnwindSafe for DeviceCreateInfo
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