pub struct DeviceCreateInfo<'d>(/* private fields */);
Implementations§
Source§impl<'d> DeviceCreateInfo<'d>
impl<'d> DeviceCreateInfo<'d>
pub const fn new( queue_infos: &'d [DeviceQueueCreateInfo<'d>], layers: &'d [CStrFFIRef<'d>], extensions: &'d [CStrFFIRef<'d>], ) -> Self
pub const unsafe fn from_raw(raw: VkDeviceCreateInfo) -> Self
pub const fn into_raw(self) -> VkDeviceCreateInfo
pub const fn with_features(self, features: &'d VkPhysicalDeviceFeatures) -> Self
pub fn with_next(self, next: &'d (impl VulkanStructure + ?Sized)) -> Self
Trait Implementations§
Source§impl<'d> Clone for DeviceCreateInfo<'d>
impl<'d> Clone for DeviceCreateInfo<'d>
Source§fn clone(&self) -> DeviceCreateInfo<'d>
fn clone(&self) -> DeviceCreateInfo<'d>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'d> Freeze for DeviceCreateInfo<'d>
impl<'d> !RefUnwindSafe for DeviceCreateInfo<'d>
impl<'d> !Send for DeviceCreateInfo<'d>
impl<'d> !Sync for DeviceCreateInfo<'d>
impl<'d> Unpin for DeviceCreateInfo<'d>
impl<'d> !UnwindSafe for DeviceCreateInfo<'d>
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