Debian Codegraph @

src/extensions/ext/debug_report.rs

raw symbols SCIP
1 //! <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_EXT_debug_report.html>
2
3 use craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::preluderust-analyzer cargo ash 0.38.0+1.3.281 prelude/::*;
4 use craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/;
5 use craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::RawPtrrust-analyzer cargo ash 0.38.0+1.3.281 RawPtr#;
6 use corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/::memrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/;
7
8 impl craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/::debug_reportrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_report/::Instancerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_report/Instance# {
9 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDestroyDebugReportCallbackEXT.html>
10 #[inline]
11 pub unsafe fn destroy_debug_report_callbackrust-analyzer cargo ash 0.38.0+1.3.281 extensions/ext/debug_report/impl#[`crate::ext::debug_report::Instance`]destroy_debug_report_callback().(
12 &self,
13 debug: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DebugReportCallbackEXTrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DebugReportCallbackEXT#,
14 allocation_callbacks: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<&vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::AllocationCallbacksrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/AllocationCallbacks#<'_>>,
15 ) {
16 (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_report/Instance#fp..destroy_debug_report_callback_extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_report/InstanceFn#destroy_debug_report_callback_ext.)(
17 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_report/Instance#handle.,
18 debug,
19 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
20 );
21 }
22
23 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreateDebugReportCallbackEXT.html>
24 #[inline]
25 pub unsafe fn create_debug_report_callbackrust-analyzer cargo ash 0.38.0+1.3.281 extensions/ext/debug_report/impl#[`crate::ext::debug_report::Instance`]create_debug_report_callback().(
26 &self,
27 create_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DebugReportCallbackCreateInfoEXTrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DebugReportCallbackCreateInfoEXT#<'_>,
28 allocation_callbacks: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<&vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::AllocationCallbacksrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/AllocationCallbacks#<'_>>,
29 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DebugReportCallbackEXTrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DebugReportCallbackEXT#> {
30 let mut debug_cb = memrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/::MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#::uninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]uninit().();
31 (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_report/Instance#fp..create_debug_report_callback_extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_report/InstanceFn#create_debug_report_callback_ext.)(
32 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_report/Instance#handle.,
33 create_info,
34 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
35 debug_cb.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
36 )
37 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(debug_cb)
38 }
39 }