#[repr(transparent)]pub struct VkSemaphore(pub NonZeroU64, pub PhantomData<*mut u8>);Tuple Fields§
§0: NonZeroU64§1: PhantomData<*mut u8>Trait Implementations§
Source§impl Clone for VkSemaphore
impl Clone for VkSemaphore
Source§fn clone(&self) -> VkSemaphore
fn clone(&self) -> VkSemaphore
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 VkSemaphore
impl Debug for VkSemaphore
Source§impl Hash for VkSemaphore
impl Hash for VkSemaphore
Source§impl Ord for VkSemaphore
impl Ord for VkSemaphore
Source§fn cmp(&self, other: &VkSemaphore) -> Ordering
fn cmp(&self, other: &VkSemaphore) -> 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 VkSemaphore
impl PartialEq for VkSemaphore
Source§fn eq(&self, other: &VkSemaphore) -> bool
fn eq(&self, other: &VkSemaphore) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for VkSemaphore
impl PartialOrd for VkSemaphore
Source§impl VkRawHandle for VkSemaphore
impl VkRawHandle for VkSemaphore
const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_SEMAPHORE
fn raw_handle_value(&self) -> u64
impl Copy for VkSemaphore
impl Eq for VkSemaphore
impl StructuralPartialEq for VkSemaphore
Auto Trait Implementations§
impl Freeze for VkSemaphore
impl RefUnwindSafe for VkSemaphore
impl !Send for VkSemaphore
impl !Sync for VkSemaphore
impl Unpin for VkSemaphore
impl UnsafeUnpin for VkSemaphore
impl UnwindSafe for VkSemaphore
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