Skip to main content

InstanceCreateInfo

Struct InstanceCreateInfo 

Source
#[repr(C)]
pub struct InstanceCreateInfo<'a, Next = Null, AINext = Null> { pub stype: InstanceCreateInfoType, pub next: Next, pub flags: InstanceCreateFlags, pub application_info: Option<&'a ApplicationInfo<'a, AINext>>, pub enabled_layer_names: Slice<'a, Str<'a>>, pub enabled_extension_names: Slice<'a, Str<'a>>, }
Expand description

Fields§

§stype: InstanceCreateInfoType§next: Next§flags: InstanceCreateFlags§application_info: Option<&'a ApplicationInfo<'a, AINext>>§enabled_layer_names: Slice<'a, Str<'a>>§enabled_extension_names: Slice<'a, Str<'a>>

Trait Implementations§

Source§

impl<'a, Next: Debug, AINext: Debug> Debug for InstanceCreateInfo<'a, Next, AINext>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a, Next: Default, AINext: Default> Default for InstanceCreateInfo<'a, Next, AINext>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl<'a, Next, AINext> Freeze for InstanceCreateInfo<'a, Next, AINext>
where Next: Freeze, Option<&'a ApplicationInfo<'a, AINext>>: Freeze,

§

impl<'a, Next, AINext> RefUnwindSafe for InstanceCreateInfo<'a, Next, AINext>
where Next: RefUnwindSafe, Option<&'a ApplicationInfo<'a, AINext>>: RefUnwindSafe,

§

impl<'a, Next, AINext> Send for InstanceCreateInfo<'a, Next, AINext>
where Next: Send, Option<&'a ApplicationInfo<'a, AINext>>: Send,

§

impl<'a, Next, AINext> Sync for InstanceCreateInfo<'a, Next, AINext>
where Next: Sync, Option<&'a ApplicationInfo<'a, AINext>>: Sync,

§

impl<'a, Next, AINext> Unpin for InstanceCreateInfo<'a, Next, AINext>
where Next: Unpin, Option<&'a ApplicationInfo<'a, AINext>>: Unpin,

§

impl<'a, Next, AINext> UnsafeUnpin for InstanceCreateInfo<'a, Next, AINext>
where Next: UnsafeUnpin, Option<&'a ApplicationInfo<'a, AINext>>: UnsafeUnpin,

§

impl<'a, Next, AINext> UnwindSafe for InstanceCreateInfo<'a, Next, AINext>
where Next: UnwindSafe, Option<&'a ApplicationInfo<'a, AINext>>: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.