[][src]Struct ash::extensions::experimental::amd::AmdGpaInterfaceFn

pub struct AmdGpaInterfaceFn {
    pub create_gpa_session: PFN_vkCreateGpaSessionAMD,
    pub destroy_gpa_session: PFN_vkDestroyGpaSessionAMD,
    pub set_gpa_device_clock_mode: PFN_vkSetGpaDeviceClockModeAMD,
    pub cmd_begin_gpa_session: PFN_vkCmdBeginGpaSessionAMD,
    pub cmd_end_gpa_session: PFN_vkCmdEndGpaSessionAMD,
    pub cmd_begin_gpa_sample: PFN_vkCmdBeginGpaSampleAMD,
    pub cmd_end_gpa_sample: PFN_vkCmdEndGpaSampleAMD,
    pub get_gpa_session_status: PFN_vkGetGpaSessionStatusAMD,
    pub get_gpa_session_results: PFN_vkGetGpaSessionResultsAMD,
    pub reset_gpa_session: PFN_vkResetGpaSessionAMD,
    pub cmd_copy_gpa_session_results: PFN_vkCmdCopyGpaSessionResultsAMD,
}

Fields

create_gpa_session: PFN_vkCreateGpaSessionAMDdestroy_gpa_session: PFN_vkDestroyGpaSessionAMDset_gpa_device_clock_mode: PFN_vkSetGpaDeviceClockModeAMDcmd_begin_gpa_session: PFN_vkCmdBeginGpaSessionAMDcmd_end_gpa_session: PFN_vkCmdEndGpaSessionAMDcmd_begin_gpa_sample: PFN_vkCmdBeginGpaSampleAMDcmd_end_gpa_sample: PFN_vkCmdEndGpaSampleAMDget_gpa_session_status: PFN_vkGetGpaSessionStatusAMDget_gpa_session_results: PFN_vkGetGpaSessionResultsAMDreset_gpa_session: PFN_vkResetGpaSessionAMDcmd_copy_gpa_session_results: PFN_vkCmdCopyGpaSessionResultsAMD

Methods

impl AmdGpaInterfaceFn[src]

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

pub unsafe fn create_gpa_session(
    &self,
    device: Device,
    create_info: *const GpaSessionCreateInfoAmd,
    allocator: *const AllocationCallbacks,
    gpa_session: *mut GpaSessionAmd
) -> Result
[src]

pub unsafe fn destroy_gpa_session(
    &self,
    device: Device,
    gpa_session: GpaSessionAmd,
    allocator: *const AllocationCallbacks
) -> c_void
[src]

Trait Implementations

impl Sync for AmdGpaInterfaceFn[src]

impl Clone for AmdGpaInterfaceFn[src]

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

Performs copy-assignment from source. Read more

impl Send for AmdGpaInterfaceFn[src]

Auto Trait Implementations

impl Unpin for AmdGpaInterfaceFn

impl UnwindSafe for AmdGpaInterfaceFn

impl RefUnwindSafe for AmdGpaInterfaceFn

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]