#[non_exhaustive]pub struct VulkanContextDescriptor {
pub instance: NativePointer,
pub physical_device: NativePointer,
pub device: NativePointer,
pub graphics_queue: NativePointer,
pub graphics_queue_family_index: u32,
pub get_instance_proc_addr: NativePointer,
pub get_device_proc_addr: NativePointer,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.instance: NativePointer§physical_device: NativePointer§device: NativePointer§graphics_queue: NativePointer§graphics_queue_family_index: u32§get_instance_proc_addr: NativePointer§get_device_proc_addr: NativePointerImplementations§
Source§impl VulkanContextDescriptor
impl VulkanContextDescriptor
pub fn new( instance: NativePointer, physical_device: NativePointer, device: NativePointer, graphics_queue: NativePointer, graphics_queue_family_index: u32, ) -> Self
pub fn with_proc_addresses( self, get_instance_proc_addr: NativePointer, get_device_proc_addr: NativePointer, ) -> Self
Trait Implementations§
Source§impl Clone for VulkanContextDescriptor
impl Clone for VulkanContextDescriptor
Source§fn clone(&self) -> VulkanContextDescriptor
fn clone(&self) -> VulkanContextDescriptor
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 moreSource§impl Debug for VulkanContextDescriptor
impl Debug for VulkanContextDescriptor
Source§impl Default for VulkanContextDescriptor
impl Default for VulkanContextDescriptor
Source§impl PartialEq for VulkanContextDescriptor
impl PartialEq for VulkanContextDescriptor
impl StructuralPartialEq for VulkanContextDescriptor
Auto Trait Implementations§
impl Freeze for VulkanContextDescriptor
impl RefUnwindSafe for VulkanContextDescriptor
impl !Send for VulkanContextDescriptor
impl !Sync for VulkanContextDescriptor
impl Unpin for VulkanContextDescriptor
impl UnsafeUnpin for VulkanContextDescriptor
impl UnwindSafe for VulkanContextDescriptor
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