Struct ash::khr::timeline_semaphore::Device
source · pub struct Device {
pub(crate) fp: DeviceFn,
pub(crate) handle: Device,
}
Expand description
VK_KHR_timeline_semaphore device-level functions
Fields§
§fp: DeviceFn
§handle: Device
Implementations§
source§impl Device
impl Device
sourcepub unsafe fn get_semaphore_counter_value(
&self,
semaphore: Semaphore,
) -> VkResult<u64>
pub unsafe fn get_semaphore_counter_value( &self, semaphore: Semaphore, ) -> VkResult<u64>
sourcepub unsafe fn wait_semaphores(
&self,
wait_info: &SemaphoreWaitInfo<'_>,
timeout: u64,
) -> VkResult<()>
pub unsafe fn wait_semaphores( &self, wait_info: &SemaphoreWaitInfo<'_>, timeout: u64, ) -> VkResult<()>
sourcepub unsafe fn signal_semaphore(
&self,
signal_info: &SemaphoreSignalInfo<'_>,
) -> VkResult<()>
pub unsafe fn signal_semaphore( &self, signal_info: &SemaphoreSignalInfo<'_>, ) -> VkResult<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Device
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
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