[][src]Struct 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]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Blanket Implementations

impl<T, U> Into 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> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.