[][src]Struct vk_rs::vk::DeviceCreateInfo

#[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 i8,
    pub enabledExtensionCount: u32,
    pub ppEnabledExtensionNames: *const *const i8,
    pub pEnabledFeatures: *const PhysicalDeviceFeatures,
}

Fields

sType: StructureTypepNext: *const c_voidflags: DeviceCreateFlagsqueueCreateInfoCount: u32pQueueCreateInfos: *const DeviceQueueCreateInfoenabledLayerCount: u32ppEnabledLayerNames: *const *const i8enabledExtensionCount: u32ppEnabledExtensionNames: *const *const i8pEnabledFeatures: *const PhysicalDeviceFeatures

Implementations

impl DeviceCreateInfo[src]

pub fn new() -> Self[src]

pub fn sType(self, sType: StructureType) -> Self[src]

pub fn pNext(self, pNext: *const c_void) -> Self[src]

pub fn flags(self, flags: DeviceCreateFlags) -> Self[src]

pub fn queueCreateInfoCount(self, queueCreateInfoCount: u32) -> Self[src]

pub fn pQueueCreateInfos(
    self,
    pQueueCreateInfos: *const DeviceQueueCreateInfo
) -> Self
[src]

pub fn enabledLayerCount(self, enabledLayerCount: u32) -> Self[src]

pub fn ppEnabledLayerNames(self, ppEnabledLayerNames: *const *const i8) -> Self[src]

pub fn enabledExtensionCount(self, enabledExtensionCount: u32) -> Self[src]

pub fn ppEnabledExtensionNames(
    self,
    ppEnabledExtensionNames: *const *const i8
) -> Self
[src]

pub fn pEnabledFeatures(
    self,
    pEnabledFeatures: *const PhysicalDeviceFeatures
) -> Self
[src]

Trait Implementations

impl Clone for DeviceCreateInfo[src]

impl Copy for DeviceCreateInfo[src]

impl Debug for DeviceCreateInfo[src]

impl Default for DeviceCreateInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.