[][src]Struct ash::vk::KhrPerformanceQueryFn

pub struct KhrPerformanceQueryFn {
    pub enumerate_physical_device_queue_family_performance_query_counters_khr: extern "system" fn(physical_device: PhysicalDevice, queue_family_index: u32, p_counter_count: *mut u32, p_counters: *mut PerformanceCounterKHR, p_counter_descriptions: *mut PerformanceCounterDescriptionKHR) -> Result,
    pub get_physical_device_queue_family_performance_query_passes_khr: extern "system" fn(physical_device: PhysicalDevice, p_performance_query_create_info: *const QueryPoolPerformanceCreateInfoKHR, p_num_passes: *mut u32) -> c_void,
    pub acquire_profiling_lock_khr: extern "system" fn(device: Device, p_info: *const AcquireProfilingLockInfoKHR) -> Result,
    pub release_profiling_lock_khr: extern "system" fn(device: Device) -> c_void,
}

Fields

enumerate_physical_device_queue_family_performance_query_counters_khr: extern "system" fn(physical_device: PhysicalDevice, queue_family_index: u32, p_counter_count: *mut u32, p_counters: *mut PerformanceCounterKHR, p_counter_descriptions: *mut PerformanceCounterDescriptionKHR) -> Resultget_physical_device_queue_family_performance_query_passes_khr: extern "system" fn(physical_device: PhysicalDevice, p_performance_query_create_info: *const QueryPoolPerformanceCreateInfoKHR, p_num_passes: *mut u32) -> c_voidacquire_profiling_lock_khr: extern "system" fn(device: Device, p_info: *const AcquireProfilingLockInfoKHR) -> Resultrelease_profiling_lock_khr: extern "system" fn(device: Device) -> c_void

Methods

impl KhrPerformanceQueryFn[src]

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

impl KhrPerformanceQueryFn[src]

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

pub unsafe fn enumerate_physical_device_queue_family_performance_query_counters_khr(
    &self,
    physical_device: PhysicalDevice,
    queue_family_index: u32,
    p_counter_count: *mut u32,
    p_counters: *mut PerformanceCounterKHR,
    p_counter_descriptions: *mut PerformanceCounterDescriptionKHR
) -> Result
[src]

pub unsafe fn get_physical_device_queue_family_performance_query_passes_khr(
    &self,
    physical_device: PhysicalDevice,
    p_performance_query_create_info: *const QueryPoolPerformanceCreateInfoKHR,
    p_num_passes: *mut u32
) -> c_void
[src]

pub unsafe fn acquire_profiling_lock_khr(
    &self,
    device: Device,
    p_info: *const AcquireProfilingLockInfoKHR
) -> Result
[src]

pub unsafe fn release_profiling_lock_khr(&self, device: Device) -> c_void[src]

Trait Implementations

impl Clone for KhrPerformanceQueryFn[src]

impl Send for KhrPerformanceQueryFn[src]

impl Sync for KhrPerformanceQueryFn[src]

Auto Trait Implementations

impl RefUnwindSafe for KhrPerformanceQueryFn

impl Unpin for KhrPerformanceQueryFn

impl UnwindSafe for KhrPerformanceQueryFn

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.