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: DeviceCreateFlags) -> Self
pub fn queue_create_infos(self, slice: &'a [DeviceQueueCreateInfo]) -> Self
pub fn enabled_layer_names(self, slice: &'a [*const c_char]) -> Self
pub fn enabled_extension_names(self, slice: &'a [*const c_char]) -> Self
pub fn enabled_features(self, value: &'a PhysicalDeviceFeatures) -> Self
Sourcepub fn push_next<T: ExtendsDeviceCreateInfo>(self, next: &'a mut T) -> Self
pub fn push_next<T: ExtendsDeviceCreateInfo>(self, next: &'a mut T) -> Self
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>
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