pub struct VkHandleRef<'r, H>(/* private fields */);
Expand description
A smart handle to a Vulkan object that holds a source lifetime (bitpattern as same as native handle type)
Implementations§
Source§impl<'r, H> VkHandleRef<'r, H>
impl<'r, H> VkHandleRef<'r, H>
Trait Implementations§
Source§impl<'r, H: Clone> Clone for VkHandleRef<'r, H>
impl<'r, H: Clone> Clone for VkHandleRef<'r, H>
Source§fn clone(&self) -> VkHandleRef<'r, H>
fn clone(&self) -> VkHandleRef<'r, H>
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<'r, H: Debug> Debug for VkHandleRef<'r, H>
impl<'r, H: Debug> Debug for VkHandleRef<'r, H>
Source§impl<'r, H: Hash> Hash for VkHandleRef<'r, H>
impl<'r, H: Hash> Hash for VkHandleRef<'r, H>
Source§impl<'r, H: PartialEq> PartialEq for VkHandleRef<'r, H>
impl<'r, H: PartialEq> PartialEq for VkHandleRef<'r, H>
Source§impl<H: Copy> VkHandle for VkHandleRef<'_, H>
impl<H: Copy> VkHandle for VkHandleRef<'_, H>
type Handle = H
Source§fn native_ptr(&self) -> H
fn native_ptr(&self) -> H
Retrieve an underlying handle
fn as_transparent_ref(&self) -> VkHandleRef<'_, Self::Handle>
impl<'r, H: Eq> Eq for VkHandleRef<'r, H>
impl<'r, H> StructuralPartialEq for VkHandleRef<'r, H>
Auto Trait Implementations§
impl<'r, H> Freeze for VkHandleRef<'r, H>where
H: Freeze,
impl<'r, H> !RefUnwindSafe for VkHandleRef<'r, H>
impl<'r, H> !Send for VkHandleRef<'r, H>
impl<'r, H> !Sync for VkHandleRef<'r, H>
impl<'r, H> Unpin for VkHandleRef<'r, H>where
H: Unpin,
impl<'r, H> !UnwindSafe for VkHandleRef<'r, H>
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