Struct ash::vk::InstanceCreateInfo  
source · #[repr(C)]pub struct InstanceCreateInfo<'a> {
    pub s_type: StructureType,
    pub p_next: *const c_void,
    pub flags: InstanceCreateFlags,
    pub p_application_info: *const ApplicationInfo<'a>,
    pub enabled_layer_count: u32,
    pub pp_enabled_layer_names: *const *const c_char,
    pub enabled_extension_count: u32,
    pub pp_enabled_extension_names: *const *const c_char,
    pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§s_type: StructureType§p_next: *const c_void§flags: InstanceCreateFlags§p_application_info: *const ApplicationInfo<'a>§enabled_layer_count: u32§pp_enabled_layer_names: *const *const c_char§enabled_extension_count: u32§pp_enabled_extension_names: *const *const c_char§_marker: PhantomData<&'a ()>Implementations§
source§impl<'a> InstanceCreateInfo<'a>
 
impl<'a> InstanceCreateInfo<'a>
pub fn flags(self, flags: InstanceCreateFlags) -> Self
pub fn application_info(self, application_info: &'a ApplicationInfo<'a>) -> Self
pub fn enabled_layer_names( self, enabled_layer_names: &'a [*const c_char], ) -> Self
pub fn enabled_extension_names( self, enabled_extension_names: &'a [*const c_char], ) -> Self
sourcepub fn push_next<T: ExtendsInstanceCreateInfo + ?Sized>(
    self,
    next: &'a mut T,
) -> Self
 
pub fn push_next<T: ExtendsInstanceCreateInfo + ?Sized>( self, next: &'a mut T, ) -> Self
Prepends the given extension struct between the root and the first pointer. This
method only exists on structs that can be passed to a function directly. Only
valid extension structs can be pushed into the chain.
If the chain looks like A -> B -> C, and you call x.push_next(&mut D), then the
chain will look like A -> D -> B -> C.
Trait Implementations§
source§impl<'a> Clone for InstanceCreateInfo<'a>
 
impl<'a> Clone for InstanceCreateInfo<'a>
source§fn clone(&self) -> InstanceCreateInfo<'a>
 
fn clone(&self) -> InstanceCreateInfo<'a>
Returns a copy 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<'a> Debug for InstanceCreateInfo<'a>
 
impl<'a> Debug for InstanceCreateInfo<'a>
source§impl Default for InstanceCreateInfo<'_>
 
impl Default for InstanceCreateInfo<'_>
source§impl<'a> TaggedStructure for InstanceCreateInfo<'a>
 
impl<'a> TaggedStructure for InstanceCreateInfo<'a>
const STRUCTURE_TYPE: StructureType = StructureType::INSTANCE_CREATE_INFO
impl<'a> Copy for InstanceCreateInfo<'a>
impl Send for InstanceCreateInfo<'_>
impl Sync for InstanceCreateInfo<'_>
Auto Trait Implementations§
impl<'a> Freeze for InstanceCreateInfo<'a>
impl<'a> RefUnwindSafe for InstanceCreateInfo<'a>
impl<'a> Unpin for InstanceCreateInfo<'a>
impl<'a> UnwindSafe for InstanceCreateInfo<'a>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)