pub struct VulkanInitInfo {
pub instance: Instance,
pub physical_device: PhysicalDevice,
pub device: Device,
pub get_instance_proc_addr: PFN_vkGetInstanceProcAddr,
pub get_device_proc_addr: PFN_vkGetDeviceProcAddr,
}Expand description
Borrowed Vulkan handles and entrypoints used to initialize NGX without a graph device.
Fields§
§instance: Instance§physical_device: PhysicalDevice§device: Device§get_instance_proc_addr: PFN_vkGetInstanceProcAddr§get_device_proc_addr: PFN_vkGetDeviceProcAddrTrait Implementations§
Source§impl Clone for VulkanInitInfo
impl Clone for VulkanInitInfo
Source§fn clone(&self) -> VulkanInitInfo
fn clone(&self) -> VulkanInitInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VulkanInitInfo
Auto Trait Implementations§
impl Freeze for VulkanInitInfo
impl RefUnwindSafe for VulkanInitInfo
impl Send for VulkanInitInfo
impl Sync for VulkanInitInfo
impl Unpin for VulkanInitInfo
impl UnsafeUnpin for VulkanInitInfo
impl UnwindSafe for VulkanInitInfo
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