pub struct TimelineSemaphore { /* private fields */ }
Implementations§
Source§impl TimelineSemaphore
impl TimelineSemaphore
pub fn new(instance: &Instance, device: &Device) -> Self
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<()>
pub const fn name() -> &'static CStr
pub fn fp(&self) -> &KhrTimelineSemaphoreFn
pub fn device(&self) -> Device
Trait Implementations§
Source§impl Clone for TimelineSemaphore
impl Clone for TimelineSemaphore
Source§fn clone(&self) -> TimelineSemaphore
fn clone(&self) -> TimelineSemaphore
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for TimelineSemaphore
impl RefUnwindSafe for TimelineSemaphore
impl Send for TimelineSemaphore
impl Sync for TimelineSemaphore
impl Unpin for TimelineSemaphore
impl UnwindSafe for TimelineSemaphore
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)