[][src]Struct ash::vk::ExtDebugReportFn

pub struct ExtDebugReportFn {
    pub create_debug_report_callback_ext: extern "system" fn(instance: Instance, p_create_info: *const DebugReportCallbackCreateInfoEXT, p_allocator: *const AllocationCallbacks, p_callback: *mut DebugReportCallbackEXT) -> Result,
    pub destroy_debug_report_callback_ext: extern "system" fn(instance: Instance, callback: DebugReportCallbackEXT, p_allocator: *const AllocationCallbacks) -> c_void,
    pub debug_report_message_ext: extern "system" fn(instance: Instance, flags: DebugReportFlagsEXT, object_type: DebugReportObjectTypeEXT, object: u64, location: usize, message_code: i32, p_layer_prefix: *const c_char, p_message: *const c_char) -> c_void,
}

Fields

create_debug_report_callback_ext: extern "system" fn(instance: Instance, p_create_info: *const DebugReportCallbackCreateInfoEXT, p_allocator: *const AllocationCallbacks, p_callback: *mut DebugReportCallbackEXT) -> Resultdestroy_debug_report_callback_ext: extern "system" fn(instance: Instance, callback: DebugReportCallbackEXT, p_allocator: *const AllocationCallbacks) -> c_voiddebug_report_message_ext: extern "system" fn(instance: Instance, flags: DebugReportFlagsEXT, object_type: DebugReportObjectTypeEXT, object: u64, location: usize, message_code: i32, p_layer_prefix: *const c_char, p_message: *const c_char) -> c_void

Implementations

impl ExtDebugReportFn[src]

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

impl ExtDebugReportFn[src]

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

pub unsafe fn create_debug_report_callback_ext(
    &self,
    instance: Instance,
    p_create_info: *const DebugReportCallbackCreateInfoEXT,
    p_allocator: *const AllocationCallbacks,
    p_callback: *mut DebugReportCallbackEXT
) -> Result
[src]

pub unsafe fn destroy_debug_report_callback_ext(
    &self,
    instance: Instance,
    callback: DebugReportCallbackEXT,
    p_allocator: *const AllocationCallbacks
) -> c_void
[src]

pub unsafe fn debug_report_message_ext(
    &self,
    instance: Instance,
    flags: DebugReportFlagsEXT,
    object_type: DebugReportObjectTypeEXT,
    object: u64,
    location: usize,
    message_code: i32,
    p_layer_prefix: *const c_char,
    p_message: *const c_char
) -> c_void
[src]

Trait Implementations

impl Clone for ExtDebugReportFn[src]

impl Send for ExtDebugReportFn[src]

impl Sync for ExtDebugReportFn[src]

Auto Trait Implementations

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.