[][src]Struct ash::vk::GoogleDisplayTimingFn

pub struct GoogleDisplayTimingFn {
    pub get_refresh_cycle_duration_google: extern "system" fn(device: Device, swapchain: SwapchainKHR, p_display_timing_properties: *mut RefreshCycleDurationGOOGLE) -> Result,
    pub get_past_presentation_timing_google: extern "system" fn(device: Device, swapchain: SwapchainKHR, p_presentation_timing_count: *mut u32, p_presentation_timings: *mut PastPresentationTimingGOOGLE) -> Result,
}

Fields

get_refresh_cycle_duration_google: extern "system" fn(device: Device, swapchain: SwapchainKHR, p_display_timing_properties: *mut RefreshCycleDurationGOOGLE) -> Resultget_past_presentation_timing_google: extern "system" fn(device: Device, swapchain: SwapchainKHR, p_presentation_timing_count: *mut u32, p_presentation_timings: *mut PastPresentationTimingGOOGLE) -> Result

Methods

impl GoogleDisplayTimingFn[src]

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

impl GoogleDisplayTimingFn[src]

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

pub unsafe fn get_refresh_cycle_duration_google(
    &self,
    device: Device,
    swapchain: SwapchainKHR,
    p_display_timing_properties: *mut RefreshCycleDurationGOOGLE
) -> Result
[src]

pub unsafe fn get_past_presentation_timing_google(
    &self,
    device: Device,
    swapchain: SwapchainKHR,
    p_presentation_timing_count: *mut u32,
    p_presentation_timings: *mut PastPresentationTimingGOOGLE
) -> Result
[src]

Trait Implementations

impl Sync for GoogleDisplayTimingFn[src]

impl Clone for GoogleDisplayTimingFn[src]

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

Performs copy-assignment from source. Read more

impl Send for GoogleDisplayTimingFn[src]

Auto Trait Implementations

impl Unpin for GoogleDisplayTimingFn

impl UnwindSafe for GoogleDisplayTimingFn

impl RefUnwindSafe for GoogleDisplayTimingFn

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T, U> Into<U> for T where
    U: From<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> Borrow<T> for T where
    T: ?Sized
[src]

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

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