pub struct VkEvent { /* private fields */ }
Expand description
Wrapper for VkEvent.
Implementations§
Source§impl VkEvent
impl VkEvent
Sourcepub fn null() -> Self
pub fn null() -> Self
Creates an object with a null Vulkan internal handle.
Calling a method with a null handle will most likely result in a crash.
Sourcepub fn destroy(&self)
pub fn destroy(&self)
Wrapper for vkDestroyEvent.
Sourcepub fn get_status(&self) -> VkResult
pub fn get_status(&self) -> VkResult
Wrapper for vkGetEventStatus.
Sourcepub fn set(&self) -> LavaResult<()>
pub fn set(&self) -> LavaResult<()>
Wrapper for vkSetEvent.
Sourcepub fn reset(&self) -> LavaResult<()>
pub fn reset(&self) -> LavaResult<()>
Wrapper for vkResetEvent.
Trait Implementations§
impl Copy for VkEvent
Auto Trait Implementations§
impl Freeze for VkEvent
impl RefUnwindSafe for VkEvent
impl !Send for VkEvent
impl !Sync for VkEvent
impl Unpin for VkEvent
impl UnwindSafe for VkEvent
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