#[repr(C)]pub struct VkInstanceCreateInfo {
pub sType: VkStructureType,
pub pNext: *const c_void,
pub flags: VkInstanceCreateFlags,
pub pApplicationInfo: *const VkApplicationInfo,
pub enabledLayerCount: u32,
pub ppEnabledLayerNames: *const *const c_char,
pub enabledExtensionCount: u32,
pub ppEnabledExtensionNames: *const *const c_char,
}Fields§
§sType: VkStructureType§pNext: *const c_void§flags: VkInstanceCreateFlags§pApplicationInfo: *const VkApplicationInfo§enabledLayerCount: u32§ppEnabledLayerNames: *const *const c_char§enabledExtensionCount: u32§ppEnabledExtensionNames: *const *const c_charTrait Implementations§
Source§impl Clone for VkInstanceCreateInfo
impl Clone for VkInstanceCreateInfo
Source§fn clone(&self) -> VkInstanceCreateInfo
fn clone(&self) -> VkInstanceCreateInfo
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 VkInstanceCreateInfo
impl Debug for VkInstanceCreateInfo
Source§impl TypedVulkanStructure for VkInstanceCreateInfo
impl TypedVulkanStructure for VkInstanceCreateInfo
Source§const TYPE: VkStructureType = 1i32
const TYPE: VkStructureType = 1i32
sType of this structure
Source§fn try_from_generic(g: &GenericVulkanStructure) -> Option<&Self>
fn try_from_generic(g: &GenericVulkanStructure) -> Option<&Self>
Cast structure ref only if sType matches
Source§impl VulkanStructure for VkInstanceCreateInfo
impl VulkanStructure for VkInstanceCreateInfo
Source§fn as_generic(&self) -> &GenericVulkanStructure
fn as_generic(&self) -> &GenericVulkanStructure
Cast structure ref to generic. This is same as transmute but must be safe.
Source§fn as_generic_mut(&mut self) -> &mut GenericVulkanStructure
fn as_generic_mut(&mut self) -> &mut GenericVulkanStructure
Cast structure mutable ref to generic. This is same as transmute but must be safe.
Auto Trait Implementations§
impl Freeze for VkInstanceCreateInfo
impl RefUnwindSafe for VkInstanceCreateInfo
impl !Send for VkInstanceCreateInfo
impl !Sync for VkInstanceCreateInfo
impl Unpin for VkInstanceCreateInfo
impl UnwindSafe for VkInstanceCreateInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<S> StructureChainQuery for Swhere
S: TypedVulkanStructure,
impl<S> StructureChainQuery for Swhere
S: TypedVulkanStructure,
Source§fn iter_chain(&self) -> StructureChainIterator<'_> ⓘ
fn iter_chain(&self) -> StructureChainIterator<'_> ⓘ
Iterate pNext chain