pub struct InstanceCreateInfoBuilder<'b> { /* private fields */ }Expand description
A builder for a InstanceCreateInfo.
Implementations§
Source§impl<'b> InstanceCreateInfoBuilder<'b>
impl<'b> InstanceCreateInfoBuilder<'b>
pub fn push_next<T>(self, next: &'b mut impl Cast<Target = T>) -> Selfwhere
T: ExtendsInstanceCreateInfo,
pub fn flags(self, flags: InstanceCreateFlags) -> Self
pub fn application_info( self, application_info: &'b impl Cast<Target = ApplicationInfo>, ) -> Self
pub fn enabled_layer_names( self, enabled_layer_names: &'b [*const c_char], ) -> Self
pub fn enabled_extension_names( self, enabled_extension_names: &'b [*const c_char], ) -> Self
pub fn build(self) -> InstanceCreateInfo
Trait Implementations§
Source§impl Cast for InstanceCreateInfoBuilder<'_>
impl Cast for InstanceCreateInfoBuilder<'_>
Source§type Target = InstanceCreateInfo
type Target = InstanceCreateInfo
The other type this type can be used interchangeably with in FFI.
Source§impl<'b> Clone for InstanceCreateInfoBuilder<'b>
impl<'b> Clone for InstanceCreateInfoBuilder<'b>
Source§fn clone(&self) -> InstanceCreateInfoBuilder<'b>
fn clone(&self) -> InstanceCreateInfoBuilder<'b>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'b> Copy for InstanceCreateInfoBuilder<'b>
Source§impl<'b> Debug for InstanceCreateInfoBuilder<'b>
impl<'b> Debug for InstanceCreateInfoBuilder<'b>
Source§impl<'b> Default for InstanceCreateInfoBuilder<'b>
impl<'b> Default for InstanceCreateInfoBuilder<'b>
Source§fn default() -> InstanceCreateInfoBuilder<'b>
fn default() -> InstanceCreateInfoBuilder<'b>
Returns the “default value” for a type. Read more
Source§impl Deref for InstanceCreateInfoBuilder<'_>
impl Deref for InstanceCreateInfoBuilder<'_>
Auto Trait Implementations§
impl<'b> Freeze for InstanceCreateInfoBuilder<'b>
impl<'b> RefUnwindSafe for InstanceCreateInfoBuilder<'b>
impl<'b> Send for InstanceCreateInfoBuilder<'b>
impl<'b> Sync for InstanceCreateInfoBuilder<'b>
impl<'b> Unpin for InstanceCreateInfoBuilder<'b>
impl<'b> UnsafeUnpin for InstanceCreateInfoBuilder<'b>
impl<'b> UnwindSafe for InstanceCreateInfoBuilder<'b>
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