[][src]Struct ash::vk::KhrTimelineSemaphoreFn

pub struct KhrTimelineSemaphoreFn {
    pub get_semaphore_counter_value_khr: extern "system" fn(device: Device, semaphore: Semaphore, p_value: *mut u64) -> Result,
    pub wait_semaphores_khr: extern "system" fn(device: Device, p_wait_info: *const SemaphoreWaitInfo, timeout: u64) -> Result,
    pub signal_semaphore_khr: extern "system" fn(device: Device, p_signal_info: *const SemaphoreSignalInfo) -> Result,
}

Fields

get_semaphore_counter_value_khr: extern "system" fn(device: Device, semaphore: Semaphore, p_value: *mut u64) -> Resultwait_semaphores_khr: extern "system" fn(device: Device, p_wait_info: *const SemaphoreWaitInfo, timeout: u64) -> Resultsignal_semaphore_khr: extern "system" fn(device: Device, p_signal_info: *const SemaphoreSignalInfo) -> Result

Methods

impl KhrTimelineSemaphoreFn[src]

pub fn name() -> &'static CStr[src]

impl KhrTimelineSemaphoreFn[src]

pub fn load<F>(_f: F) -> Self where
    F: FnMut(&CStr) -> *const c_void
[src]

pub unsafe fn get_semaphore_counter_value_khr(
    &self,
    device: Device,
    semaphore: Semaphore,
    p_value: *mut u64
) -> Result
[src]

pub unsafe fn wait_semaphores_khr(
    &self,
    device: Device,
    p_wait_info: *const SemaphoreWaitInfo,
    timeout: u64
) -> Result
[src]

pub unsafe fn signal_semaphore_khr(
    &self,
    device: Device,
    p_signal_info: *const SemaphoreSignalInfo
) -> Result
[src]

Trait Implementations

impl Clone for KhrTimelineSemaphoreFn[src]

impl Send for KhrTimelineSemaphoreFn[src]

impl Sync for KhrTimelineSemaphoreFn[src]

Auto Trait Implementations

impl RefUnwindSafe for KhrTimelineSemaphoreFn

impl Unpin for KhrTimelineSemaphoreFn

impl UnwindSafe for KhrTimelineSemaphoreFn

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.