Struct vulkano::device::DeviceCreateInfo
source · [−]pub struct DeviceCreateInfo {
pub enabled_extensions: DeviceExtensions,
pub enabled_features: Features,
pub queue_create_infos: Vec<QueueCreateInfo>,
pub _ne: NonExhaustive,
}
Expand description
Parameters to create a new Device
.
Fields
enabled_extensions: DeviceExtensions
The extensions to enable on the device.
The default value is DeviceExtensions::empty()
.
enabled_features: Features
The features to enable on the device.
The default value is Features::empty()
.
queue_create_infos: Vec<QueueCreateInfo>
The queues to create for the device.
The default value is empty, which must be overridden.
_ne: NonExhaustive
Trait Implementations
sourceimpl Clone for DeviceCreateInfo
impl Clone for DeviceCreateInfo
sourcefn clone(&self) -> DeviceCreateInfo
fn clone(&self) -> DeviceCreateInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DeviceCreateInfo
impl Debug for DeviceCreateInfo
Auto Trait Implementations
impl RefUnwindSafe for DeviceCreateInfo
impl Send for DeviceCreateInfo
impl Sync for DeviceCreateInfo
impl Unpin for DeviceCreateInfo
impl UnwindSafe for DeviceCreateInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more