pub struct DeviceCreateInfoBuilder<'a> { /* private fields */ }Expand description
Builder for DeviceCreateInfo with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> DeviceCreateInfoBuilder<'a>
impl<'a> DeviceCreateInfoBuilder<'a>
pub fn flags(self, value: u32) -> DeviceCreateInfoBuilder<'a>
pub fn queue_create_infos( self, slice: &'a [DeviceQueueCreateInfo], ) -> DeviceCreateInfoBuilder<'a>
pub fn enabled_layer_names( self, slice: &'a [*const i8], ) -> DeviceCreateInfoBuilder<'a>
pub fn enabled_extension_names( self, slice: &'a [*const i8], ) -> DeviceCreateInfoBuilder<'a>
pub fn enabled_features( self, value: &'a PhysicalDeviceFeatures, ) -> DeviceCreateInfoBuilder<'a>
Sourcepub fn push_next<T>(self, next: &'a mut T) -> DeviceCreateInfoBuilder<'a>where
T: ExtendsDeviceCreateInfo,
pub fn push_next<T>(self, next: &'a mut T) -> DeviceCreateInfoBuilder<'a>where
T: ExtendsDeviceCreateInfo,
Prepend a struct to the pNext chain. See DeviceCreateInfo’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for DeviceCreateInfoBuilder<'a>
impl<'a> Deref for DeviceCreateInfoBuilder<'a>
Source§type Target = DeviceCreateInfo
type Target = DeviceCreateInfo
The resulting type after dereferencing.
Source§impl<'a> DerefMut for DeviceCreateInfoBuilder<'a>
impl<'a> DerefMut for DeviceCreateInfoBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for DeviceCreateInfoBuilder<'a>
impl<'a> RefUnwindSafe for DeviceCreateInfoBuilder<'a>
impl<'a> !Send for DeviceCreateInfoBuilder<'a>
impl<'a> !Sync for DeviceCreateInfoBuilder<'a>
impl<'a> Unpin for DeviceCreateInfoBuilder<'a>
impl<'a> UnsafeUnpin for DeviceCreateInfoBuilder<'a>
impl<'a> UnwindSafe for DeviceCreateInfoBuilder<'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