#[repr(transparent)]pub struct VkInstance(pub NonNull<c_void>, pub PhantomData<*mut u8>);Tuple Fields§
§0: NonNull<c_void>§1: PhantomData<*mut u8>Trait Implementations§
Source§impl Clone for VkInstance
impl Clone for VkInstance
Source§fn clone(&self) -> VkInstance
fn clone(&self) -> VkInstance
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 moreSource§impl Debug for VkInstance
impl Debug for VkInstance
Source§impl Hash for VkInstance
impl Hash for VkInstance
Source§impl Ord for VkInstance
impl Ord for VkInstance
Source§fn cmp(&self, other: &VkInstance) -> Ordering
fn cmp(&self, other: &VkInstance) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VkInstance
impl PartialEq for VkInstance
Source§fn eq(&self, other: &VkInstance) -> bool
fn eq(&self, other: &VkInstance) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for VkInstance
impl PartialOrd for VkInstance
Source§impl VkRawHandle for VkInstance
impl VkRawHandle for VkInstance
const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_INSTANCE
fn raw_handle_value(&self) -> u64
impl Copy for VkInstance
impl Eq for VkInstance
impl StructuralPartialEq for VkInstance
Auto Trait Implementations§
impl Freeze for VkInstance
impl RefUnwindSafe for VkInstance
impl !Send for VkInstance
impl !Sync for VkInstance
impl Unpin for VkInstance
impl UnsafeUnpin for VkInstance
impl UnwindSafe for VkInstance
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