pub struct ExtDebugReportFn {
pub create_debug_report_callback_ext: unsafe extern "system" fn(Instance, *const DebugReportCallbackCreateInfoEXT, *const AllocationCallbacks, *mut DebugReportCallbackEXT) -> Result,
pub destroy_debug_report_callback_ext: unsafe extern "system" fn(Instance, DebugReportCallbackEXT, *const AllocationCallbacks),
pub debug_report_message_ext: unsafe extern "system" fn(Instance, DebugReportFlagsEXT, DebugReportObjectTypeEXT, u64, usize, i32, *const i8, *const i8),
}Fields
create_debug_report_callback_ext: unsafe extern "system" fn(Instance, *const DebugReportCallbackCreateInfoEXT, *const AllocationCallbacks, *mut DebugReportCallbackEXT) -> Resultdestroy_debug_report_callback_ext: unsafe extern "system" fn(Instance, DebugReportCallbackEXT, *const AllocationCallbacks)debug_report_message_ext: unsafe extern "system" fn(Instance, DebugReportFlagsEXT, DebugReportObjectTypeEXT, u64, usize, i32, *const i8, *const i8)Implementations
sourceimpl ExtDebugReportFn
impl ExtDebugReportFn
pub fn load<F>(_f: F) -> ExtDebugReportFn where
F: FnMut(&CStr) -> *const c_void,
sourcepub unsafe fn create_debug_report_callback_ext(
&self,
instance: Instance,
p_create_info: *const DebugReportCallbackCreateInfoEXT,
p_allocator: *const AllocationCallbacks,
p_callback: *mut DebugReportCallbackEXT
) -> Result
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
sourcepub unsafe fn destroy_debug_report_callback_ext(
&self,
instance: Instance,
callback: DebugReportCallbackEXT,
p_allocator: *const AllocationCallbacks
)
pub unsafe fn destroy_debug_report_callback_ext(
&self,
instance: Instance,
callback: DebugReportCallbackEXT,
p_allocator: *const AllocationCallbacks
)
sourcepub 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 i8,
p_message: *const i8
)
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 i8,
p_message: *const i8
)
Trait Implementations
sourceimpl Clone for ExtDebugReportFn
impl Clone for ExtDebugReportFn
sourcepub fn clone(&self) -> ExtDebugReportFn
pub fn clone(&self) -> ExtDebugReportFn
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
impl Send for ExtDebugReportFn
impl Sync for ExtDebugReportFn
Auto Trait Implementations
impl RefUnwindSafe for ExtDebugReportFn
impl Unpin for ExtDebugReportFn
impl UnwindSafe for ExtDebugReportFn
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more