#[repr(C)]pub struct InstanceCreateInfo {
pub sType: StructureType,
pub pNext: *const c_void,
pub flags: i32,
pub pApplicationInfo: *const ApplicationInfo,
pub enabledLayerCount: u32,
pub ppEnabledLayerNames: *const *const i8,
pub enabledExtensionCount: u32,
pub ppEnabledExtensionNames: *const *const i8,
}Fields§
§sType: StructureType§pNext: *const c_void§flags: i32§pApplicationInfo: *const ApplicationInfo§enabledLayerCount: u32§ppEnabledLayerNames: *const *const i8§enabledExtensionCount: u32§ppEnabledExtensionNames: *const *const i8Implementations§
Source§impl InstanceCreateInfo
impl InstanceCreateInfo
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: i32) -> Self
pub fn pApplicationInfo(self, pApplicationInfo: *const ApplicationInfo) -> Self
pub fn enabledLayerCount(self, enabledLayerCount: u32) -> Self
pub fn ppEnabledLayerNames(self, ppEnabledLayerNames: *const *const i8) -> Self
pub fn enabledExtensionCount(self, enabledExtensionCount: u32) -> Self
pub fn ppEnabledExtensionNames( self, ppEnabledExtensionNames: *const *const i8, ) -> Self
Trait Implementations§
Source§impl Clone for InstanceCreateInfo
impl Clone for InstanceCreateInfo
Source§fn clone(&self) -> InstanceCreateInfo
fn clone(&self) -> InstanceCreateInfo
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 InstanceCreateInfo
impl Debug for InstanceCreateInfo
Source§impl Default for InstanceCreateInfo
impl Default for InstanceCreateInfo
Source§fn default() -> InstanceCreateInfo
fn default() -> InstanceCreateInfo
Returns the “default value” for a type. Read more
impl Copy for InstanceCreateInfo
Auto Trait Implementations§
impl Freeze for InstanceCreateInfo
impl RefUnwindSafe for InstanceCreateInfo
impl !Send for InstanceCreateInfo
impl !Sync for InstanceCreateInfo
impl Unpin for InstanceCreateInfo
impl UnwindSafe for InstanceCreateInfo
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