pub struct CreateDeviceCallbackArgs<'arg, 'pnext, 'this>where
'this: 'pnext,{
pub extensions: &'arg mut Vec<&'static CStr>,
pub device_features: &'arg mut PhysicalDeviceFeatures,
pub queue_create_infos: &'arg mut Vec<DeviceQueueCreateInfo<'pnext>>,
pub create_info: &'arg mut DeviceCreateInfo<'pnext>,
/* private fields */
}
Available on
vulkan
only.Expand description
Arguments to the CreateDeviceCallback
.
Fields§
§extensions: &'arg mut Vec<&'static CStr>
The extensions to enable for the device. You must not remove anything from this list, but you may add to it.
device_features: &'arg mut PhysicalDeviceFeatures
The physical device features to enable. You may enable features, but must not disable any.
queue_create_infos: &'arg mut Vec<DeviceQueueCreateInfo<'pnext>>
The queue create infos for the device. You may add or modify queue create infos as needed.
create_info: &'arg mut DeviceCreateInfo<'pnext>
The create info for the device. You may add or modify things in the pnext chain, but do not turn features off. Additionally, do not add things to the list of extensions, or to the feature set, as all changes to that member will be overwritten.
Auto Trait Implementations§
impl<'arg, 'pnext, 'this> Freeze for CreateDeviceCallbackArgs<'arg, 'pnext, 'this>
impl<'arg, 'pnext, 'this> RefUnwindSafe for CreateDeviceCallbackArgs<'arg, 'pnext, 'this>
impl<'arg, 'pnext, 'this> Send for CreateDeviceCallbackArgs<'arg, 'pnext, 'this>
impl<'arg, 'pnext, 'this> Sync for CreateDeviceCallbackArgs<'arg, 'pnext, 'this>
impl<'arg, 'pnext, 'this> Unpin for CreateDeviceCallbackArgs<'arg, 'pnext, 'this>
impl<'arg, 'pnext, 'this> !UnwindSafe for CreateDeviceCallbackArgs<'arg, 'pnext, 'this>
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