[][src]Struct ash_tray::ash::vk::ExtCalibratedTimestampsFn

pub struct ExtCalibratedTimestampsFn {
    pub get_physical_device_calibrateable_time_domains_ext: extern "system" fn(physical_device: PhysicalDevice, p_time_domain_count: *mut u32, p_time_domains: *mut TimeDomainEXT) -> Result,
    pub get_calibrated_timestamps_ext: extern "system" fn(device: Device, timestamp_count: u32, p_timestamp_infos: *const CalibratedTimestampInfoEXT, p_timestamps: *mut u64, p_max_deviation: *mut u64) -> Result,
}

Fields

get_physical_device_calibrateable_time_domains_ext: extern "system" fn(physical_device: PhysicalDevice, p_time_domain_count: *mut u32, p_time_domains: *mut TimeDomainEXT) -> Resultget_calibrated_timestamps_ext: extern "system" fn(device: Device, timestamp_count: u32, p_timestamp_infos: *const CalibratedTimestampInfoEXT, p_timestamps: *mut u64, p_max_deviation: *mut u64) -> Result

Methods

impl ExtCalibratedTimestampsFn[src]

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

impl ExtCalibratedTimestampsFn[src]

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

pub unsafe fn get_physical_device_calibrateable_time_domains_ext(
    &self,
    physical_device: PhysicalDevice,
    p_time_domain_count: *mut u32,
    p_time_domains: *mut TimeDomainEXT
) -> Result
[src]

pub unsafe fn get_calibrated_timestamps_ext(
    &self,
    device: Device,
    timestamp_count: u32,
    p_timestamp_infos: *const CalibratedTimestampInfoEXT,
    p_timestamps: *mut u64,
    p_max_deviation: *mut u64
) -> Result
[src]

Trait Implementations

impl Send for ExtCalibratedTimestampsFn[src]

impl Sync for ExtCalibratedTimestampsFn[src]

impl Clone for ExtCalibratedTimestampsFn[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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