#[repr(transparent)]pub struct SemaphoreType(pub i32);Expand description
Open integer representation of VkSemaphoreType.
Tuple Fields§
§0: i32Implementations§
Source§impl SemaphoreType
impl SemaphoreType
Sourcepub const BINARY_KHR: Self
pub const BINARY_KHR: Self
Native value VK_SEMAPHORE_TYPE_BINARY_KHR.
Sourcepub const TIMELINE_KHR: Self
pub const TIMELINE_KHR: Self
Native value VK_SEMAPHORE_TYPE_TIMELINE_KHR.
pub const fn from_raw(value: i32) -> Self
pub const fn as_raw(self) -> i32
pub const fn empty() -> Self
Trait Implementations§
Source§impl Clone for SemaphoreType
impl Clone for SemaphoreType
impl Copy for SemaphoreType
Source§impl Debug for SemaphoreType
impl Debug for SemaphoreType
Source§impl Default for SemaphoreType
impl Default for SemaphoreType
impl Eq for SemaphoreType
Source§impl Hash for SemaphoreType
impl Hash for SemaphoreType
Source§impl PartialEq for SemaphoreType
impl PartialEq for SemaphoreType
impl StructuralPartialEq for SemaphoreType
Auto Trait Implementations§
impl Forget for SemaphoreType
impl Freeze for SemaphoreType
impl Move for SemaphoreType
impl RefUnwindSafe for SemaphoreType
impl Send for SemaphoreType
impl Sync for SemaphoreType
impl Unpin for SemaphoreType
impl UnsafeUnpin for SemaphoreType
impl UnwindSafe for SemaphoreType
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