Lines Matching +full:build +full:- +full:std
8 use std::fmt;
9 use std::os::raw::*;
11 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_MAKE_VERSION.htm…
12 pub const fn make_version(major: u32, minor: u32, patch: u32) -> u32 { in make_version()
16 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_VERSION_MAJOR.ht…
17 pub const fn version_major(version: u32) -> u32 { in version_major()
21 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_VERSION_MINOR.ht…
22 pub const fn version_minor(version: u32) -> u32 { in version_minor()
26 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_VERSION_PATCH.ht…
27 pub const fn version_patch(version: u32) -> u32 { in version_patch()
30 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_MAKE_API_VERSION…
31 pub const fn make_api_version(variant: u32, major: u32, minor: u32, patch: u32) -> u32 { in make_api_version()
34 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_API_VERSION_VARI…
35 pub const fn api_version_variant(version: u32) -> u32 { in api_version_variant()
38 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_API_VERSION_MAJO…
39 pub const fn api_version_major(version: u32) -> u32 { in api_version_major()
42 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_API_VERSION_MINO…
43 pub const fn api_version_minor(version: u32) -> u32 { in api_version_minor()
46 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_API_VERSION_PATC…
47 pub const fn api_version_patch(version: u32) -> u32 { in api_version_patch()
50 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_API_VERSION_1_0.…
52 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_API_VERSION_1_1.…
54 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_API_VERSION_1_2.…
57 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_HEADER_VERSION_C…
59 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSampleMask.html>"]
61 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBool32.html>"]
63 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkFlags.html>"]
65 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkFlags64.html>"]
67 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceSize.html>"]
69 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceAddress.htm…
73 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkQueryPoolCreateFl…
78 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineDepthSten…
83 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineDynamicSt…
88 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineColorBlen…
93 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineMultisamp…
98 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineRasteriza…
103 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineViewportS…
108 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineTessellat…
113 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineInputAsse…
118 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineVertexInp…
123 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBufferViewCreateF…
128 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkInstanceCreateFla…
133 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceCreateFlags…
138 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMemoryMapFlags.ht…
143 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDescriptorPoolRes…
148 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDescriptorUpdateT…
153 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAccelerationStruc…
158 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAccelerationStruc…
163 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDisplayModeCreate…
168 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDisplaySurfaceCre…
173 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAndroidSurfaceCre…
178 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkViSurfaceCreateFl…
183 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkWaylandSurfaceCre…
188 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkWin32SurfaceCreat…
193 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkXlibSurfaceCreate…
198 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkXcbSurfaceCreateF…
203 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDirectFBSurfaceCr…
208 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkIOSSurfaceCreateF…
213 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMacOSSurfaceCreat…
218 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMetalSurfaceCreat…
223 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImagePipeSurfaceC…
228 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkStreamDescriptorS…
233 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkHeadlessSurfaceCr…
238 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkScreenSurfaceCrea…
243 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCommandPoolTrimFl…
248 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineViewportS…
253 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineDiscardRe…
258 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineCoverageT…
263 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineCoverageM…
268 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineCoverageR…
273 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkValidationCacheCr…
278 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDebugUtilsMesseng…
283 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDebugUtilsMesseng…
288 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceMemoryRepor…
293 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineRasteriza…
302 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineRasteriza…
307 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineRasteriza…
316 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoBeginCodingF…
321 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoEndCodingFla…
326 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoDecodeH264Cr…
331 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoDecodeH265Cr…
337 doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkInstance.html>"
339 … PHYSICAL_DEVICE , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
343 doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDevice.html>"
348 doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkQueue.html>"
350 …, COMMAND_BUFFER , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
351 … , DEVICE_MEMORY , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
352 …l , COMMAND_POOL , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
356 doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBuffer.html>"
362 "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBufferView.html>"
367 doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImage.html>"
373 "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageView.html>"
375 … , SHADER_MODULE , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
379 doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipeline.html>"
381 … PIPELINE_LAYOUT , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
385 doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSampler.html>"
387 …, DESCRIPTOR_SET , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
388 …IPTOR_SET_LAYOUT , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
389 … DESCRIPTOR_POOL , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
393 doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkFence.html>"
399 "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSemaphore.html>"
404 doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkEvent.html>"
410 "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkQueryPool.html>"
412 …er , FRAMEBUFFER , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
417 "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkRenderPass.html>"
419 …, PIPELINE_CACHE , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
420 …MMANDS_LAYOUT_NV , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
421 …_UPDATE_TEMPLATE , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
422 …YCBCR_CONVERSION , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
423 …DATION_CACHE_EXT , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
424 …ON_STRUCTURE_KHR , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
425 …ION_STRUCTURE_NV , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
426 …FIGURATION_INTEL , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
427 …ED_OPERATION_KHR , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
428 …TE_DATA_SLOT_EXT , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
429 … , CU_MODULE_NVX , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
430 … CU_FUNCTION_NVX , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
435 "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDisplayKHR.html>"
437 …DISPLAY_MODE_KHR , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
442 "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSurfaceKHR.html>"
444 … , SWAPCHAIN_KHR , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
445 …ORT_CALLBACK_EXT , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
446 …LS_MESSENGER_EXT , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
447 …IDEO_SESSION_KHR , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
448 …N_PARAMETERS_KHR , doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/V…
450 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/PFN_vkInternalAlloc…
460 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/PFN_vkInternalFreeN…
470 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/PFN_vkReallocationF…
478 ) -> *mut c_void,
481 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/PFN_vkAllocationFun…
488 ) -> *mut c_void,
491 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/PFN_vkFreeFunction.…
495 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/PFN_vkVoidFunction.…
498 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/PFN_vkDebugReportCa…
509 ) -> Bool32,
512 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/PFN_vkDebugUtilsMes…
519 ) -> Bool32,
522 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/PFN_vkDeviceMemoryR…
531 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBaseOutStructure.…
536 impl ::std::default::Default for BaseOutStructure {
537 fn default() -> BaseOutStructure { in default()
539 s_type: unsafe { ::std::mem::zeroed() }, in default()
540 p_next: ::std::ptr::null_mut(), in default()
546 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBaseInStructure.h…
551 impl ::std::default::Default for BaseInStructure {
552 fn default() -> BaseInStructure { in default()
554 s_type: unsafe { ::std::mem::zeroed() }, in default()
555 p_next: ::std::ptr::null(), in default()
561 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkOffset2D.html>"]
567 pub fn builder<'a>() -> Offset2DBuilder<'a> { in builder()
570 marker: ::std::marker::PhantomData, in builder()
577 marker: ::std::marker::PhantomData<&'a ()>,
579 impl<'a> ::std::ops::Deref for Offset2DBuilder<'a> {
581 fn deref(&self) -> &Self::Target { in deref()
585 impl<'a> ::std::ops::DerefMut for Offset2DBuilder<'a> {
586 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
591 pub fn x(mut self, x: i32) -> Self { in x()
595 pub fn y(mut self, y: i32) -> Self { in y()
599 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
602 pub fn build(self) -> Offset2D { in build() method
608 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkOffset3D.html>"]
615 pub fn builder<'a>() -> Offset3DBuilder<'a> { in builder()
618 marker: ::std::marker::PhantomData, in builder()
625 marker: ::std::marker::PhantomData<&'a ()>,
627 impl<'a> ::std::ops::Deref for Offset3DBuilder<'a> {
629 fn deref(&self) -> &Self::Target { in deref()
633 impl<'a> ::std::ops::DerefMut for Offset3DBuilder<'a> {
634 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
639 pub fn x(mut self, x: i32) -> Self { in x()
643 pub fn y(mut self, y: i32) -> Self { in y()
647 pub fn z(mut self, z: i32) -> Self { in z()
651 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
654 pub fn build(self) -> Offset3D { in build() method
660 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkExtent2D.html>"]
666 pub fn builder<'a>() -> Extent2DBuilder<'a> { in builder()
669 marker: ::std::marker::PhantomData, in builder()
676 marker: ::std::marker::PhantomData<&'a ()>,
678 impl<'a> ::std::ops::Deref for Extent2DBuilder<'a> {
680 fn deref(&self) -> &Self::Target { in deref()
684 impl<'a> ::std::ops::DerefMut for Extent2DBuilder<'a> {
685 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
690 pub fn width(mut self, width: u32) -> Self { in width()
694 pub fn height(mut self, height: u32) -> Self { in height()
698 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
701 pub fn build(self) -> Extent2D { in build() method
707 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkExtent3D.html>"]
714 pub fn builder<'a>() -> Extent3DBuilder<'a> { in builder()
717 marker: ::std::marker::PhantomData, in builder()
724 marker: ::std::marker::PhantomData<&'a ()>,
726 impl<'a> ::std::ops::Deref for Extent3DBuilder<'a> {
728 fn deref(&self) -> &Self::Target { in deref()
732 impl<'a> ::std::ops::DerefMut for Extent3DBuilder<'a> {
733 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
738 pub fn width(mut self, width: u32) -> Self { in width()
742 pub fn height(mut self, height: u32) -> Self { in height()
746 pub fn depth(mut self, depth: u32) -> Self { in depth()
750 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
753 pub fn build(self) -> Extent3D { in build() method
759 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkViewport.html>"]
769 pub fn builder<'a>() -> ViewportBuilder<'a> { in builder()
772 marker: ::std::marker::PhantomData, in builder()
779 marker: ::std::marker::PhantomData<&'a ()>,
781 impl<'a> ::std::ops::Deref for ViewportBuilder<'a> {
783 fn deref(&self) -> &Self::Target { in deref()
787 impl<'a> ::std::ops::DerefMut for ViewportBuilder<'a> {
788 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
793 pub fn x(mut self, x: f32) -> Self { in x()
797 pub fn y(mut self, y: f32) -> Self { in y()
801 pub fn width(mut self, width: f32) -> Self { in width()
805 pub fn height(mut self, height: f32) -> Self { in height()
809 pub fn min_depth(mut self, min_depth: f32) -> Self { in min_depth()
813 pub fn max_depth(mut self, max_depth: f32) -> Self { in max_depth()
817 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
820 pub fn build(self) -> Viewport { in build() method
826 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkRect2D.html>"]
832 pub fn builder<'a>() -> Rect2DBuilder<'a> { in builder()
835 marker: ::std::marker::PhantomData, in builder()
842 marker: ::std::marker::PhantomData<&'a ()>,
844 impl<'a> ::std::ops::Deref for Rect2DBuilder<'a> {
846 fn deref(&self) -> &Self::Target { in deref()
850 impl<'a> ::std::ops::DerefMut for Rect2DBuilder<'a> {
851 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
856 pub fn offset(mut self, offset: Offset2D) -> Self { in offset()
860 pub fn extent(mut self, extent: Extent2D) -> Self { in extent()
864 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
867 pub fn build(self) -> Rect2D { in build() method
873 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkClearRect.html>"]
880 pub fn builder<'a>() -> ClearRectBuilder<'a> { in builder()
883 marker: ::std::marker::PhantomData, in builder()
890 marker: ::std::marker::PhantomData<&'a ()>,
892 impl<'a> ::std::ops::Deref for ClearRectBuilder<'a> {
894 fn deref(&self) -> &Self::Target { in deref()
898 impl<'a> ::std::ops::DerefMut for ClearRectBuilder<'a> {
899 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
904 pub fn rect(mut self, rect: Rect2D) -> Self { in rect()
908 pub fn base_array_layer(mut self, base_array_layer: u32) -> Self { in base_array_layer()
912 pub fn layer_count(mut self, layer_count: u32) -> Self { in layer_count()
916 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
919 pub fn build(self) -> ClearRect { in build() method
925 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkComponentMapping.…
933 pub fn builder<'a>() -> ComponentMappingBuilder<'a> { in builder()
936 marker: ::std::marker::PhantomData, in builder()
943 marker: ::std::marker::PhantomData<&'a ()>,
945 impl<'a> ::std::ops::Deref for ComponentMappingBuilder<'a> {
947 fn deref(&self) -> &Self::Target { in deref()
951 impl<'a> ::std::ops::DerefMut for ComponentMappingBuilder<'a> {
952 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
957 pub fn r(mut self, r: ComponentSwizzle) -> Self { in r()
961 pub fn g(mut self, g: ComponentSwizzle) -> Self { in g()
965 pub fn b(mut self, b: ComponentSwizzle) -> Self { in b()
969 pub fn a(mut self, a: ComponentSwizzle) -> Self { in a()
973 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
976 pub fn build(self) -> ComponentMapping { in build() method
982 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDevicePro…
995 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
1003 ::std::ffi::CStr::from_ptr(self.device_name.as_ptr() as *const c_char) in fmt()
1011 impl ::std::default::Default for PhysicalDeviceProperties {
1012 fn default() -> PhysicalDeviceProperties { in default()
1019 device_name: unsafe { ::std::mem::zeroed() }, in default()
1020 pipeline_cache_uuid: unsafe { ::std::mem::zeroed() }, in default()
1027 pub fn builder<'a>() -> PhysicalDevicePropertiesBuilder<'a> { in builder()
1030 marker: ::std::marker::PhantomData, in builder()
1037 marker: ::std::marker::PhantomData<&'a ()>,
1039 impl<'a> ::std::ops::Deref for PhysicalDevicePropertiesBuilder<'a> {
1041 fn deref(&self) -> &Self::Target { in deref()
1045 impl<'a> ::std::ops::DerefMut for PhysicalDevicePropertiesBuilder<'a> {
1046 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
1051 pub fn api_version(mut self, api_version: u32) -> Self { in api_version()
1055 pub fn driver_version(mut self, driver_version: u32) -> Self { in driver_version()
1059 pub fn vendor_id(mut self, vendor_id: u32) -> Self { in vendor_id()
1063 pub fn device_id(mut self, device_id: u32) -> Self { in device_id()
1067 pub fn device_type(mut self, device_type: PhysicalDeviceType) -> Self { in device_type()
1071 pub fn device_name(mut self, device_name: [c_char; MAX_PHYSICAL_DEVICE_NAME_SIZE]) -> Self { in device_name()
1075 pub fn pipeline_cache_uuid(mut self, pipeline_cache_uuid: [u8; UUID_SIZE]) -> Self { in pipeline_cache_uuid()
1079 pub fn limits(mut self, limits: PhysicalDeviceLimits) -> Self { in limits()
1083 pub fn sparse_properties(mut self, sparse_properties: PhysicalDeviceSparseProperties) -> Self { in sparse_properties()
1087 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
1090 pub fn build(self) -> PhysicalDeviceProperties { in build() method
1096 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkExtensionProperti…
1102 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
1105 ::std::ffi::CStr::from_ptr(self.extension_name.as_ptr() as *const c_char) in fmt()
1111 impl ::std::default::Default for ExtensionProperties {
1112 fn default() -> ExtensionProperties { in default()
1114 extension_name: unsafe { ::std::mem::zeroed() }, in default()
1120 pub fn builder<'a>() -> ExtensionPropertiesBuilder<'a> { in builder()
1123 marker: ::std::marker::PhantomData, in builder()
1130 marker: ::std::marker::PhantomData<&'a ()>,
1132 impl<'a> ::std::ops::Deref for ExtensionPropertiesBuilder<'a> {
1134 fn deref(&self) -> &Self::Target { in deref()
1138 impl<'a> ::std::ops::DerefMut for ExtensionPropertiesBuilder<'a> {
1139 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
1144 pub fn extension_name(mut self, extension_name: [c_char; MAX_EXTENSION_NAME_SIZE]) -> Self { in extension_name()
1148 pub fn spec_version(mut self, spec_version: u32) -> Self { in spec_version()
1152 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
1155 pub fn build(self) -> ExtensionProperties { in build() method
1161 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkLayerProperties.h…
1169 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
1172 ::std::ffi::CStr::from_ptr(self.layer_name.as_ptr() as *const c_char) in fmt()
1177 ::std::ffi::CStr::from_ptr(self.description.as_ptr() as *const c_char) in fmt()
1182 impl ::std::default::Default for LayerProperties {
1183 fn default() -> LayerProperties { in default()
1185 layer_name: unsafe { ::std::mem::zeroed() }, in default()
1188 description: unsafe { ::std::mem::zeroed() }, in default()
1193 pub fn builder<'a>() -> LayerPropertiesBuilder<'a> { in builder()
1196 marker: ::std::marker::PhantomData, in builder()
1203 marker: ::std::marker::PhantomData<&'a ()>,
1205 impl<'a> ::std::ops::Deref for LayerPropertiesBuilder<'a> {
1207 fn deref(&self) -> &Self::Target { in deref()
1211 impl<'a> ::std::ops::DerefMut for LayerPropertiesBuilder<'a> {
1212 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
1217 pub fn layer_name(mut self, layer_name: [c_char; MAX_EXTENSION_NAME_SIZE]) -> Self { in layer_name()
1221 pub fn spec_version(mut self, spec_version: u32) -> Self { in spec_version()
1225 pub fn implementation_version(mut self, implementation_version: u32) -> Self { in implementation_version()
1229 pub fn description(mut self, description: [c_char; MAX_DESCRIPTION_SIZE]) -> Self { in description()
1233 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
1236 pub fn build(self) -> LayerProperties { in build() method
1242 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkApplicationInfo.h…
1252 impl ::std::default::Default for ApplicationInfo {
1253 fn default() -> ApplicationInfo { in default()
1256 p_next: ::std::ptr::null(), in default()
1257 p_application_name: ::std::ptr::null(), in default()
1259 p_engine_name: ::std::ptr::null(), in default()
1266 pub fn builder<'a>() -> ApplicationInfoBuilder<'a> { in builder()
1269 marker: ::std::marker::PhantomData, in builder()
1276 marker: ::std::marker::PhantomData<&'a ()>,
1278 impl<'a> ::std::ops::Deref for ApplicationInfoBuilder<'a> {
1280 fn deref(&self) -> &Self::Target { in deref()
1284 impl<'a> ::std::ops::DerefMut for ApplicationInfoBuilder<'a> {
1285 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
1290 pub fn application_name(mut self, application_name: &'a ::std::ffi::CStr) -> Self { in application_name()
1294 pub fn application_version(mut self, application_version: u32) -> Self { in application_version()
1298 pub fn engine_name(mut self, engine_name: &'a ::std::ffi::CStr) -> Self { in engine_name()
1302 pub fn engine_version(mut self, engine_version: u32) -> Self { in engine_version()
1306 pub fn api_version(mut self, api_version: u32) -> Self { in api_version()
1310 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
1313 pub fn build(self) -> ApplicationInfo { in build() method
1319 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAllocationCallbac…
1329 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
1352 impl ::std::default::Default for AllocationCallbacks {
1353 fn default() -> AllocationCallbacks { in default()
1355 p_user_data: ::std::ptr::null_mut(), in default()
1365 pub fn builder<'a>() -> AllocationCallbacksBuilder<'a> { in builder()
1368 marker: ::std::marker::PhantomData, in builder()
1375 marker: ::std::marker::PhantomData<&'a ()>,
1377 impl<'a> ::std::ops::Deref for AllocationCallbacksBuilder<'a> {
1379 fn deref(&self) -> &Self::Target { in deref()
1383 impl<'a> ::std::ops::DerefMut for AllocationCallbacksBuilder<'a> {
1384 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
1389 pub fn user_data(mut self, user_data: *mut c_void) -> Self { in user_data()
1393 pub fn pfn_allocation(mut self, pfn_allocation: PFN_vkAllocationFunction) -> Self { in pfn_allocation()
1397 pub fn pfn_reallocation(mut self, pfn_reallocation: PFN_vkReallocationFunction) -> Self { in pfn_reallocation()
1401 pub fn pfn_free(mut self, pfn_free: PFN_vkFreeFunction) -> Self { in pfn_free()
1408 ) -> Self { in pfn_internal_allocation()
1412 pub fn pfn_internal_free(mut self, pfn_internal_free: PFN_vkInternalFreeNotification) -> Self { in pfn_internal_free()
1416 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
1419 pub fn build(self) -> AllocationCallbacks { in build() method
1425 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceQueueCreate…
1434 impl ::std::default::Default for DeviceQueueCreateInfo {
1435 fn default() -> DeviceQueueCreateInfo { in default()
1438 p_next: ::std::ptr::null(), in default()
1442 p_queue_priorities: ::std::ptr::null(), in default()
1447 pub fn builder<'a>() -> DeviceQueueCreateInfoBuilder<'a> { in builder()
1450 marker: ::std::marker::PhantomData, in builder()
1457 marker: ::std::marker::PhantomData<&'a ()>,
1460 impl<'a> ::std::ops::Deref for DeviceQueueCreateInfoBuilder<'a> {
1462 fn deref(&self) -> &Self::Target { in deref()
1466 impl<'a> ::std::ops::DerefMut for DeviceQueueCreateInfoBuilder<'a> {
1467 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
1472 pub fn flags(mut self, flags: DeviceQueueCreateFlags) -> Self { in flags()
1476 pub fn queue_family_index(mut self, queue_family_index: u32) -> Self { in queue_family_index()
1480 pub fn queue_priorities(mut self, queue_priorities: &'a [f32]) -> Self { in queue_priorities()
1488 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
1489 #[doc = r" chain will look like `A -> D -> B -> C`."]
1490 pub fn push_next<T: ExtendsDeviceQueueCreateInfo>(mut self, next: &'a mut T) -> Self { in push_next()
1499 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
1502 pub fn build(self) -> DeviceQueueCreateInfo { in build() method
1508 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceCreateInfo.…
1521 impl ::std::default::Default for DeviceCreateInfo {
1522 fn default() -> DeviceCreateInfo { in default()
1525 p_next: ::std::ptr::null(), in default()
1528 p_queue_create_infos: ::std::ptr::null(), in default()
1530 pp_enabled_layer_names: ::std::ptr::null(), in default()
1532 pp_enabled_extension_names: ::std::ptr::null(), in default()
1533 p_enabled_features: ::std::ptr::null(), in default()
1538 pub fn builder<'a>() -> DeviceCreateInfoBuilder<'a> { in builder()
1541 marker: ::std::marker::PhantomData, in builder()
1548 marker: ::std::marker::PhantomData<&'a ()>,
1551 impl<'a> ::std::ops::Deref for DeviceCreateInfoBuilder<'a> {
1553 fn deref(&self) -> &Self::Target { in deref()
1557 impl<'a> ::std::ops::DerefMut for DeviceCreateInfoBuilder<'a> {
1558 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
1563 pub fn flags(mut self, flags: DeviceCreateFlags) -> Self { in flags()
1567 pub fn queue_create_infos(mut self, queue_create_infos: &'a [DeviceQueueCreateInfo]) -> Self { in queue_create_infos()
1572 pub fn enabled_layer_names(mut self, enabled_layer_names: &'a [*const c_char]) -> Self { in enabled_layer_names()
1577 pub fn enabled_extension_names(mut self, enabled_extension_names: &'a [*const c_char]) -> Self { in enabled_extension_names()
1582 pub fn enabled_features(mut self, enabled_features: &'a PhysicalDeviceFeatures) -> Self { in enabled_features()
1589 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
1590 #[doc = r" chain will look like `A -> D -> B -> C`."]
1591 pub fn push_next<T: ExtendsDeviceCreateInfo>(mut self, next: &'a mut T) -> Self { in push_next()
1600 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
1603 pub fn build(self) -> DeviceCreateInfo { in build() method
1609 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkInstanceCreateInf…
1620 impl ::std::default::Default for InstanceCreateInfo {
1621 fn default() -> InstanceCreateInfo { in default()
1624 p_next: ::std::ptr::null(), in default()
1626 p_application_info: ::std::ptr::null(), in default()
1628 pp_enabled_layer_names: ::std::ptr::null(), in default()
1630 pp_enabled_extension_names: ::std::ptr::null(), in default()
1635 pub fn builder<'a>() -> InstanceCreateInfoBuilder<'a> { in builder()
1638 marker: ::std::marker::PhantomData, in builder()
1645 marker: ::std::marker::PhantomData<&'a ()>,
1648 impl<'a> ::std::ops::Deref for InstanceCreateInfoBuilder<'a> {
1650 fn deref(&self) -> &Self::Target { in deref()
1654 impl<'a> ::std::ops::DerefMut for InstanceCreateInfoBuilder<'a> {
1655 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
1660 pub fn flags(mut self, flags: InstanceCreateFlags) -> Self { in flags()
1664 pub fn application_info(mut self, application_info: &'a ApplicationInfo) -> Self { in application_info()
1668 pub fn enabled_layer_names(mut self, enabled_layer_names: &'a [*const c_char]) -> Self { in enabled_layer_names()
1673 pub fn enabled_extension_names(mut self, enabled_extension_names: &'a [*const c_char]) -> Self { in enabled_extension_names()
1681 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
1682 #[doc = r" chain will look like `A -> D -> B -> C`."]
1683 pub fn push_next<T: ExtendsInstanceCreateInfo>(mut self, next: &'a mut T) -> Self { in push_next()
1692 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
1695 pub fn build(self) -> InstanceCreateInfo { in build() method
1701 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkQueueFamilyProper…
1709 pub fn builder<'a>() -> QueueFamilyPropertiesBuilder<'a> { in builder()
1712 marker: ::std::marker::PhantomData, in builder()
1719 marker: ::std::marker::PhantomData<&'a ()>,
1721 impl<'a> ::std::ops::Deref for QueueFamilyPropertiesBuilder<'a> {
1723 fn deref(&self) -> &Self::Target { in deref()
1727 impl<'a> ::std::ops::DerefMut for QueueFamilyPropertiesBuilder<'a> {
1728 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
1733 pub fn queue_flags(mut self, queue_flags: QueueFlags) -> Self { in queue_flags()
1737 pub fn queue_count(mut self, queue_count: u32) -> Self { in queue_count()
1741 pub fn timestamp_valid_bits(mut self, timestamp_valid_bits: u32) -> Self { in timestamp_valid_bits()
1748 ) -> Self { in min_image_transfer_granularity()
1752 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
1755 pub fn build(self) -> QueueFamilyProperties { in build() method
1761 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceMem…
1768 impl ::std::default::Default for PhysicalDeviceMemoryProperties {
1769 fn default() -> PhysicalDeviceMemoryProperties { in default()
1772 memory_types: unsafe { ::std::mem::zeroed() }, in default()
1774 memory_heaps: unsafe { ::std::mem::zeroed() }, in default()
1779 pub fn builder<'a>() -> PhysicalDeviceMemoryPropertiesBuilder<'a> { in builder()
1782 marker: ::std::marker::PhantomData, in builder()
1789 marker: ::std::marker::PhantomData<&'a ()>,
1791 impl<'a> ::std::ops::Deref for PhysicalDeviceMemoryPropertiesBuilder<'a> {
1793 fn deref(&self) -> &Self::Target { in deref()
1797 impl<'a> ::std::ops::DerefMut for PhysicalDeviceMemoryPropertiesBuilder<'a> {
1798 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
1803 pub fn memory_type_count(mut self, memory_type_count: u32) -> Self { in memory_type_count()
1807 pub fn memory_types(mut self, memory_types: [MemoryType; MAX_MEMORY_TYPES]) -> Self { in memory_types()
1811 pub fn memory_heap_count(mut self, memory_heap_count: u32) -> Self { in memory_heap_count()
1815 pub fn memory_heaps(mut self, memory_heaps: [MemoryHeap; MAX_MEMORY_HEAPS]) -> Self { in memory_heaps()
1819 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
1822 pub fn build(self) -> PhysicalDeviceMemoryProperties { in build() method
1828 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMemoryAllocateInf…
1835 impl ::std::default::Default for MemoryAllocateInfo {
1836 fn default() -> MemoryAllocateInfo { in default()
1839 p_next: ::std::ptr::null(), in default()
1846 pub fn builder<'a>() -> MemoryAllocateInfoBuilder<'a> { in builder()
1849 marker: ::std::marker::PhantomData, in builder()
1856 marker: ::std::marker::PhantomData<&'a ()>,
1859 impl<'a> ::std::ops::Deref for MemoryAllocateInfoBuilder<'a> {
1861 fn deref(&self) -> &Self::Target { in deref()
1865 impl<'a> ::std::ops::DerefMut for MemoryAllocateInfoBuilder<'a> {
1866 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
1871 pub fn allocation_size(mut self, allocation_size: DeviceSize) -> Self { in allocation_size()
1875 pub fn memory_type_index(mut self, memory_type_index: u32) -> Self { in memory_type_index()
1882 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
1883 #[doc = r" chain will look like `A -> D -> B -> C`."]
1884 pub fn push_next<T: ExtendsMemoryAllocateInfo>(mut self, next: &'a mut T) -> Self { in push_next()
1893 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
1896 pub fn build(self) -> MemoryAllocateInfo { in build() method
1902 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMemoryRequirement…
1909 pub fn builder<'a>() -> MemoryRequirementsBuilder<'a> { in builder()
1912 marker: ::std::marker::PhantomData, in builder()
1919 marker: ::std::marker::PhantomData<&'a ()>,
1921 impl<'a> ::std::ops::Deref for MemoryRequirementsBuilder<'a> {
1923 fn deref(&self) -> &Self::Target { in deref()
1927 impl<'a> ::std::ops::DerefMut for MemoryRequirementsBuilder<'a> {
1928 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
1933 pub fn size(mut self, size: DeviceSize) -> Self { in size()
1937 pub fn alignment(mut self, alignment: DeviceSize) -> Self { in alignment()
1941 pub fn memory_type_bits(mut self, memory_type_bits: u32) -> Self { in memory_type_bits()
1945 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
1948 pub fn build(self) -> MemoryRequirements { in build() method
1954 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSparseImageFormat…
1961 pub fn builder<'a>() -> SparseImageFormatPropertiesBuilder<'a> { in builder()
1964 marker: ::std::marker::PhantomData, in builder()
1971 marker: ::std::marker::PhantomData<&'a ()>,
1973 impl<'a> ::std::ops::Deref for SparseImageFormatPropertiesBuilder<'a> {
1975 fn deref(&self) -> &Self::Target { in deref()
1979 impl<'a> ::std::ops::DerefMut for SparseImageFormatPropertiesBuilder<'a> {
1980 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
1985 pub fn aspect_mask(mut self, aspect_mask: ImageAspectFlags) -> Self { in aspect_mask()
1989 pub fn image_granularity(mut self, image_granularity: Extent3D) -> Self { in image_granularity()
1993 pub fn flags(mut self, flags: SparseImageFormatFlags) -> Self { in flags()
1997 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
2000 pub fn build(self) -> SparseImageFormatProperties { in build() method
2006 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSparseImageMemory…
2015 pub fn builder<'a>() -> SparseImageMemoryRequirementsBuilder<'a> { in builder()
2018 marker: ::std::marker::PhantomData, in builder()
2025 marker: ::std::marker::PhantomData<&'a ()>,
2027 impl<'a> ::std::ops::Deref for SparseImageMemoryRequirementsBuilder<'a> {
2029 fn deref(&self) -> &Self::Target { in deref()
2033 impl<'a> ::std::ops::DerefMut for SparseImageMemoryRequirementsBuilder<'a> {
2034 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
2039 pub fn format_properties(mut self, format_properties: SparseImageFormatProperties) -> Self { in format_properties()
2043 pub fn image_mip_tail_first_lod(mut self, image_mip_tail_first_lod: u32) -> Self { in image_mip_tail_first_lod()
2047 pub fn image_mip_tail_size(mut self, image_mip_tail_size: DeviceSize) -> Self { in image_mip_tail_size()
2051 pub fn image_mip_tail_offset(mut self, image_mip_tail_offset: DeviceSize) -> Self { in image_mip_tail_offset()
2055 pub fn image_mip_tail_stride(mut self, image_mip_tail_stride: DeviceSize) -> Self { in image_mip_tail_stride()
2059 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
2062 pub fn build(self) -> SparseImageMemoryRequirements { in build() method
2068 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMemoryType.html>"]
2074 pub fn builder<'a>() -> MemoryTypeBuilder<'a> { in builder()
2077 marker: ::std::marker::PhantomData, in builder()
2084 marker: ::std::marker::PhantomData<&'a ()>,
2086 impl<'a> ::std::ops::Deref for MemoryTypeBuilder<'a> {
2088 fn deref(&self) -> &Self::Target { in deref()
2092 impl<'a> ::std::ops::DerefMut for MemoryTypeBuilder<'a> {
2093 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
2098 pub fn property_flags(mut self, property_flags: MemoryPropertyFlags) -> Self { in property_flags()
2102 pub fn heap_index(mut self, heap_index: u32) -> Self { in heap_index()
2106 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
2109 pub fn build(self) -> MemoryType { in build() method
2115 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMemoryHeap.html>"]
2121 pub fn builder<'a>() -> MemoryHeapBuilder<'a> { in builder()
2124 marker: ::std::marker::PhantomData, in builder()
2131 marker: ::std::marker::PhantomData<&'a ()>,
2133 impl<'a> ::std::ops::Deref for MemoryHeapBuilder<'a> {
2135 fn deref(&self) -> &Self::Target { in deref()
2139 impl<'a> ::std::ops::DerefMut for MemoryHeapBuilder<'a> {
2140 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
2145 pub fn size(mut self, size: DeviceSize) -> Self { in size()
2149 pub fn flags(mut self, flags: MemoryHeapFlags) -> Self { in flags()
2153 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
2156 pub fn build(self) -> MemoryHeap { in build() method
2162 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMappedMemoryRange…
2170 impl ::std::default::Default for MappedMemoryRange {
2171 fn default() -> MappedMemoryRange { in default()
2174 p_next: ::std::ptr::null(), in default()
2182 pub fn builder<'a>() -> MappedMemoryRangeBuilder<'a> { in builder()
2185 marker: ::std::marker::PhantomData, in builder()
2192 marker: ::std::marker::PhantomData<&'a ()>,
2194 impl<'a> ::std::ops::Deref for MappedMemoryRangeBuilder<'a> {
2196 fn deref(&self) -> &Self::Target { in deref()
2200 impl<'a> ::std::ops::DerefMut for MappedMemoryRangeBuilder<'a> {
2201 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
2206 pub fn memory(mut self, memory: DeviceMemory) -> Self { in memory()
2210 pub fn offset(mut self, offset: DeviceSize) -> Self { in offset()
2214 pub fn size(mut self, size: DeviceSize) -> Self { in size()
2218 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
2221 pub fn build(self) -> MappedMemoryRange { in build() method
2227 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkFormatProperties.…
2234 pub fn builder<'a>() -> FormatPropertiesBuilder<'a> { in builder()
2237 marker: ::std::marker::PhantomData, in builder()
2244 marker: ::std::marker::PhantomData<&'a ()>,
2246 impl<'a> ::std::ops::Deref for FormatPropertiesBuilder<'a> {
2248 fn deref(&self) -> &Self::Target { in deref()
2252 impl<'a> ::std::ops::DerefMut for FormatPropertiesBuilder<'a> {
2253 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
2258 pub fn linear_tiling_features(mut self, linear_tiling_features: FormatFeatureFlags) -> Self { in linear_tiling_features()
2262 pub fn optimal_tiling_features(mut self, optimal_tiling_features: FormatFeatureFlags) -> Self { in optimal_tiling_features()
2266 pub fn buffer_features(mut self, buffer_features: FormatFeatureFlags) -> Self { in buffer_features()
2270 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
2273 pub fn build(self) -> FormatProperties { in build() method
2279 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageFormatProper…
2288 pub fn builder<'a>() -> ImageFormatPropertiesBuilder<'a> { in builder()
2291 marker: ::std::marker::PhantomData, in builder()
2298 marker: ::std::marker::PhantomData<&'a ()>,
2300 impl<'a> ::std::ops::Deref for ImageFormatPropertiesBuilder<'a> {
2302 fn deref(&self) -> &Self::Target { in deref()
2306 impl<'a> ::std::ops::DerefMut for ImageFormatPropertiesBuilder<'a> {
2307 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
2312 pub fn max_extent(mut self, max_extent: Extent3D) -> Self { in max_extent()
2316 pub fn max_mip_levels(mut self, max_mip_levels: u32) -> Self { in max_mip_levels()
2320 pub fn max_array_layers(mut self, max_array_layers: u32) -> Self { in max_array_layers()
2324 pub fn sample_counts(mut self, sample_counts: SampleCountFlags) -> Self { in sample_counts()
2328 pub fn max_resource_size(mut self, max_resource_size: DeviceSize) -> Self { in max_resource_size()
2332 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
2335 pub fn build(self) -> ImageFormatProperties { in build() method
2341 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDescriptorBufferI…
2348 pub fn builder<'a>() -> DescriptorBufferInfoBuilder<'a> { in builder()
2351 marker: ::std::marker::PhantomData, in builder()
2358 marker: ::std::marker::PhantomData<&'a ()>,
2360 impl<'a> ::std::ops::Deref for DescriptorBufferInfoBuilder<'a> {
2362 fn deref(&self) -> &Self::Target { in deref()
2366 impl<'a> ::std::ops::DerefMut for DescriptorBufferInfoBuilder<'a> {
2367 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
2372 pub fn buffer(mut self, buffer: Buffer) -> Self { in buffer()
2376 pub fn offset(mut self, offset: DeviceSize) -> Self { in offset()
2380 pub fn range(mut self, range: DeviceSize) -> Self { in range()
2384 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
2387 pub fn build(self) -> DescriptorBufferInfo { in build() method
2393 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDescriptorImageIn…
2400 pub fn builder<'a>() -> DescriptorImageInfoBuilder<'a> { in builder()
2403 marker: ::std::marker::PhantomData, in builder()
2410 marker: ::std::marker::PhantomData<&'a ()>,
2412 impl<'a> ::std::ops::Deref for DescriptorImageInfoBuilder<'a> {
2414 fn deref(&self) -> &Self::Target { in deref()
2418 impl<'a> ::std::ops::DerefMut for DescriptorImageInfoBuilder<'a> {
2419 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
2424 pub fn sampler(mut self, sampler: Sampler) -> Self { in sampler()
2428 pub fn image_view(mut self, image_view: ImageView) -> Self { in image_view()
2432 pub fn image_layout(mut self, image_layout: ImageLayout) -> Self { in image_layout()
2436 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
2439 pub fn build(self) -> DescriptorImageInfo { in build() method
2445 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkWriteDescriptorSe…
2458 impl ::std::default::Default for WriteDescriptorSet {
2459 fn default() -> WriteDescriptorSet { in default()
2462 p_next: ::std::ptr::null(), in default()
2468 p_image_info: ::std::ptr::null(), in default()
2469 p_buffer_info: ::std::ptr::null(), in default()
2470 p_texel_buffer_view: ::std::ptr::null(), in default()
2475 pub fn builder<'a>() -> WriteDescriptorSetBuilder<'a> { in builder()
2478 marker: ::std::marker::PhantomData, in builder()
2485 marker: ::std::marker::PhantomData<&'a ()>,
2488 impl<'a> ::std::ops::Deref for WriteDescriptorSetBuilder<'a> {
2490 fn deref(&self) -> &Self::Target { in deref()
2494 impl<'a> ::std::ops::DerefMut for WriteDescriptorSetBuilder<'a> {
2495 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
2500 pub fn dst_set(mut self, dst_set: DescriptorSet) -> Self { in dst_set()
2504 pub fn dst_binding(mut self, dst_binding: u32) -> Self { in dst_binding()
2508 pub fn dst_array_element(mut self, dst_array_element: u32) -> Self { in dst_array_element()
2512 pub fn descriptor_type(mut self, descriptor_type: DescriptorType) -> Self { in descriptor_type()
2516 pub fn image_info(mut self, image_info: &'a [DescriptorImageInfo]) -> Self { in image_info()
2521 pub fn buffer_info(mut self, buffer_info: &'a [DescriptorBufferInfo]) -> Self { in buffer_info()
2526 pub fn texel_buffer_view(mut self, texel_buffer_view: &'a [BufferView]) -> Self { in texel_buffer_view()
2534 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
2535 #[doc = r" chain will look like `A -> D -> B -> C`."]
2536 pub fn push_next<T: ExtendsWriteDescriptorSet>(mut self, next: &'a mut T) -> Self { in push_next()
2545 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
2548 pub fn build(self) -> WriteDescriptorSet { in build() method
2554 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCopyDescriptorSet…
2566 impl ::std::default::Default for CopyDescriptorSet {
2567 fn default() -> CopyDescriptorSet { in default()
2570 p_next: ::std::ptr::null(), in default()
2582 pub fn builder<'a>() -> CopyDescriptorSetBuilder<'a> { in builder()
2585 marker: ::std::marker::PhantomData, in builder()
2592 marker: ::std::marker::PhantomData<&'a ()>,
2594 impl<'a> ::std::ops::Deref for CopyDescriptorSetBuilder<'a> {
2596 fn deref(&self) -> &Self::Target { in deref()
2600 impl<'a> ::std::ops::DerefMut for CopyDescriptorSetBuilder<'a> {
2601 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
2606 pub fn src_set(mut self, src_set: DescriptorSet) -> Self { in src_set()
2610 pub fn src_binding(mut self, src_binding: u32) -> Self { in src_binding()
2614 pub fn src_array_element(mut self, src_array_element: u32) -> Self { in src_array_element()
2618 pub fn dst_set(mut self, dst_set: DescriptorSet) -> Self { in dst_set()
2622 pub fn dst_binding(mut self, dst_binding: u32) -> Self { in dst_binding()
2626 pub fn dst_array_element(mut self, dst_array_element: u32) -> Self { in dst_array_element()
2630 pub fn descriptor_count(mut self, descriptor_count: u32) -> Self { in descriptor_count()
2634 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
2637 pub fn build(self) -> CopyDescriptorSet { in build() method
2643 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBufferCreateInfo.…
2654 impl ::std::default::Default for BufferCreateInfo {
2655 fn default() -> BufferCreateInfo { in default()
2658 p_next: ::std::ptr::null(), in default()
2664 p_queue_family_indices: ::std::ptr::null(), in default()
2669 pub fn builder<'a>() -> BufferCreateInfoBuilder<'a> { in builder()
2672 marker: ::std::marker::PhantomData, in builder()
2679 marker: ::std::marker::PhantomData<&'a ()>,
2682 impl<'a> ::std::ops::Deref for BufferCreateInfoBuilder<'a> {
2684 fn deref(&self) -> &Self::Target { in deref()
2688 impl<'a> ::std::ops::DerefMut for BufferCreateInfoBuilder<'a> {
2689 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
2694 pub fn flags(mut self, flags: BufferCreateFlags) -> Self { in flags()
2698 pub fn size(mut self, size: DeviceSize) -> Self { in size()
2702 pub fn usage(mut self, usage: BufferUsageFlags) -> Self { in usage()
2706 pub fn sharing_mode(mut self, sharing_mode: SharingMode) -> Self { in sharing_mode()
2710 pub fn queue_family_indices(mut self, queue_family_indices: &'a [u32]) -> Self { in queue_family_indices()
2718 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
2719 #[doc = r" chain will look like `A -> D -> B -> C`."]
2720 pub fn push_next<T: ExtendsBufferCreateInfo>(mut self, next: &'a mut T) -> Self { in push_next()
2729 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
2732 pub fn build(self) -> BufferCreateInfo { in build() method
2738 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBufferViewCreateI…
2748 impl ::std::default::Default for BufferViewCreateInfo {
2749 fn default() -> BufferViewCreateInfo { in default()
2752 p_next: ::std::ptr::null(), in default()
2762 pub fn builder<'a>() -> BufferViewCreateInfoBuilder<'a> { in builder()
2765 marker: ::std::marker::PhantomData, in builder()
2772 marker: ::std::marker::PhantomData<&'a ()>,
2774 impl<'a> ::std::ops::Deref for BufferViewCreateInfoBuilder<'a> {
2776 fn deref(&self) -> &Self::Target { in deref()
2780 impl<'a> ::std::ops::DerefMut for BufferViewCreateInfoBuilder<'a> {
2781 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
2786 pub fn flags(mut self, flags: BufferViewCreateFlags) -> Self { in flags()
2790 pub fn buffer(mut self, buffer: Buffer) -> Self { in buffer()
2794 pub fn format(mut self, format: Format) -> Self { in format()
2798 pub fn offset(mut self, offset: DeviceSize) -> Self { in offset()
2802 pub fn range(mut self, range: DeviceSize) -> Self { in range()
2806 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
2809 pub fn build(self) -> BufferViewCreateInfo { in build() method
2815 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageSubresource.…
2822 pub fn builder<'a>() -> ImageSubresourceBuilder<'a> { in builder()
2825 marker: ::std::marker::PhantomData, in builder()
2832 marker: ::std::marker::PhantomData<&'a ()>,
2834 impl<'a> ::std::ops::Deref for ImageSubresourceBuilder<'a> {
2836 fn deref(&self) -> &Self::Target { in deref()
2840 impl<'a> ::std::ops::DerefMut for ImageSubresourceBuilder<'a> {
2841 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
2846 pub fn aspect_mask(mut self, aspect_mask: ImageAspectFlags) -> Self { in aspect_mask()
2850 pub fn mip_level(mut self, mip_level: u32) -> Self { in mip_level()
2854 pub fn array_layer(mut self, array_layer: u32) -> Self { in array_layer()
2858 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
2861 pub fn build(self) -> ImageSubresource { in build() method
2867 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageSubresourceL…
2875 pub fn builder<'a>() -> ImageSubresourceLayersBuilder<'a> { in builder()
2878 marker: ::std::marker::PhantomData, in builder()
2885 marker: ::std::marker::PhantomData<&'a ()>,
2887 impl<'a> ::std::ops::Deref for ImageSubresourceLayersBuilder<'a> {
2889 fn deref(&self) -> &Self::Target { in deref()
2893 impl<'a> ::std::ops::DerefMut for ImageSubresourceLayersBuilder<'a> {
2894 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
2899 pub fn aspect_mask(mut self, aspect_mask: ImageAspectFlags) -> Self { in aspect_mask()
2903 pub fn mip_level(mut self, mip_level: u32) -> Self { in mip_level()
2907 pub fn base_array_layer(mut self, base_array_layer: u32) -> Self { in base_array_layer()
2911 pub fn layer_count(mut self, layer_count: u32) -> Self { in layer_count()
2915 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
2918 pub fn build(self) -> ImageSubresourceLayers { in build() method
2924 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageSubresourceR…
2933 pub fn builder<'a>() -> ImageSubresourceRangeBuilder<'a> { in builder()
2936 marker: ::std::marker::PhantomData, in builder()
2943 marker: ::std::marker::PhantomData<&'a ()>,
2945 impl<'a> ::std::ops::Deref for ImageSubresourceRangeBuilder<'a> {
2947 fn deref(&self) -> &Self::Target { in deref()
2951 impl<'a> ::std::ops::DerefMut for ImageSubresourceRangeBuilder<'a> {
2952 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
2957 pub fn aspect_mask(mut self, aspect_mask: ImageAspectFlags) -> Self { in aspect_mask()
2961 pub fn base_mip_level(mut self, base_mip_level: u32) -> Self { in base_mip_level()
2965 pub fn level_count(mut self, level_count: u32) -> Self { in level_count()
2969 pub fn base_array_layer(mut self, base_array_layer: u32) -> Self { in base_array_layer()
2973 pub fn layer_count(mut self, layer_count: u32) -> Self { in layer_count()
2977 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
2980 pub fn build(self) -> ImageSubresourceRange { in build() method
2986 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMemoryBarrier.htm…
2993 impl ::std::default::Default for MemoryBarrier {
2994 fn default() -> MemoryBarrier { in default()
2997 p_next: ::std::ptr::null(), in default()
3004 pub fn builder<'a>() -> MemoryBarrierBuilder<'a> { in builder()
3007 marker: ::std::marker::PhantomData, in builder()
3014 marker: ::std::marker::PhantomData<&'a ()>,
3016 impl<'a> ::std::ops::Deref for MemoryBarrierBuilder<'a> {
3018 fn deref(&self) -> &Self::Target { in deref()
3022 impl<'a> ::std::ops::DerefMut for MemoryBarrierBuilder<'a> {
3023 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
3028 pub fn src_access_mask(mut self, src_access_mask: AccessFlags) -> Self { in src_access_mask()
3032 pub fn dst_access_mask(mut self, dst_access_mask: AccessFlags) -> Self { in dst_access_mask()
3036 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
3039 pub fn build(self) -> MemoryBarrier { in build() method
3045 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBufferMemoryBarri…
3057 impl ::std::default::Default for BufferMemoryBarrier {
3058 fn default() -> BufferMemoryBarrier { in default()
3061 p_next: ::std::ptr::null(), in default()
3073 pub fn builder<'a>() -> BufferMemoryBarrierBuilder<'a> { in builder()
3076 marker: ::std::marker::PhantomData, in builder()
3083 marker: ::std::marker::PhantomData<&'a ()>,
3085 impl<'a> ::std::ops::Deref for BufferMemoryBarrierBuilder<'a> {
3087 fn deref(&self) -> &Self::Target { in deref()
3091 impl<'a> ::std::ops::DerefMut for BufferMemoryBarrierBuilder<'a> {
3092 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
3097 pub fn src_access_mask(mut self, src_access_mask: AccessFlags) -> Self { in src_access_mask()
3101 pub fn dst_access_mask(mut self, dst_access_mask: AccessFlags) -> Self { in dst_access_mask()
3105 pub fn src_queue_family_index(mut self, src_queue_family_index: u32) -> Self { in src_queue_family_index()
3109 pub fn dst_queue_family_index(mut self, dst_queue_family_index: u32) -> Self { in dst_queue_family_index()
3113 pub fn buffer(mut self, buffer: Buffer) -> Self { in buffer()
3117 pub fn offset(mut self, offset: DeviceSize) -> Self { in offset()
3121 pub fn size(mut self, size: DeviceSize) -> Self { in size()
3125 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
3128 pub fn build(self) -> BufferMemoryBarrier { in build() method
3134 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageMemoryBarrie…
3147 impl ::std::default::Default for ImageMemoryBarrier {
3148 fn default() -> ImageMemoryBarrier { in default()
3151 p_next: ::std::ptr::null(), in default()
3164 pub fn builder<'a>() -> ImageMemoryBarrierBuilder<'a> { in builder()
3167 marker: ::std::marker::PhantomData, in builder()
3174 marker: ::std::marker::PhantomData<&'a ()>,
3177 impl<'a> ::std::ops::Deref for ImageMemoryBarrierBuilder<'a> {
3179 fn deref(&self) -> &Self::Target { in deref()
3183 impl<'a> ::std::ops::DerefMut for ImageMemoryBarrierBuilder<'a> {
3184 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
3189 pub fn src_access_mask(mut self, src_access_mask: AccessFlags) -> Self { in src_access_mask()
3193 pub fn dst_access_mask(mut self, dst_access_mask: AccessFlags) -> Self { in dst_access_mask()
3197 pub fn old_layout(mut self, old_layout: ImageLayout) -> Self { in old_layout()
3201 pub fn new_layout(mut self, new_layout: ImageLayout) -> Self { in new_layout()
3205 pub fn src_queue_family_index(mut self, src_queue_family_index: u32) -> Self { in src_queue_family_index()
3209 pub fn dst_queue_family_index(mut self, dst_queue_family_index: u32) -> Self { in dst_queue_family_index()
3213 pub fn image(mut self, image: Image) -> Self { in image()
3217 pub fn subresource_range(mut self, subresource_range: ImageSubresourceRange) -> Self { in subresource_range()
3224 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
3225 #[doc = r" chain will look like `A -> D -> B -> C`."]
3226 pub fn push_next<T: ExtendsImageMemoryBarrier>(mut self, next: &'a mut T) -> Self { in push_next()
3235 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
3238 pub fn build(self) -> ImageMemoryBarrier { in build() method
3244 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageCreateInfo.h…
3262 impl ::std::default::Default for ImageCreateInfo {
3263 fn default() -> ImageCreateInfo { in default()
3266 p_next: ::std::ptr::null(), in default()
3278 p_queue_family_indices: ::std::ptr::null(), in default()
3284 pub fn builder<'a>() -> ImageCreateInfoBuilder<'a> { in builder()
3287 marker: ::std::marker::PhantomData, in builder()
3294 marker: ::std::marker::PhantomData<&'a ()>,
3297 impl<'a> ::std::ops::Deref for ImageCreateInfoBuilder<'a> {
3299 fn deref(&self) -> &Self::Target { in deref()
3303 impl<'a> ::std::ops::DerefMut for ImageCreateInfoBuilder<'a> {
3304 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
3309 pub fn flags(mut self, flags: ImageCreateFlags) -> Self { in flags()
3313 pub fn image_type(mut self, image_type: ImageType) -> Self { in image_type()
3317 pub fn format(mut self, format: Format) -> Self { in format()
3321 pub fn extent(mut self, extent: Extent3D) -> Self { in extent()
3325 pub fn mip_levels(mut self, mip_levels: u32) -> Self { in mip_levels()
3329 pub fn array_layers(mut self, array_layers: u32) -> Self { in array_layers()
3333 pub fn samples(mut self, samples: SampleCountFlags) -> Self { in samples()
3337 pub fn tiling(mut self, tiling: ImageTiling) -> Self { in tiling()
3341 pub fn usage(mut self, usage: ImageUsageFlags) -> Self { in usage()
3345 pub fn sharing_mode(mut self, sharing_mode: SharingMode) -> Self { in sharing_mode()
3349 pub fn queue_family_indices(mut self, queue_family_indices: &'a [u32]) -> Self { in queue_family_indices()
3354 pub fn initial_layout(mut self, initial_layout: ImageLayout) -> Self { in initial_layout()
3361 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
3362 #[doc = r" chain will look like `A -> D -> B -> C`."]
3363 pub fn push_next<T: ExtendsImageCreateInfo>(mut self, next: &'a mut T) -> Self { in push_next()
3372 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
3375 pub fn build(self) -> ImageCreateInfo { in build() method
3381 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSubresourceLayout…
3390 pub fn builder<'a>() -> SubresourceLayoutBuilder<'a> { in builder()
3393 marker: ::std::marker::PhantomData, in builder()
3400 marker: ::std::marker::PhantomData<&'a ()>,
3402 impl<'a> ::std::ops::Deref for SubresourceLayoutBuilder<'a> {
3404 fn deref(&self) -> &Self::Target { in deref()
3408 impl<'a> ::std::ops::DerefMut for SubresourceLayoutBuilder<'a> {
3409 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
3414 pub fn offset(mut self, offset: DeviceSize) -> Self { in offset()
3418 pub fn size(mut self, size: DeviceSize) -> Self { in size()
3422 pub fn row_pitch(mut self, row_pitch: DeviceSize) -> Self { in row_pitch()
3426 pub fn array_pitch(mut self, array_pitch: DeviceSize) -> Self { in array_pitch()
3430 pub fn depth_pitch(mut self, depth_pitch: DeviceSize) -> Self { in depth_pitch()
3434 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
3437 pub fn build(self) -> SubresourceLayout { in build() method
3443 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageViewCreateIn…
3454 impl ::std::default::Default for ImageViewCreateInfo {
3455 fn default() -> ImageViewCreateInfo { in default()
3458 p_next: ::std::ptr::null(), in default()
3469 pub fn builder<'a>() -> ImageViewCreateInfoBuilder<'a> { in builder()
3472 marker: ::std::marker::PhantomData, in builder()
3479 marker: ::std::marker::PhantomData<&'a ()>,
3482 impl<'a> ::std::ops::Deref for ImageViewCreateInfoBuilder<'a> {
3484 fn deref(&self) -> &Self::Target { in deref()
3488 impl<'a> ::std::ops::DerefMut for ImageViewCreateInfoBuilder<'a> {
3489 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
3494 pub fn flags(mut self, flags: ImageViewCreateFlags) -> Self { in flags()
3498 pub fn image(mut self, image: Image) -> Self { in image()
3502 pub fn view_type(mut self, view_type: ImageViewType) -> Self { in view_type()
3506 pub fn format(mut self, format: Format) -> Self { in format()
3510 pub fn components(mut self, components: ComponentMapping) -> Self { in components()
3514 pub fn subresource_range(mut self, subresource_range: ImageSubresourceRange) -> Self { in subresource_range()
3521 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
3522 #[doc = r" chain will look like `A -> D -> B -> C`."]
3523 pub fn push_next<T: ExtendsImageViewCreateInfo>(mut self, next: &'a mut T) -> Self { in push_next()
3532 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
3535 pub fn build(self) -> ImageViewCreateInfo { in build() method
3541 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBufferCopy.html>"]
3548 pub fn builder<'a>() -> BufferCopyBuilder<'a> { in builder()
3551 marker: ::std::marker::PhantomData, in builder()
3558 marker: ::std::marker::PhantomData<&'a ()>,
3560 impl<'a> ::std::ops::Deref for BufferCopyBuilder<'a> {
3562 fn deref(&self) -> &Self::Target { in deref()
3566 impl<'a> ::std::ops::DerefMut for BufferCopyBuilder<'a> {
3567 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
3572 pub fn src_offset(mut self, src_offset: DeviceSize) -> Self { in src_offset()
3576 pub fn dst_offset(mut self, dst_offset: DeviceSize) -> Self { in dst_offset()
3580 pub fn size(mut self, size: DeviceSize) -> Self { in size()
3584 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
3587 pub fn build(self) -> BufferCopy { in build() method
3593 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSparseMemoryBind.…
3602 pub fn builder<'a>() -> SparseMemoryBindBuilder<'a> { in builder()
3605 marker: ::std::marker::PhantomData, in builder()
3612 marker: ::std::marker::PhantomData<&'a ()>,
3614 impl<'a> ::std::ops::Deref for SparseMemoryBindBuilder<'a> {
3616 fn deref(&self) -> &Self::Target { in deref()
3620 impl<'a> ::std::ops::DerefMut for SparseMemoryBindBuilder<'a> {
3621 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
3626 pub fn resource_offset(mut self, resource_offset: DeviceSize) -> Self { in resource_offset()
3630 pub fn size(mut self, size: DeviceSize) -> Self { in size()
3634 pub fn memory(mut self, memory: DeviceMemory) -> Self { in memory()
3638 pub fn memory_offset(mut self, memory_offset: DeviceSize) -> Self { in memory_offset()
3642 pub fn flags(mut self, flags: SparseMemoryBindFlags) -> Self { in flags()
3646 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
3649 pub fn build(self) -> SparseMemoryBind { in build() method
3655 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSparseImageMemory…
3665 pub fn builder<'a>() -> SparseImageMemoryBindBuilder<'a> { in builder()
3668 marker: ::std::marker::PhantomData, in builder()
3675 marker: ::std::marker::PhantomData<&'a ()>,
3677 impl<'a> ::std::ops::Deref for SparseImageMemoryBindBuilder<'a> {
3679 fn deref(&self) -> &Self::Target { in deref()
3683 impl<'a> ::std::ops::DerefMut for SparseImageMemoryBindBuilder<'a> {
3684 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
3689 pub fn subresource(mut self, subresource: ImageSubresource) -> Self { in subresource()
3693 pub fn offset(mut self, offset: Offset3D) -> Self { in offset()
3697 pub fn extent(mut self, extent: Extent3D) -> Self { in extent()
3701 pub fn memory(mut self, memory: DeviceMemory) -> Self { in memory()
3705 pub fn memory_offset(mut self, memory_offset: DeviceSize) -> Self { in memory_offset()
3709 pub fn flags(mut self, flags: SparseMemoryBindFlags) -> Self { in flags()
3713 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
3716 pub fn build(self) -> SparseImageMemoryBind { in build() method
3722 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSparseBufferMemor…
3728 impl ::std::default::Default for SparseBufferMemoryBindInfo {
3729 fn default() -> SparseBufferMemoryBindInfo { in default()
3733 p_binds: ::std::ptr::null(), in default()
3738 pub fn builder<'a>() -> SparseBufferMemoryBindInfoBuilder<'a> { in builder()
3741 marker: ::std::marker::PhantomData, in builder()
3748 marker: ::std::marker::PhantomData<&'a ()>,
3750 impl<'a> ::std::ops::Deref for SparseBufferMemoryBindInfoBuilder<'a> {
3752 fn deref(&self) -> &Self::Target { in deref()
3756 impl<'a> ::std::ops::DerefMut for SparseBufferMemoryBindInfoBuilder<'a> {
3757 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
3762 pub fn buffer(mut self, buffer: Buffer) -> Self { in buffer()
3766 pub fn binds(mut self, binds: &'a [SparseMemoryBind]) -> Self { in binds()
3771 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
3774 pub fn build(self) -> SparseBufferMemoryBindInfo { in build() method
3780 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSparseImageOpaque…
3786 impl ::std::default::Default for SparseImageOpaqueMemoryBindInfo {
3787 fn default() -> SparseImageOpaqueMemoryBindInfo { in default()
3791 p_binds: ::std::ptr::null(), in default()
3796 pub fn builder<'a>() -> SparseImageOpaqueMemoryBindInfoBuilder<'a> { in builder()
3799 marker: ::std::marker::PhantomData, in builder()
3806 marker: ::std::marker::PhantomData<&'a ()>,
3808 impl<'a> ::std::ops::Deref for SparseImageOpaqueMemoryBindInfoBuilder<'a> {
3810 fn deref(&self) -> &Self::Target { in deref()
3814 impl<'a> ::std::ops::DerefMut for SparseImageOpaqueMemoryBindInfoBuilder<'a> {
3815 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
3820 pub fn image(mut self, image: Image) -> Self { in image()
3824 pub fn binds(mut self, binds: &'a [SparseMemoryBind]) -> Self { in binds()
3829 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
3832 pub fn build(self) -> SparseImageOpaqueMemoryBindInfo { in build() method
3838 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSparseImageMemory…
3844 impl ::std::default::Default for SparseImageMemoryBindInfo {
3845 fn default() -> SparseImageMemoryBindInfo { in default()
3849 p_binds: ::std::ptr::null(), in default()
3854 pub fn builder<'a>() -> SparseImageMemoryBindInfoBuilder<'a> { in builder()
3857 marker: ::std::marker::PhantomData, in builder()
3864 marker: ::std::marker::PhantomData<&'a ()>,
3866 impl<'a> ::std::ops::Deref for SparseImageMemoryBindInfoBuilder<'a> {
3868 fn deref(&self) -> &Self::Target { in deref()
3872 impl<'a> ::std::ops::DerefMut for SparseImageMemoryBindInfoBuilder<'a> {
3873 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
3878 pub fn image(mut self, image: Image) -> Self { in image()
3882 pub fn binds(mut self, binds: &'a [SparseImageMemoryBind]) -> Self { in binds()
3887 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
3890 pub fn build(self) -> SparseImageMemoryBindInfo { in build() method
3896 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBindSparseInfo.ht…
3911 impl ::std::default::Default for BindSparseInfo {
3912 fn default() -> BindSparseInfo { in default()
3915 p_next: ::std::ptr::null(), in default()
3917 p_wait_semaphores: ::std::ptr::null(), in default()
3919 p_buffer_binds: ::std::ptr::null(), in default()
3921 p_image_opaque_binds: ::std::ptr::null(), in default()
3923 p_image_binds: ::std::ptr::null(), in default()
3925 p_signal_semaphores: ::std::ptr::null(), in default()
3930 pub fn builder<'a>() -> BindSparseInfoBuilder<'a> { in builder()
3933 marker: ::std::marker::PhantomData, in builder()
3940 marker: ::std::marker::PhantomData<&'a ()>,
3943 impl<'a> ::std::ops::Deref for BindSparseInfoBuilder<'a> {
3945 fn deref(&self) -> &Self::Target { in deref()
3949 impl<'a> ::std::ops::DerefMut for BindSparseInfoBuilder<'a> {
3950 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
3955 pub fn wait_semaphores(mut self, wait_semaphores: &'a [Semaphore]) -> Self { in wait_semaphores()
3960 pub fn buffer_binds(mut self, buffer_binds: &'a [SparseBufferMemoryBindInfo]) -> Self { in buffer_binds()
3968 ) -> Self { in image_opaque_binds()
3973 pub fn image_binds(mut self, image_binds: &'a [SparseImageMemoryBindInfo]) -> Self { in image_binds()
3978 pub fn signal_semaphores(mut self, signal_semaphores: &'a [Semaphore]) -> Self { in signal_semaphores()
3986 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
3987 #[doc = r" chain will look like `A -> D -> B -> C`."]
3988 pub fn push_next<T: ExtendsBindSparseInfo>(mut self, next: &'a mut T) -> Self { in push_next()
3997 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
4000 pub fn build(self) -> BindSparseInfo { in build() method
4006 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageCopy.html>"]
4015 pub fn builder<'a>() -> ImageCopyBuilder<'a> { in builder()
4018 marker: ::std::marker::PhantomData, in builder()
4025 marker: ::std::marker::PhantomData<&'a ()>,
4027 impl<'a> ::std::ops::Deref for ImageCopyBuilder<'a> {
4029 fn deref(&self) -> &Self::Target { in deref()
4033 impl<'a> ::std::ops::DerefMut for ImageCopyBuilder<'a> {
4034 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
4039 pub fn src_subresource(mut self, src_subresource: ImageSubresourceLayers) -> Self { in src_subresource()
4043 pub fn src_offset(mut self, src_offset: Offset3D) -> Self { in src_offset()
4047 pub fn dst_subresource(mut self, dst_subresource: ImageSubresourceLayers) -> Self { in dst_subresource()
4051 pub fn dst_offset(mut self, dst_offset: Offset3D) -> Self { in dst_offset()
4055 pub fn extent(mut self, extent: Extent3D) -> Self { in extent()
4059 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
4062 pub fn build(self) -> ImageCopy { in build() method
4068 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageBlit.html>"]
4075 impl ::std::default::Default for ImageBlit {
4076 fn default() -> ImageBlit { in default()
4079 src_offsets: unsafe { ::std::mem::zeroed() }, in default()
4081 dst_offsets: unsafe { ::std::mem::zeroed() }, in default()
4086 pub fn builder<'a>() -> ImageBlitBuilder<'a> { in builder()
4089 marker: ::std::marker::PhantomData, in builder()
4096 marker: ::std::marker::PhantomData<&'a ()>,
4098 impl<'a> ::std::ops::Deref for ImageBlitBuilder<'a> {
4100 fn deref(&self) -> &Self::Target { in deref()
4104 impl<'a> ::std::ops::DerefMut for ImageBlitBuilder<'a> {
4105 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
4110 pub fn src_subresource(mut self, src_subresource: ImageSubresourceLayers) -> Self { in src_subresource()
4114 pub fn src_offsets(mut self, src_offsets: [Offset3D; 2]) -> Self { in src_offsets()
4118 pub fn dst_subresource(mut self, dst_subresource: ImageSubresourceLayers) -> Self { in dst_subresource()
4122 pub fn dst_offsets(mut self, dst_offsets: [Offset3D; 2]) -> Self { in dst_offsets()
4126 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
4129 pub fn build(self) -> ImageBlit { in build() method
4135 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBufferImageCopy.h…
4145 pub fn builder<'a>() -> BufferImageCopyBuilder<'a> { in builder()
4148 marker: ::std::marker::PhantomData, in builder()
4155 marker: ::std::marker::PhantomData<&'a ()>,
4157 impl<'a> ::std::ops::Deref for BufferImageCopyBuilder<'a> {
4159 fn deref(&self) -> &Self::Target { in deref()
4163 impl<'a> ::std::ops::DerefMut for BufferImageCopyBuilder<'a> {
4164 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
4169 pub fn buffer_offset(mut self, buffer_offset: DeviceSize) -> Self { in buffer_offset()
4173 pub fn buffer_row_length(mut self, buffer_row_length: u32) -> Self { in buffer_row_length()
4177 pub fn buffer_image_height(mut self, buffer_image_height: u32) -> Self { in buffer_image_height()
4181 pub fn image_subresource(mut self, image_subresource: ImageSubresourceLayers) -> Self { in image_subresource()
4185 pub fn image_offset(mut self, image_offset: Offset3D) -> Self { in image_offset()
4189 pub fn image_extent(mut self, image_extent: Extent3D) -> Self { in image_extent()
4193 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
4196 pub fn build(self) -> BufferImageCopy { in build() method
4202 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageResolve.html…
4211 pub fn builder<'a>() -> ImageResolveBuilder<'a> { in builder()
4214 marker: ::std::marker::PhantomData, in builder()
4221 marker: ::std::marker::PhantomData<&'a ()>,
4223 impl<'a> ::std::ops::Deref for ImageResolveBuilder<'a> {
4225 fn deref(&self) -> &Self::Target { in deref()
4229 impl<'a> ::std::ops::DerefMut for ImageResolveBuilder<'a> {
4230 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
4235 pub fn src_subresource(mut self, src_subresource: ImageSubresourceLayers) -> Self { in src_subresource()
4239 pub fn src_offset(mut self, src_offset: Offset3D) -> Self { in src_offset()
4243 pub fn dst_subresource(mut self, dst_subresource: ImageSubresourceLayers) -> Self { in dst_subresource()
4247 pub fn dst_offset(mut self, dst_offset: Offset3D) -> Self { in dst_offset()
4251 pub fn extent(mut self, extent: Extent3D) -> Self { in extent()
4255 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
4258 pub fn build(self) -> ImageResolve { in build() method
4264 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkShaderModuleCreat…
4272 impl ::std::default::Default for ShaderModuleCreateInfo {
4273 fn default() -> ShaderModuleCreateInfo { in default()
4276 p_next: ::std::ptr::null(), in default()
4279 p_code: ::std::ptr::null(), in default()
4284 pub fn builder<'a>() -> ShaderModuleCreateInfoBuilder<'a> { in builder()
4287 marker: ::std::marker::PhantomData, in builder()
4294 marker: ::std::marker::PhantomData<&'a ()>,
4297 impl<'a> ::std::ops::Deref for ShaderModuleCreateInfoBuilder<'a> {
4299 fn deref(&self) -> &Self::Target { in deref()
4303 impl<'a> ::std::ops::DerefMut for ShaderModuleCreateInfoBuilder<'a> {
4304 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
4309 pub fn flags(mut self, flags: ShaderModuleCreateFlags) -> Self { in flags()
4313 pub fn code(mut self, code: &'a [u32]) -> Self { in code()
4321 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
4322 #[doc = r" chain will look like `A -> D -> B -> C`."]
4323 pub fn push_next<T: ExtendsShaderModuleCreateInfo>(mut self, next: &'a mut T) -> Self { in push_next()
4332 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
4335 pub fn build(self) -> ShaderModuleCreateInfo { in build() method
4341 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDescriptorSetLayo…
4349 impl ::std::default::Default for DescriptorSetLayoutBinding {
4350 fn default() -> DescriptorSetLayoutBinding { in default()
4356 p_immutable_samplers: ::std::ptr::null(), in default()
4361 pub fn builder<'a>() -> DescriptorSetLayoutBindingBuilder<'a> { in builder()
4364 marker: ::std::marker::PhantomData, in builder()
4371 marker: ::std::marker::PhantomData<&'a ()>,
4373 impl<'a> ::std::ops::Deref for DescriptorSetLayoutBindingBuilder<'a> {
4375 fn deref(&self) -> &Self::Target { in deref()
4379 impl<'a> ::std::ops::DerefMut for DescriptorSetLayoutBindingBuilder<'a> {
4380 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
4385 pub fn binding(mut self, binding: u32) -> Self { in binding()
4389 pub fn descriptor_type(mut self, descriptor_type: DescriptorType) -> Self { in descriptor_type()
4393 pub fn descriptor_count(mut self, descriptor_count: u32) -> Self { in descriptor_count()
4397 pub fn stage_flags(mut self, stage_flags: ShaderStageFlags) -> Self { in stage_flags()
4401 pub fn immutable_samplers(mut self, immutable_samplers: &'a [Sampler]) -> Self { in immutable_samplers()
4406 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
4409 pub fn build(self) -> DescriptorSetLayoutBinding { in build() method
4415 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDescriptorSetLayo…
4423 impl ::std::default::Default for DescriptorSetLayoutCreateInfo {
4424 fn default() -> DescriptorSetLayoutCreateInfo { in default()
4427 p_next: ::std::ptr::null(), in default()
4430 p_bindings: ::std::ptr::null(), in default()
4435 pub fn builder<'a>() -> DescriptorSetLayoutCreateInfoBuilder<'a> { in builder()
4438 marker: ::std::marker::PhantomData, in builder()
4445 marker: ::std::marker::PhantomData<&'a ()>,
4448 impl<'a> ::std::ops::Deref for DescriptorSetLayoutCreateInfoBuilder<'a> {
4450 fn deref(&self) -> &Self::Target { in deref()
4454 impl<'a> ::std::ops::DerefMut for DescriptorSetLayoutCreateInfoBuilder<'a> {
4455 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
4460 pub fn flags(mut self, flags: DescriptorSetLayoutCreateFlags) -> Self { in flags()
4464 pub fn bindings(mut self, bindings: &'a [DescriptorSetLayoutBinding]) -> Self { in bindings()
4472 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
4473 #[doc = r" chain will look like `A -> D -> B -> C`."]
4474 pub fn push_next<T: ExtendsDescriptorSetLayoutCreateInfo>(mut self, next: &'a mut T) -> Self { in push_next()
4483 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
4486 pub fn build(self) -> DescriptorSetLayoutCreateInfo { in build() method
4492 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDescriptorPoolSiz…
4498 pub fn builder<'a>() -> DescriptorPoolSizeBuilder<'a> { in builder()
4501 marker: ::std::marker::PhantomData, in builder()
4508 marker: ::std::marker::PhantomData<&'a ()>,
4510 impl<'a> ::std::ops::Deref for DescriptorPoolSizeBuilder<'a> {
4512 fn deref(&self) -> &Self::Target { in deref()
4516 impl<'a> ::std::ops::DerefMut for DescriptorPoolSizeBuilder<'a> {
4517 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
4522 pub fn ty(mut self, ty: DescriptorType) -> Self { in ty()
4526 pub fn descriptor_count(mut self, descriptor_count: u32) -> Self { in descriptor_count()
4530 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
4533 pub fn build(self) -> DescriptorPoolSize { in build() method
4539 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDescriptorPoolCre…
4548 impl ::std::default::Default for DescriptorPoolCreateInfo {
4549 fn default() -> DescriptorPoolCreateInfo { in default()
4552 p_next: ::std::ptr::null(), in default()
4556 p_pool_sizes: ::std::ptr::null(), in default()
4561 pub fn builder<'a>() -> DescriptorPoolCreateInfoBuilder<'a> { in builder()
4564 marker: ::std::marker::PhantomData, in builder()
4571 marker: ::std::marker::PhantomData<&'a ()>,
4574 impl<'a> ::std::ops::Deref for DescriptorPoolCreateInfoBuilder<'a> {
4576 fn deref(&self) -> &Self::Target { in deref()
4580 impl<'a> ::std::ops::DerefMut for DescriptorPoolCreateInfoBuilder<'a> {
4581 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
4586 pub fn flags(mut self, flags: DescriptorPoolCreateFlags) -> Self { in flags()
4590 pub fn max_sets(mut self, max_sets: u32) -> Self { in max_sets()
4594 pub fn pool_sizes(mut self, pool_sizes: &'a [DescriptorPoolSize]) -> Self { in pool_sizes()
4602 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
4603 #[doc = r" chain will look like `A -> D -> B -> C`."]
4604 pub fn push_next<T: ExtendsDescriptorPoolCreateInfo>(mut self, next: &'a mut T) -> Self { in push_next()
4613 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
4616 pub fn build(self) -> DescriptorPoolCreateInfo { in build() method
4622 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDescriptorSetAllo…
4630 impl ::std::default::Default for DescriptorSetAllocateInfo {
4631 fn default() -> DescriptorSetAllocateInfo { in default()
4634 p_next: ::std::ptr::null(), in default()
4637 p_set_layouts: ::std::ptr::null(), in default()
4642 pub fn builder<'a>() -> DescriptorSetAllocateInfoBuilder<'a> { in builder()
4645 marker: ::std::marker::PhantomData, in builder()
4652 marker: ::std::marker::PhantomData<&'a ()>,
4655 impl<'a> ::std::ops::Deref for DescriptorSetAllocateInfoBuilder<'a> {
4657 fn deref(&self) -> &Self::Target { in deref()
4661 impl<'a> ::std::ops::DerefMut for DescriptorSetAllocateInfoBuilder<'a> {
4662 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
4667 pub fn descriptor_pool(mut self, descriptor_pool: DescriptorPool) -> Self { in descriptor_pool()
4671 pub fn set_layouts(mut self, set_layouts: &'a [DescriptorSetLayout]) -> Self { in set_layouts()
4679 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
4680 #[doc = r" chain will look like `A -> D -> B -> C`."]
4681 pub fn push_next<T: ExtendsDescriptorSetAllocateInfo>(mut self, next: &'a mut T) -> Self { in push_next()
4690 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
4693 pub fn build(self) -> DescriptorSetAllocateInfo { in build() method
4699 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSpecializationMap…
4706 pub fn builder<'a>() -> SpecializationMapEntryBuilder<'a> { in builder()
4709 marker: ::std::marker::PhantomData, in builder()
4716 marker: ::std::marker::PhantomData<&'a ()>,
4718 impl<'a> ::std::ops::Deref for SpecializationMapEntryBuilder<'a> {
4720 fn deref(&self) -> &Self::Target { in deref()
4724 impl<'a> ::std::ops::DerefMut for SpecializationMapEntryBuilder<'a> {
4725 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
4730 pub fn constant_id(mut self, constant_id: u32) -> Self { in constant_id()
4734 pub fn offset(mut self, offset: u32) -> Self { in offset()
4738 pub fn size(mut self, size: usize) -> Self { in size()
4742 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
4745 pub fn build(self) -> SpecializationMapEntry { in build() method
4751 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSpecializationInf…
4758 impl ::std::default::Default for SpecializationInfo {
4759 fn default() -> SpecializationInfo { in default()
4762 p_map_entries: ::std::ptr::null(), in default()
4764 p_data: ::std::ptr::null(), in default()
4769 pub fn builder<'a>() -> SpecializationInfoBuilder<'a> { in builder()
4772 marker: ::std::marker::PhantomData, in builder()
4779 marker: ::std::marker::PhantomData<&'a ()>,
4781 impl<'a> ::std::ops::Deref for SpecializationInfoBuilder<'a> {
4783 fn deref(&self) -> &Self::Target { in deref()
4787 impl<'a> ::std::ops::DerefMut for SpecializationInfoBuilder<'a> {
4788 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
4793 pub fn map_entries(mut self, map_entries: &'a [SpecializationMapEntry]) -> Self { in map_entries()
4798 pub fn data(mut self, data: &'a [u8]) -> Self { in data()
4803 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
4806 pub fn build(self) -> SpecializationInfo { in build() method
4812 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineShaderSta…
4822 impl ::std::default::Default for PipelineShaderStageCreateInfo {
4823 fn default() -> PipelineShaderStageCreateInfo { in default()
4826 p_next: ::std::ptr::null(), in default()
4830 p_name: ::std::ptr::null(), in default()
4831 p_specialization_info: ::std::ptr::null(), in default()
4836 pub fn builder<'a>() -> PipelineShaderStageCreateInfoBuilder<'a> { in builder()
4839 marker: ::std::marker::PhantomData, in builder()
4846 marker: ::std::marker::PhantomData<&'a ()>,
4849 impl<'a> ::std::ops::Deref for PipelineShaderStageCreateInfoBuilder<'a> {
4851 fn deref(&self) -> &Self::Target { in deref()
4855 impl<'a> ::std::ops::DerefMut for PipelineShaderStageCreateInfoBuilder<'a> {
4856 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
4861 pub fn flags(mut self, flags: PipelineShaderStageCreateFlags) -> Self { in flags()
4865 pub fn stage(mut self, stage: ShaderStageFlags) -> Self { in stage()
4869 pub fn module(mut self, module: ShaderModule) -> Self { in module()
4873 pub fn name(mut self, name: &'a ::std::ffi::CStr) -> Self { in name()
4877 pub fn specialization_info(mut self, specialization_info: &'a SpecializationInfo) -> Self { in specialization_info()
4884 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
4885 #[doc = r" chain will look like `A -> D -> B -> C`."]
4886 pub fn push_next<T: ExtendsPipelineShaderStageCreateInfo>(mut self, next: &'a mut T) -> Self { in push_next()
4895 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
4898 pub fn build(self) -> PipelineShaderStageCreateInfo { in build() method
4904 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkComputePipelineCr…
4914 impl ::std::default::Default for ComputePipelineCreateInfo {
4915 fn default() -> ComputePipelineCreateInfo { in default()
4918 p_next: ::std::ptr::null(), in default()
4928 pub fn builder<'a>() -> ComputePipelineCreateInfoBuilder<'a> { in builder()
4931 marker: ::std::marker::PhantomData, in builder()
4938 marker: ::std::marker::PhantomData<&'a ()>,
4941 impl<'a> ::std::ops::Deref for ComputePipelineCreateInfoBuilder<'a> {
4943 fn deref(&self) -> &Self::Target { in deref()
4947 impl<'a> ::std::ops::DerefMut for ComputePipelineCreateInfoBuilder<'a> {
4948 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
4953 pub fn flags(mut self, flags: PipelineCreateFlags) -> Self { in flags()
4957 pub fn stage(mut self, stage: PipelineShaderStageCreateInfo) -> Self { in stage()
4961 pub fn layout(mut self, layout: PipelineLayout) -> Self { in layout()
4965 pub fn base_pipeline_handle(mut self, base_pipeline_handle: Pipeline) -> Self { in base_pipeline_handle()
4969 pub fn base_pipeline_index(mut self, base_pipeline_index: i32) -> Self { in base_pipeline_index()
4976 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
4977 #[doc = r" chain will look like `A -> D -> B -> C`."]
4978 pub fn push_next<T: ExtendsComputePipelineCreateInfo>(mut self, next: &'a mut T) -> Self { in push_next()
4987 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
4990 pub fn build(self) -> ComputePipelineCreateInfo { in build() method
4996 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVertexInputBindin…
5003 pub fn builder<'a>() -> VertexInputBindingDescriptionBuilder<'a> { in builder()
5006 marker: ::std::marker::PhantomData, in builder()
5013 marker: ::std::marker::PhantomData<&'a ()>,
5015 impl<'a> ::std::ops::Deref for VertexInputBindingDescriptionBuilder<'a> {
5017 fn deref(&self) -> &Self::Target { in deref()
5021 impl<'a> ::std::ops::DerefMut for VertexInputBindingDescriptionBuilder<'a> {
5022 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
5027 pub fn binding(mut self, binding: u32) -> Self { in binding()
5031 pub fn stride(mut self, stride: u32) -> Self { in stride()
5035 pub fn input_rate(mut self, input_rate: VertexInputRate) -> Self { in input_rate()
5039 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
5042 pub fn build(self) -> VertexInputBindingDescription { in build() method
5048 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVertexInputAttrib…
5056 pub fn builder<'a>() -> VertexInputAttributeDescriptionBuilder<'a> { in builder()
5059 marker: ::std::marker::PhantomData, in builder()
5066 marker: ::std::marker::PhantomData<&'a ()>,
5068 impl<'a> ::std::ops::Deref for VertexInputAttributeDescriptionBuilder<'a> {
5070 fn deref(&self) -> &Self::Target { in deref()
5074 impl<'a> ::std::ops::DerefMut for VertexInputAttributeDescriptionBuilder<'a> {
5075 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
5080 pub fn location(mut self, location: u32) -> Self { in location()
5084 pub fn binding(mut self, binding: u32) -> Self { in binding()
5088 pub fn format(mut self, format: Format) -> Self { in format()
5092 pub fn offset(mut self, offset: u32) -> Self { in offset()
5096 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
5099 pub fn build(self) -> VertexInputAttributeDescription { in build() method
5105 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineVertexInp…
5115 impl ::std::default::Default for PipelineVertexInputStateCreateInfo {
5116 fn default() -> PipelineVertexInputStateCreateInfo { in default()
5119 p_next: ::std::ptr::null(), in default()
5122 p_vertex_binding_descriptions: ::std::ptr::null(), in default()
5124 p_vertex_attribute_descriptions: ::std::ptr::null(), in default()
5129 pub fn builder<'a>() -> PipelineVertexInputStateCreateInfoBuilder<'a> { in builder()
5132 marker: ::std::marker::PhantomData, in builder()
5139 marker: ::std::marker::PhantomData<&'a ()>,
5142 impl<'a> ::std::ops::Deref for PipelineVertexInputStateCreateInfoBuilder<'a> {
5144 fn deref(&self) -> &Self::Target { in deref()
5148 impl<'a> ::std::ops::DerefMut for PipelineVertexInputStateCreateInfoBuilder<'a> {
5149 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
5154 pub fn flags(mut self, flags: PipelineVertexInputStateCreateFlags) -> Self { in flags()
5161 ) -> Self { in vertex_binding_descriptions()
5169 ) -> Self { in vertex_attribute_descriptions()
5177 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
5178 #[doc = r" chain will look like `A -> D -> B -> C`."]
5182 ) -> Self { in push_next()
5191 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
5194 pub fn build(self) -> PipelineVertexInputStateCreateInfo { in build() method
5200 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineInputAsse…
5208 impl ::std::default::Default for PipelineInputAssemblyStateCreateInfo {
5209 fn default() -> PipelineInputAssemblyStateCreateInfo { in default()
5212 p_next: ::std::ptr::null(), in default()
5220 pub fn builder<'a>() -> PipelineInputAssemblyStateCreateInfoBuilder<'a> { in builder()
5223 marker: ::std::marker::PhantomData, in builder()
5230 marker: ::std::marker::PhantomData<&'a ()>,
5232 impl<'a> ::std::ops::Deref for PipelineInputAssemblyStateCreateInfoBuilder<'a> {
5234 fn deref(&self) -> &Self::Target { in deref()
5238 impl<'a> ::std::ops::DerefMut for PipelineInputAssemblyStateCreateInfoBuilder<'a> {
5239 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
5244 pub fn flags(mut self, flags: PipelineInputAssemblyStateCreateFlags) -> Self { in flags()
5248 pub fn topology(mut self, topology: PrimitiveTopology) -> Self { in topology()
5252 pub fn primitive_restart_enable(mut self, primitive_restart_enable: bool) -> Self { in primitive_restart_enable()
5256 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
5259 pub fn build(self) -> PipelineInputAssemblyStateCreateInfo { in build() method
5265 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineTessellat…
5272 impl ::std::default::Default for PipelineTessellationStateCreateInfo {
5273 fn default() -> PipelineTessellationStateCreateInfo { in default()
5276 p_next: ::std::ptr::null(), in default()
5283 pub fn builder<'a>() -> PipelineTessellationStateCreateInfoBuilder<'a> { in builder()
5286 marker: ::std::marker::PhantomData, in builder()
5293 marker: ::std::marker::PhantomData<&'a ()>,
5296 impl<'a> ::std::ops::Deref for PipelineTessellationStateCreateInfoBuilder<'a> {
5298 fn deref(&self) -> &Self::Target { in deref()
5302 impl<'a> ::std::ops::DerefMut for PipelineTessellationStateCreateInfoBuilder<'a> {
5303 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
5308 pub fn flags(mut self, flags: PipelineTessellationStateCreateFlags) -> Self { in flags()
5312 pub fn patch_control_points(mut self, patch_control_points: u32) -> Self { in patch_control_points()
5319 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
5320 #[doc = r" chain will look like `A -> D -> B -> C`."]
5324 ) -> Self { in push_next()
5333 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
5336 pub fn build(self) -> PipelineTessellationStateCreateInfo { in build() method
5342 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineViewportS…
5352 impl ::std::default::Default for PipelineViewportStateCreateInfo {
5353 fn default() -> PipelineViewportStateCreateInfo { in default()
5356 p_next: ::std::ptr::null(), in default()
5359 p_viewports: ::std::ptr::null(), in default()
5361 p_scissors: ::std::ptr::null(), in default()
5366 pub fn builder<'a>() -> PipelineViewportStateCreateInfoBuilder<'a> { in builder()
5369 marker: ::std::marker::PhantomData, in builder()
5376 marker: ::std::marker::PhantomData<&'a ()>,
5379 impl<'a> ::std::ops::Deref for PipelineViewportStateCreateInfoBuilder<'a> {
5381 fn deref(&self) -> &Self::Target { in deref()
5385 impl<'a> ::std::ops::DerefMut for PipelineViewportStateCreateInfoBuilder<'a> {
5386 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
5391 pub fn flags(mut self, flags: PipelineViewportStateCreateFlags) -> Self { in flags()
5395 pub fn viewport_count(mut self, viewport_count: u32) -> Self { in viewport_count()
5399 pub fn viewports(mut self, viewports: &'a [Viewport]) -> Self { in viewports()
5404 pub fn scissor_count(mut self, scissor_count: u32) -> Self { in scissor_count()
5408 pub fn scissors(mut self, scissors: &'a [Rect2D]) -> Self { in scissors()
5416 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
5417 #[doc = r" chain will look like `A -> D -> B -> C`."]
5418 pub fn push_next<T: ExtendsPipelineViewportStateCreateInfo>(mut self, next: &'a mut T) -> Self { in push_next()
5427 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
5430 pub fn build(self) -> PipelineViewportStateCreateInfo { in build() method
5436 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineRasteriza…
5452 impl ::std::default::Default for PipelineRasterizationStateCreateInfo {
5453 fn default() -> PipelineRasterizationStateCreateInfo { in default()
5456 p_next: ::std::ptr::null(), in default()
5472 pub fn builder<'a>() -> PipelineRasterizationStateCreateInfoBuilder<'a> { in builder()
5475 marker: ::std::marker::PhantomData, in builder()
5482 marker: ::std::marker::PhantomData<&'a ()>,
5485 impl<'a> ::std::ops::Deref for PipelineRasterizationStateCreateInfoBuilder<'a> {
5487 fn deref(&self) -> &Self::Target { in deref()
5491 impl<'a> ::std::ops::DerefMut for PipelineRasterizationStateCreateInfoBuilder<'a> {
5492 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
5497 pub fn flags(mut self, flags: PipelineRasterizationStateCreateFlags) -> Self { in flags()
5501 pub fn depth_clamp_enable(mut self, depth_clamp_enable: bool) -> Self { in depth_clamp_enable()
5505 pub fn rasterizer_discard_enable(mut self, rasterizer_discard_enable: bool) -> Self { in rasterizer_discard_enable()
5509 pub fn polygon_mode(mut self, polygon_mode: PolygonMode) -> Self { in polygon_mode()
5513 pub fn cull_mode(mut self, cull_mode: CullModeFlags) -> Self { in cull_mode()
5517 pub fn front_face(mut self, front_face: FrontFace) -> Self { in front_face()
5521 pub fn depth_bias_enable(mut self, depth_bias_enable: bool) -> Self { in depth_bias_enable()
5525 pub fn depth_bias_constant_factor(mut self, depth_bias_constant_factor: f32) -> Self { in depth_bias_constant_factor()
5529 pub fn depth_bias_clamp(mut self, depth_bias_clamp: f32) -> Self { in depth_bias_clamp()
5533 pub fn depth_bias_slope_factor(mut self, depth_bias_slope_factor: f32) -> Self { in depth_bias_slope_factor()
5537 pub fn line_width(mut self, line_width: f32) -> Self { in line_width()
5544 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
5545 #[doc = r" chain will look like `A -> D -> B -> C`."]
5549 ) -> Self { in push_next()
5558 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
5561 pub fn build(self) -> PipelineRasterizationStateCreateInfo { in build() method
5567 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineMultisamp…
5579 impl ::std::default::Default for PipelineMultisampleStateCreateInfo {
5580 fn default() -> PipelineMultisampleStateCreateInfo { in default()
5583 p_next: ::std::ptr::null(), in default()
5588 p_sample_mask: ::std::ptr::null(), in default()
5595 pub fn builder<'a>() -> PipelineMultisampleStateCreateInfoBuilder<'a> { in builder()
5598 marker: ::std::marker::PhantomData, in builder()
5605 marker: ::std::marker::PhantomData<&'a ()>,
5608 impl<'a> ::std::ops::Deref for PipelineMultisampleStateCreateInfoBuilder<'a> {
5610 fn deref(&self) -> &Self::Target { in deref()
5614 impl<'a> ::std::ops::DerefMut for PipelineMultisampleStateCreateInfoBuilder<'a> {
5615 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
5620 pub fn flags(mut self, flags: PipelineMultisampleStateCreateFlags) -> Self { in flags()
5624 pub fn rasterization_samples(mut self, rasterization_samples: SampleCountFlags) -> Self { in rasterization_samples()
5628 pub fn sample_shading_enable(mut self, sample_shading_enable: bool) -> Self { in sample_shading_enable()
5632 pub fn min_sample_shading(mut self, min_sample_shading: f32) -> Self { in min_sample_shading()
5639 …#[doc = r" See <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineMu…
5641 pub fn sample_mask(mut self, sample_mask: &'a [SampleMask]) -> Self { in sample_mask()
5643 std::ptr::null() in sample_mask()
5649 pub fn alpha_to_coverage_enable(mut self, alpha_to_coverage_enable: bool) -> Self { in alpha_to_coverage_enable()
5653 pub fn alpha_to_one_enable(mut self, alpha_to_one_enable: bool) -> Self { in alpha_to_one_enable()
5660 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
5661 #[doc = r" chain will look like `A -> D -> B -> C`."]
5665 ) -> Self { in push_next()
5674 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
5677 pub fn build(self) -> PipelineMultisampleStateCreateInfo { in build() method
5683 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineColorBlen…
5695 pub fn builder<'a>() -> PipelineColorBlendAttachmentStateBuilder<'a> { in builder()
5698 marker: ::std::marker::PhantomData, in builder()
5705 marker: ::std::marker::PhantomData<&'a ()>,
5707 impl<'a> ::std::ops::Deref for PipelineColorBlendAttachmentStateBuilder<'a> {
5709 fn deref(&self) -> &Self::Target { in deref()
5713 impl<'a> ::std::ops::DerefMut for PipelineColorBlendAttachmentStateBuilder<'a> {
5714 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
5719 pub fn blend_enable(mut self, blend_enable: bool) -> Self { in blend_enable()
5723 pub fn src_color_blend_factor(mut self, src_color_blend_factor: BlendFactor) -> Self { in src_color_blend_factor()
5727 pub fn dst_color_blend_factor(mut self, dst_color_blend_factor: BlendFactor) -> Self { in dst_color_blend_factor()
5731 pub fn color_blend_op(mut self, color_blend_op: BlendOp) -> Self { in color_blend_op()
5735 pub fn src_alpha_blend_factor(mut self, src_alpha_blend_factor: BlendFactor) -> Self { in src_alpha_blend_factor()
5739 pub fn dst_alpha_blend_factor(mut self, dst_alpha_blend_factor: BlendFactor) -> Self { in dst_alpha_blend_factor()
5743 pub fn alpha_blend_op(mut self, alpha_blend_op: BlendOp) -> Self { in alpha_blend_op()
5747 pub fn color_write_mask(mut self, color_write_mask: ColorComponentFlags) -> Self { in color_write_mask()
5751 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
5754 pub fn build(self) -> PipelineColorBlendAttachmentState { in build() method
5760 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineColorBlen…
5771 impl ::std::default::Default for PipelineColorBlendStateCreateInfo {
5772 fn default() -> PipelineColorBlendStateCreateInfo { in default()
5775 p_next: ::std::ptr::null(), in default()
5780 p_attachments: ::std::ptr::null(), in default()
5781 blend_constants: unsafe { ::std::mem::zeroed() }, in default()
5786 pub fn builder<'a>() -> PipelineColorBlendStateCreateInfoBuilder<'a> { in builder()
5789 marker: ::std::marker::PhantomData, in builder()
5796 marker: ::std::marker::PhantomData<&'a ()>,
5799 impl<'a> ::std::ops::Deref for PipelineColorBlendStateCreateInfoBuilder<'a> {
5801 fn deref(&self) -> &Self::Target { in deref()
5805 impl<'a> ::std::ops::DerefMut for PipelineColorBlendStateCreateInfoBuilder<'a> {
5806 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
5811 pub fn flags(mut self, flags: PipelineColorBlendStateCreateFlags) -> Self { in flags()
5815 pub fn logic_op_enable(mut self, logic_op_enable: bool) -> Self { in logic_op_enable()
5819 pub fn logic_op(mut self, logic_op: LogicOp) -> Self { in logic_op()
5823 pub fn attachments(mut self, attachments: &'a [PipelineColorBlendAttachmentState]) -> Self { in attachments()
5828 pub fn blend_constants(mut self, blend_constants: [f32; 4]) -> Self { in blend_constants()
5835 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
5836 #[doc = r" chain will look like `A -> D -> B -> C`."]
5840 ) -> Self { in push_next()
5849 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
5852 pub fn build(self) -> PipelineColorBlendStateCreateInfo { in build() method
5858 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineDynamicSt…
5866 impl ::std::default::Default for PipelineDynamicStateCreateInfo {
5867 fn default() -> PipelineDynamicStateCreateInfo { in default()
5870 p_next: ::std::ptr::null(), in default()
5873 p_dynamic_states: ::std::ptr::null(), in default()
5878 pub fn builder<'a>() -> PipelineDynamicStateCreateInfoBuilder<'a> { in builder()
5881 marker: ::std::marker::PhantomData, in builder()
5888 marker: ::std::marker::PhantomData<&'a ()>,
5890 impl<'a> ::std::ops::Deref for PipelineDynamicStateCreateInfoBuilder<'a> {
5892 fn deref(&self) -> &Self::Target { in deref()
5896 impl<'a> ::std::ops::DerefMut for PipelineDynamicStateCreateInfoBuilder<'a> {
5897 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
5902 pub fn flags(mut self, flags: PipelineDynamicStateCreateFlags) -> Self { in flags()
5906 pub fn dynamic_states(mut self, dynamic_states: &'a [DynamicState]) -> Self { in dynamic_states()
5911 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
5914 pub fn build(self) -> PipelineDynamicStateCreateInfo { in build() method
5920 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkStencilOpState.ht…
5931 pub fn builder<'a>() -> StencilOpStateBuilder<'a> { in builder()
5934 marker: ::std::marker::PhantomData, in builder()
5941 marker: ::std::marker::PhantomData<&'a ()>,
5943 impl<'a> ::std::ops::Deref for StencilOpStateBuilder<'a> {
5945 fn deref(&self) -> &Self::Target { in deref()
5949 impl<'a> ::std::ops::DerefMut for StencilOpStateBuilder<'a> {
5950 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
5955 pub fn fail_op(mut self, fail_op: StencilOp) -> Self { in fail_op()
5959 pub fn pass_op(mut self, pass_op: StencilOp) -> Self { in pass_op()
5963 pub fn depth_fail_op(mut self, depth_fail_op: StencilOp) -> Self { in depth_fail_op()
5967 pub fn compare_op(mut self, compare_op: CompareOp) -> Self { in compare_op()
5971 pub fn compare_mask(mut self, compare_mask: u32) -> Self { in compare_mask()
5975 pub fn write_mask(mut self, write_mask: u32) -> Self { in write_mask()
5979 pub fn reference(mut self, reference: u32) -> Self { in reference()
5983 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
5986 pub fn build(self) -> StencilOpState { in build() method
5992 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineDepthSten…
6007 impl ::std::default::Default for PipelineDepthStencilStateCreateInfo {
6008 fn default() -> PipelineDepthStencilStateCreateInfo { in default()
6011 p_next: ::std::ptr::null(), in default()
6026 pub fn builder<'a>() -> PipelineDepthStencilStateCreateInfoBuilder<'a> { in builder()
6029 marker: ::std::marker::PhantomData, in builder()
6036 marker: ::std::marker::PhantomData<&'a ()>,
6038 impl<'a> ::std::ops::Deref for PipelineDepthStencilStateCreateInfoBuilder<'a> {
6040 fn deref(&self) -> &Self::Target { in deref()
6044 impl<'a> ::std::ops::DerefMut for PipelineDepthStencilStateCreateInfoBuilder<'a> {
6045 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
6050 pub fn flags(mut self, flags: PipelineDepthStencilStateCreateFlags) -> Self { in flags()
6054 pub fn depth_test_enable(mut self, depth_test_enable: bool) -> Self { in depth_test_enable()
6058 pub fn depth_write_enable(mut self, depth_write_enable: bool) -> Self { in depth_write_enable()
6062 pub fn depth_compare_op(mut self, depth_compare_op: CompareOp) -> Self { in depth_compare_op()
6066 pub fn depth_bounds_test_enable(mut self, depth_bounds_test_enable: bool) -> Self { in depth_bounds_test_enable()
6070 pub fn stencil_test_enable(mut self, stencil_test_enable: bool) -> Self { in stencil_test_enable()
6074 pub fn front(mut self, front: StencilOpState) -> Self { in front()
6078 pub fn back(mut self, back: StencilOpState) -> Self { in back()
6082 pub fn min_depth_bounds(mut self, min_depth_bounds: f32) -> Self { in min_depth_bounds()
6086 pub fn max_depth_bounds(mut self, max_depth_bounds: f32) -> Self { in max_depth_bounds()
6090 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
6093 pub fn build(self) -> PipelineDepthStencilStateCreateInfo { in build() method
6099 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkGraphicsPipelineC…
6121 impl ::std::default::Default for GraphicsPipelineCreateInfo {
6122 fn default() -> GraphicsPipelineCreateInfo { in default()
6125 p_next: ::std::ptr::null(), in default()
6128 p_stages: ::std::ptr::null(), in default()
6129 p_vertex_input_state: ::std::ptr::null(), in default()
6130 p_input_assembly_state: ::std::ptr::null(), in default()
6131 p_tessellation_state: ::std::ptr::null(), in default()
6132 p_viewport_state: ::std::ptr::null(), in default()
6133 p_rasterization_state: ::std::ptr::null(), in default()
6134 p_multisample_state: ::std::ptr::null(), in default()
6135 p_depth_stencil_state: ::std::ptr::null(), in default()
6136 p_color_blend_state: ::std::ptr::null(), in default()
6137 p_dynamic_state: ::std::ptr::null(), in default()
6147 pub fn builder<'a>() -> GraphicsPipelineCreateInfoBuilder<'a> { in builder()
6150 marker: ::std::marker::PhantomData, in builder()
6157 marker: ::std::marker::PhantomData<&'a ()>,
6160 impl<'a> ::std::ops::Deref for GraphicsPipelineCreateInfoBuilder<'a> {
6162 fn deref(&self) -> &Self::Target { in deref()
6166 impl<'a> ::std::ops::DerefMut for GraphicsPipelineCreateInfoBuilder<'a> {
6167 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
6172 pub fn flags(mut self, flags: PipelineCreateFlags) -> Self { in flags()
6176 pub fn stages(mut self, stages: &'a [PipelineShaderStageCreateInfo]) -> Self { in stages()
6184 ) -> Self { in vertex_input_state()
6191 ) -> Self { in input_assembly_state()
6198 ) -> Self { in tessellation_state()
6202 pub fn viewport_state(mut self, viewport_state: &'a PipelineViewportStateCreateInfo) -> Self { in viewport_state()
6209 ) -> Self { in rasterization_state()
6216 ) -> Self { in multisample_state()
6223 ) -> Self { in depth_stencil_state()
6230 ) -> Self { in color_blend_state()
6234 pub fn dynamic_state(mut self, dynamic_state: &'a PipelineDynamicStateCreateInfo) -> Self { in dynamic_state()
6238 pub fn layout(mut self, layout: PipelineLayout) -> Self { in layout()
6242 pub fn render_pass(mut self, render_pass: RenderPass) -> Self { in render_pass()
6246 pub fn subpass(mut self, subpass: u32) -> Self { in subpass()
6250 pub fn base_pipeline_handle(mut self, base_pipeline_handle: Pipeline) -> Self { in base_pipeline_handle()
6254 pub fn base_pipeline_index(mut self, base_pipeline_index: i32) -> Self { in base_pipeline_index()
6261 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
6262 #[doc = r" chain will look like `A -> D -> B -> C`."]
6263 pub fn push_next<T: ExtendsGraphicsPipelineCreateInfo>(mut self, next: &'a mut T) -> Self { in push_next()
6272 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
6275 pub fn build(self) -> GraphicsPipelineCreateInfo { in build() method
6281 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineCacheCrea…
6289 impl ::std::default::Default for PipelineCacheCreateInfo {
6290 fn default() -> PipelineCacheCreateInfo { in default()
6293 p_next: ::std::ptr::null(), in default()
6296 p_initial_data: ::std::ptr::null(), in default()
6301 pub fn builder<'a>() -> PipelineCacheCreateInfoBuilder<'a> { in builder()
6304 marker: ::std::marker::PhantomData, in builder()
6311 marker: ::std::marker::PhantomData<&'a ()>,
6313 impl<'a> ::std::ops::Deref for PipelineCacheCreateInfoBuilder<'a> {
6315 fn deref(&self) -> &Self::Target { in deref()
6319 impl<'a> ::std::ops::DerefMut for PipelineCacheCreateInfoBuilder<'a> {
6320 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
6325 pub fn flags(mut self, flags: PipelineCacheCreateFlags) -> Self { in flags()
6329 pub fn initial_data(mut self, initial_data: &'a [u8]) -> Self { in initial_data()
6334 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
6337 pub fn build(self) -> PipelineCacheCreateInfo { in build() method
6343 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineCacheHead…
6351 impl ::std::default::Default for PipelineCacheHeaderVersionOne {
6352 fn default() -> PipelineCacheHeaderVersionOne { in default()
6358 pipeline_cache_uuid: unsafe { ::std::mem::zeroed() }, in default()
6363 pub fn builder<'a>() -> PipelineCacheHeaderVersionOneBuilder<'a> { in builder()
6366 marker: ::std::marker::PhantomData, in builder()
6373 marker: ::std::marker::PhantomData<&'a ()>,
6375 impl<'a> ::std::ops::Deref for PipelineCacheHeaderVersionOneBuilder<'a> {
6377 fn deref(&self) -> &Self::Target { in deref()
6381 impl<'a> ::std::ops::DerefMut for PipelineCacheHeaderVersionOneBuilder<'a> {
6382 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
6387 pub fn header_size(mut self, header_size: u32) -> Self { in header_size()
6391 pub fn header_version(mut self, header_version: PipelineCacheHeaderVersion) -> Self { in header_version()
6395 pub fn vendor_id(mut self, vendor_id: u32) -> Self { in vendor_id()
6399 pub fn device_id(mut self, device_id: u32) -> Self { in device_id()
6403 pub fn pipeline_cache_uuid(mut self, pipeline_cache_uuid: [u8; UUID_SIZE]) -> Self { in pipeline_cache_uuid()
6407 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
6410 pub fn build(self) -> PipelineCacheHeaderVersionOne { in build() method
6416 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPushConstantRange…
6423 pub fn builder<'a>() -> PushConstantRangeBuilder<'a> { in builder()
6426 marker: ::std::marker::PhantomData, in builder()
6433 marker: ::std::marker::PhantomData<&'a ()>,
6435 impl<'a> ::std::ops::Deref for PushConstantRangeBuilder<'a> {
6437 fn deref(&self) -> &Self::Target { in deref()
6441 impl<'a> ::std::ops::DerefMut for PushConstantRangeBuilder<'a> {
6442 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
6447 pub fn stage_flags(mut self, stage_flags: ShaderStageFlags) -> Self { in stage_flags()
6451 pub fn offset(mut self, offset: u32) -> Self { in offset()
6455 pub fn size(mut self, size: u32) -> Self { in size()
6459 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
6462 pub fn build(self) -> PushConstantRange { in build() method
6468 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineLayoutCre…
6478 impl ::std::default::Default for PipelineLayoutCreateInfo {
6479 fn default() -> PipelineLayoutCreateInfo { in default()
6482 p_next: ::std::ptr::null(), in default()
6485 p_set_layouts: ::std::ptr::null(), in default()
6487 p_push_constant_ranges: ::std::ptr::null(), in default()
6492 pub fn builder<'a>() -> PipelineLayoutCreateInfoBuilder<'a> { in builder()
6495 marker: ::std::marker::PhantomData, in builder()
6502 marker: ::std::marker::PhantomData<&'a ()>,
6504 impl<'a> ::std::ops::Deref for PipelineLayoutCreateInfoBuilder<'a> {
6506 fn deref(&self) -> &Self::Target { in deref()
6510 impl<'a> ::std::ops::DerefMut for PipelineLayoutCreateInfoBuilder<'a> {
6511 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
6516 pub fn flags(mut self, flags: PipelineLayoutCreateFlags) -> Self { in flags()
6520 pub fn set_layouts(mut self, set_layouts: &'a [DescriptorSetLayout]) -> Self { in set_layouts()
6525 pub fn push_constant_ranges(mut self, push_constant_ranges: &'a [PushConstantRange]) -> Self { in push_constant_ranges()
6530 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
6533 pub fn build(self) -> PipelineLayoutCreateInfo { in build() method
6539 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSamplerCreateInfo…
6560 impl ::std::default::Default for SamplerCreateInfo {
6561 fn default() -> SamplerCreateInfo { in default()
6564 p_next: ::std::ptr::null(), in default()
6585 pub fn builder<'a>() -> SamplerCreateInfoBuilder<'a> { in builder()
6588 marker: ::std::marker::PhantomData, in builder()
6595 marker: ::std::marker::PhantomData<&'a ()>,
6598 impl<'a> ::std::ops::Deref for SamplerCreateInfoBuilder<'a> {
6600 fn deref(&self) -> &Self::Target { in deref()
6604 impl<'a> ::std::ops::DerefMut for SamplerCreateInfoBuilder<'a> {
6605 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
6610 pub fn flags(mut self, flags: SamplerCreateFlags) -> Self { in flags()
6614 pub fn mag_filter(mut self, mag_filter: Filter) -> Self { in mag_filter()
6618 pub fn min_filter(mut self, min_filter: Filter) -> Self { in min_filter()
6622 pub fn mipmap_mode(mut self, mipmap_mode: SamplerMipmapMode) -> Self { in mipmap_mode()
6626 pub fn address_mode_u(mut self, address_mode_u: SamplerAddressMode) -> Self { in address_mode_u()
6630 pub fn address_mode_v(mut self, address_mode_v: SamplerAddressMode) -> Self { in address_mode_v()
6634 pub fn address_mode_w(mut self, address_mode_w: SamplerAddressMode) -> Self { in address_mode_w()
6638 pub fn mip_lod_bias(mut self, mip_lod_bias: f32) -> Self { in mip_lod_bias()
6642 pub fn anisotropy_enable(mut self, anisotropy_enable: bool) -> Self { in anisotropy_enable()
6646 pub fn max_anisotropy(mut self, max_anisotropy: f32) -> Self { in max_anisotropy()
6650 pub fn compare_enable(mut self, compare_enable: bool) -> Self { in compare_enable()
6654 pub fn compare_op(mut self, compare_op: CompareOp) -> Self { in compare_op()
6658 pub fn min_lod(mut self, min_lod: f32) -> Self { in min_lod()
6662 pub fn max_lod(mut self, max_lod: f32) -> Self { in max_lod()
6666 pub fn border_color(mut self, border_color: BorderColor) -> Self { in border_color()
6670 pub fn unnormalized_coordinates(mut self, unnormalized_coordinates: bool) -> Self { in unnormalized_coordinates()
6677 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
6678 #[doc = r" chain will look like `A -> D -> B -> C`."]
6679 pub fn push_next<T: ExtendsSamplerCreateInfo>(mut self, next: &'a mut T) -> Self { in push_next()
6688 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
6691 pub fn build(self) -> SamplerCreateInfo { in build() method
6697 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCommandPoolCreate…
6704 impl ::std::default::Default for CommandPoolCreateInfo {
6705 fn default() -> CommandPoolCreateInfo { in default()
6708 p_next: ::std::ptr::null(), in default()
6715 pub fn builder<'a>() -> CommandPoolCreateInfoBuilder<'a> { in builder()
6718 marker: ::std::marker::PhantomData, in builder()
6725 marker: ::std::marker::PhantomData<&'a ()>,
6727 impl<'a> ::std::ops::Deref for CommandPoolCreateInfoBuilder<'a> {
6729 fn deref(&self) -> &Self::Target { in deref()
6733 impl<'a> ::std::ops::DerefMut for CommandPoolCreateInfoBuilder<'a> {
6734 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
6739 pub fn flags(mut self, flags: CommandPoolCreateFlags) -> Self { in flags()
6743 pub fn queue_family_index(mut self, queue_family_index: u32) -> Self { in queue_family_index()
6747 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
6750 pub fn build(self) -> CommandPoolCreateInfo { in build() method
6756 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCommandBufferAllo…
6764 impl ::std::default::Default for CommandBufferAllocateInfo {
6765 fn default() -> CommandBufferAllocateInfo { in default()
6768 p_next: ::std::ptr::null(), in default()
6776 pub fn builder<'a>() -> CommandBufferAllocateInfoBuilder<'a> { in builder()
6779 marker: ::std::marker::PhantomData, in builder()
6786 marker: ::std::marker::PhantomData<&'a ()>,
6788 impl<'a> ::std::ops::Deref for CommandBufferAllocateInfoBuilder<'a> {
6790 fn deref(&self) -> &Self::Target { in deref()
6794 impl<'a> ::std::ops::DerefMut for CommandBufferAllocateInfoBuilder<'a> {
6795 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
6800 pub fn command_pool(mut self, command_pool: CommandPool) -> Self { in command_pool()
6804 pub fn level(mut self, level: CommandBufferLevel) -> Self { in level()
6808 pub fn command_buffer_count(mut self, command_buffer_count: u32) -> Self { in command_buffer_count()
6812 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
6815 pub fn build(self) -> CommandBufferAllocateInfo { in build() method
6821 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCommandBufferInhe…
6832 impl ::std::default::Default for CommandBufferInheritanceInfo {
6833 fn default() -> CommandBufferInheritanceInfo { in default()
6836 p_next: ::std::ptr::null(), in default()
6847 pub fn builder<'a>() -> CommandBufferInheritanceInfoBuilder<'a> { in builder()
6850 marker: ::std::marker::PhantomData, in builder()
6857 marker: ::std::marker::PhantomData<&'a ()>,
6860 impl<'a> ::std::ops::Deref for CommandBufferInheritanceInfoBuilder<'a> {
6862 fn deref(&self) -> &Self::Target { in deref()
6866 impl<'a> ::std::ops::DerefMut for CommandBufferInheritanceInfoBuilder<'a> {
6867 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
6872 pub fn render_pass(mut self, render_pass: RenderPass) -> Self { in render_pass()
6876 pub fn subpass(mut self, subpass: u32) -> Self { in subpass()
6880 pub fn framebuffer(mut self, framebuffer: Framebuffer) -> Self { in framebuffer()
6884 pub fn occlusion_query_enable(mut self, occlusion_query_enable: bool) -> Self { in occlusion_query_enable()
6888 pub fn query_flags(mut self, query_flags: QueryControlFlags) -> Self { in query_flags()
6892 pub fn pipeline_statistics(mut self, pipeline_statistics: QueryPipelineStatisticFlags) -> Self { in pipeline_statistics()
6899 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
6900 #[doc = r" chain will look like `A -> D -> B -> C`."]
6901 pub fn push_next<T: ExtendsCommandBufferInheritanceInfo>(mut self, next: &'a mut T) -> Self { in push_next()
6910 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
6913 pub fn build(self) -> CommandBufferInheritanceInfo { in build() method
6919 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCommandBufferBegi…
6926 impl ::std::default::Default for CommandBufferBeginInfo {
6927 fn default() -> CommandBufferBeginInfo { in default()
6930 p_next: ::std::ptr::null(), in default()
6932 p_inheritance_info: ::std::ptr::null(), in default()
6937 pub fn builder<'a>() -> CommandBufferBeginInfoBuilder<'a> { in builder()
6940 marker: ::std::marker::PhantomData, in builder()
6947 marker: ::std::marker::PhantomData<&'a ()>,
6950 impl<'a> ::std::ops::Deref for CommandBufferBeginInfoBuilder<'a> {
6952 fn deref(&self) -> &Self::Target { in deref()
6956 impl<'a> ::std::ops::DerefMut for CommandBufferBeginInfoBuilder<'a> {
6957 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
6962 pub fn flags(mut self, flags: CommandBufferUsageFlags) -> Self { in flags()
6966 pub fn inheritance_info(mut self, inheritance_info: &'a CommandBufferInheritanceInfo) -> Self { in inheritance_info()
6973 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
6974 #[doc = r" chain will look like `A -> D -> B -> C`."]
6975 pub fn push_next<T: ExtendsCommandBufferBeginInfo>(mut self, next: &'a mut T) -> Self { in push_next()
6984 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
6987 pub fn build(self) -> CommandBufferBeginInfo { in build() method
6993 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkRenderPassBeginIn…
7004 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
7016 impl ::std::default::Default for RenderPassBeginInfo {
7017 fn default() -> RenderPassBeginInfo { in default()
7020 p_next: ::std::ptr::null(), in default()
7025 p_clear_values: ::std::ptr::null(), in default()
7030 pub fn builder<'a>() -> RenderPassBeginInfoBuilder<'a> { in builder()
7033 marker: ::std::marker::PhantomData, in builder()
7040 marker: ::std::marker::PhantomData<&'a ()>,
7043 impl<'a> ::std::ops::Deref for RenderPassBeginInfoBuilder<'a> {
7045 fn deref(&self) -> &Self::Target { in deref()
7049 impl<'a> ::std::ops::DerefMut for RenderPassBeginInfoBuilder<'a> {
7050 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
7055 pub fn render_pass(mut self, render_pass: RenderPass) -> Self { in render_pass()
7059 pub fn framebuffer(mut self, framebuffer: Framebuffer) -> Self { in framebuffer()
7063 pub fn render_area(mut self, render_area: Rect2D) -> Self { in render_area()
7067 pub fn clear_values(mut self, clear_values: &'a [ClearValue]) -> Self { in clear_values()
7075 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
7076 #[doc = r" chain will look like `A -> D -> B -> C`."]
7077 pub fn push_next<T: ExtendsRenderPassBeginInfo>(mut self, next: &'a mut T) -> Self { in push_next()
7086 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
7089 pub fn build(self) -> RenderPassBeginInfo { in build() method
7095 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkClearColorValue.h…
7101 impl ::std::default::Default for ClearColorValue {
7102 fn default() -> ClearColorValue { in default()
7103 unsafe { ::std::mem::zeroed() } in default()
7108 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkClearDepthStencil…
7114 pub fn builder<'a>() -> ClearDepthStencilValueBuilder<'a> { in builder()
7117 marker: ::std::marker::PhantomData, in builder()
7124 marker: ::std::marker::PhantomData<&'a ()>,
7126 impl<'a> ::std::ops::Deref for ClearDepthStencilValueBuilder<'a> {
7128 fn deref(&self) -> &Self::Target { in deref()
7132 impl<'a> ::std::ops::DerefMut for ClearDepthStencilValueBuilder<'a> {
7133 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
7138 pub fn depth(mut self, depth: f32) -> Self { in depth()
7142 pub fn stencil(mut self, stencil: u32) -> Self { in stencil()
7146 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
7149 pub fn build(self) -> ClearDepthStencilValue { in build() method
7155 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkClearValue.html>"]
7160 impl ::std::default::Default for ClearValue {
7161 fn default() -> ClearValue { in default()
7162 unsafe { ::std::mem::zeroed() } in default()
7167 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkClearAttachment.h…
7174 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
7183 pub fn builder<'a>() -> ClearAttachmentBuilder<'a> { in builder()
7186 marker: ::std::marker::PhantomData, in builder()
7193 marker: ::std::marker::PhantomData<&'a ()>,
7195 impl<'a> ::std::ops::Deref for ClearAttachmentBuilder<'a> {
7197 fn deref(&self) -> &Self::Target { in deref()
7201 impl<'a> ::std::ops::DerefMut for ClearAttachmentBuilder<'a> {
7202 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
7207 pub fn aspect_mask(mut self, aspect_mask: ImageAspectFlags) -> Self { in aspect_mask()
7211 pub fn color_attachment(mut self, color_attachment: u32) -> Self { in color_attachment()
7215 pub fn clear_value(mut self, clear_value: ClearValue) -> Self { in clear_value()
7219 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
7222 pub fn build(self) -> ClearAttachment { in build() method
7228 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAttachmentDescrip…
7241 pub fn builder<'a>() -> AttachmentDescriptionBuilder<'a> { in builder()
7244 marker: ::std::marker::PhantomData, in builder()
7251 marker: ::std::marker::PhantomData<&'a ()>,
7253 impl<'a> ::std::ops::Deref for AttachmentDescriptionBuilder<'a> {
7255 fn deref(&self) -> &Self::Target { in deref()
7259 impl<'a> ::std::ops::DerefMut for AttachmentDescriptionBuilder<'a> {
7260 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
7265 pub fn flags(mut self, flags: AttachmentDescriptionFlags) -> Self { in flags()
7269 pub fn format(mut self, format: Format) -> Self { in format()
7273 pub fn samples(mut self, samples: SampleCountFlags) -> Self { in samples()
7277 pub fn load_op(mut self, load_op: AttachmentLoadOp) -> Self { in load_op()
7281 pub fn store_op(mut self, store_op: AttachmentStoreOp) -> Self { in store_op()
7285 pub fn stencil_load_op(mut self, stencil_load_op: AttachmentLoadOp) -> Self { in stencil_load_op()
7289 pub fn stencil_store_op(mut self, stencil_store_op: AttachmentStoreOp) -> Self { in stencil_store_op()
7293 pub fn initial_layout(mut self, initial_layout: ImageLayout) -> Self { in initial_layout()
7297 pub fn final_layout(mut self, final_layout: ImageLayout) -> Self { in final_layout()
7301 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
7304 pub fn build(self) -> AttachmentDescription { in build() method
7310 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAttachmentReferen…
7316 pub fn builder<'a>() -> AttachmentReferenceBuilder<'a> { in builder()
7319 marker: ::std::marker::PhantomData, in builder()
7326 marker: ::std::marker::PhantomData<&'a ()>,
7328 impl<'a> ::std::ops::Deref for AttachmentReferenceBuilder<'a> {
7330 fn deref(&self) -> &Self::Target { in deref()
7334 impl<'a> ::std::ops::DerefMut for AttachmentReferenceBuilder<'a> {
7335 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
7340 pub fn attachment(mut self, attachment: u32) -> Self { in attachment()
7344 pub fn layout(mut self, layout: ImageLayout) -> Self { in layout()
7348 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
7351 pub fn build(self) -> AttachmentReference { in build() method
7357 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSubpassDescriptio…
7370 impl ::std::default::Default for SubpassDescription {
7371 fn default() -> SubpassDescription { in default()
7376 p_input_attachments: ::std::ptr::null(), in default()
7378 p_color_attachments: ::std::ptr::null(), in default()
7379 p_resolve_attachments: ::std::ptr::null(), in default()
7380 p_depth_stencil_attachment: ::std::ptr::null(), in default()
7382 p_preserve_attachments: ::std::ptr::null(), in default()
7387 pub fn builder<'a>() -> SubpassDescriptionBuilder<'a> { in builder()
7390 marker: ::std::marker::PhantomData, in builder()
7397 marker: ::std::marker::PhantomData<&'a ()>,
7399 impl<'a> ::std::ops::Deref for SubpassDescriptionBuilder<'a> {
7401 fn deref(&self) -> &Self::Target { in deref()
7405 impl<'a> ::std::ops::DerefMut for SubpassDescriptionBuilder<'a> {
7406 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
7411 pub fn flags(mut self, flags: SubpassDescriptionFlags) -> Self { in flags()
7415 pub fn pipeline_bind_point(mut self, pipeline_bind_point: PipelineBindPoint) -> Self { in pipeline_bind_point()
7419 pub fn input_attachments(mut self, input_attachments: &'a [AttachmentReference]) -> Self { in input_attachments()
7424 pub fn color_attachments(mut self, color_attachments: &'a [AttachmentReference]) -> Self { in color_attachments()
7429 pub fn resolve_attachments(mut self, resolve_attachments: &'a [AttachmentReference]) -> Self { in resolve_attachments()
7437 ) -> Self { in depth_stencil_attachment()
7441 pub fn preserve_attachments(mut self, preserve_attachments: &'a [u32]) -> Self { in preserve_attachments()
7446 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
7449 pub fn build(self) -> SubpassDescription { in build() method
7455 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSubpassDependency…
7466 pub fn builder<'a>() -> SubpassDependencyBuilder<'a> { in builder()
7469 marker: ::std::marker::PhantomData, in builder()
7476 marker: ::std::marker::PhantomData<&'a ()>,
7478 impl<'a> ::std::ops::Deref for SubpassDependencyBuilder<'a> {
7480 fn deref(&self) -> &Self::Target { in deref()
7484 impl<'a> ::std::ops::DerefMut for SubpassDependencyBuilder<'a> {
7485 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
7490 pub fn src_subpass(mut self, src_subpass: u32) -> Self { in src_subpass()
7494 pub fn dst_subpass(mut self, dst_subpass: u32) -> Self { in dst_subpass()
7498 pub fn src_stage_mask(mut self, src_stage_mask: PipelineStageFlags) -> Self { in src_stage_mask()
7502 pub fn dst_stage_mask(mut self, dst_stage_mask: PipelineStageFlags) -> Self { in dst_stage_mask()
7506 pub fn src_access_mask(mut self, src_access_mask: AccessFlags) -> Self { in src_access_mask()
7510 pub fn dst_access_mask(mut self, dst_access_mask: AccessFlags) -> Self { in dst_access_mask()
7514 pub fn dependency_flags(mut self, dependency_flags: DependencyFlags) -> Self { in dependency_flags()
7518 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
7521 pub fn build(self) -> SubpassDependency { in build() method
7527 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkRenderPassCreateI…
7539 impl ::std::default::Default for RenderPassCreateInfo {
7540 fn default() -> RenderPassCreateInfo { in default()
7543 p_next: ::std::ptr::null(), in default()
7546 p_attachments: ::std::ptr::null(), in default()
7548 p_subpasses: ::std::ptr::null(), in default()
7550 p_dependencies: ::std::ptr::null(), in default()
7555 pub fn builder<'a>() -> RenderPassCreateInfoBuilder<'a> { in builder()
7558 marker: ::std::marker::PhantomData, in builder()
7565 marker: ::std::marker::PhantomData<&'a ()>,
7568 impl<'a> ::std::ops::Deref for RenderPassCreateInfoBuilder<'a> {
7570 fn deref(&self) -> &Self::Target { in deref()
7574 impl<'a> ::std::ops::DerefMut for RenderPassCreateInfoBuilder<'a> {
7575 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
7580 pub fn flags(mut self, flags: RenderPassCreateFlags) -> Self { in flags()
7584 pub fn attachments(mut self, attachments: &'a [AttachmentDescription]) -> Self { in attachments()
7589 pub fn subpasses(mut self, subpasses: &'a [SubpassDescription]) -> Self { in subpasses()
7594 pub fn dependencies(mut self, dependencies: &'a [SubpassDependency]) -> Self { in dependencies()
7602 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
7603 #[doc = r" chain will look like `A -> D -> B -> C`."]
7604 pub fn push_next<T: ExtendsRenderPassCreateInfo>(mut self, next: &'a mut T) -> Self { in push_next()
7613 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
7616 pub fn build(self) -> RenderPassCreateInfo { in build() method
7622 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkEventCreateInfo.h…
7628 impl ::std::default::Default for EventCreateInfo {
7629 fn default() -> EventCreateInfo { in default()
7632 p_next: ::std::ptr::null(), in default()
7638 pub fn builder<'a>() -> EventCreateInfoBuilder<'a> { in builder()
7641 marker: ::std::marker::PhantomData, in builder()
7648 marker: ::std::marker::PhantomData<&'a ()>,
7650 impl<'a> ::std::ops::Deref for EventCreateInfoBuilder<'a> {
7652 fn deref(&self) -> &Self::Target { in deref()
7656 impl<'a> ::std::ops::DerefMut for EventCreateInfoBuilder<'a> {
7657 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
7662 pub fn flags(mut self, flags: EventCreateFlags) -> Self { in flags()
7666 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
7669 pub fn build(self) -> EventCreateInfo { in build() method
7675 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkFenceCreateInfo.h…
7681 impl ::std::default::Default for FenceCreateInfo {
7682 fn default() -> FenceCreateInfo { in default()
7685 p_next: ::std::ptr::null(), in default()
7691 pub fn builder<'a>() -> FenceCreateInfoBuilder<'a> { in builder()
7694 marker: ::std::marker::PhantomData, in builder()
7701 marker: ::std::marker::PhantomData<&'a ()>,
7704 impl<'a> ::std::ops::Deref for FenceCreateInfoBuilder<'a> {
7706 fn deref(&self) -> &Self::Target { in deref()
7710 impl<'a> ::std::ops::DerefMut for FenceCreateInfoBuilder<'a> {
7711 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
7716 pub fn flags(mut self, flags: FenceCreateFlags) -> Self { in flags()
7723 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
7724 #[doc = r" chain will look like `A -> D -> B -> C`."]
7725 pub fn push_next<T: ExtendsFenceCreateInfo>(mut self, next: &'a mut T) -> Self { in push_next()
7734 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
7737 pub fn build(self) -> FenceCreateInfo { in build() method
7743 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceFea…
7802 pub fn builder<'a>() -> PhysicalDeviceFeaturesBuilder<'a> { in builder()
7805 marker: ::std::marker::PhantomData, in builder()
7812 marker: ::std::marker::PhantomData<&'a ()>,
7814 impl<'a> ::std::ops::Deref for PhysicalDeviceFeaturesBuilder<'a> {
7816 fn deref(&self) -> &Self::Target { in deref()
7820 impl<'a> ::std::ops::DerefMut for PhysicalDeviceFeaturesBuilder<'a> {
7821 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
7826 pub fn robust_buffer_access(mut self, robust_buffer_access: bool) -> Self { in robust_buffer_access()
7830 pub fn full_draw_index_uint32(mut self, full_draw_index_uint32: bool) -> Self { in full_draw_index_uint32()
7834 pub fn image_cube_array(mut self, image_cube_array: bool) -> Self { in image_cube_array()
7838 pub fn independent_blend(mut self, independent_blend: bool) -> Self { in independent_blend()
7842 pub fn geometry_shader(mut self, geometry_shader: bool) -> Self { in geometry_shader()
7846 pub fn tessellation_shader(mut self, tessellation_shader: bool) -> Self { in tessellation_shader()
7850 pub fn sample_rate_shading(mut self, sample_rate_shading: bool) -> Self { in sample_rate_shading()
7854 pub fn dual_src_blend(mut self, dual_src_blend: bool) -> Self { in dual_src_blend()
7858 pub fn logic_op(mut self, logic_op: bool) -> Self { in logic_op()
7862 pub fn multi_draw_indirect(mut self, multi_draw_indirect: bool) -> Self { in multi_draw_indirect()
7866 pub fn draw_indirect_first_instance(mut self, draw_indirect_first_instance: bool) -> Self { in draw_indirect_first_instance()
7870 pub fn depth_clamp(mut self, depth_clamp: bool) -> Self { in depth_clamp()
7874 pub fn depth_bias_clamp(mut self, depth_bias_clamp: bool) -> Self { in depth_bias_clamp()
7878 pub fn fill_mode_non_solid(mut self, fill_mode_non_solid: bool) -> Self { in fill_mode_non_solid()
7882 pub fn depth_bounds(mut self, depth_bounds: bool) -> Self { in depth_bounds()
7886 pub fn wide_lines(mut self, wide_lines: bool) -> Self { in wide_lines()
7890 pub fn large_points(mut self, large_points: bool) -> Self { in large_points()
7894 pub fn alpha_to_one(mut self, alpha_to_one: bool) -> Self { in alpha_to_one()
7898 pub fn multi_viewport(mut self, multi_viewport: bool) -> Self { in multi_viewport()
7902 pub fn sampler_anisotropy(mut self, sampler_anisotropy: bool) -> Self { in sampler_anisotropy()
7906 pub fn texture_compression_etc2(mut self, texture_compression_etc2: bool) -> Self { in texture_compression_etc2()
7910 pub fn texture_compression_astc_ldr(mut self, texture_compression_astc_ldr: bool) -> Self { in texture_compression_astc_ldr()
7914 pub fn texture_compression_bc(mut self, texture_compression_bc: bool) -> Self { in texture_compression_bc()
7918 pub fn occlusion_query_precise(mut self, occlusion_query_precise: bool) -> Self { in occlusion_query_precise()
7922 pub fn pipeline_statistics_query(mut self, pipeline_statistics_query: bool) -> Self { in pipeline_statistics_query()
7929 ) -> Self { in vertex_pipeline_stores_and_atomics()
7933 pub fn fragment_stores_and_atomics(mut self, fragment_stores_and_atomics: bool) -> Self { in fragment_stores_and_atomics()
7940 ) -> Self { in shader_tessellation_and_geometry_point_size()
7945 pub fn shader_image_gather_extended(mut self, shader_image_gather_extended: bool) -> Self { in shader_image_gather_extended()
7952 ) -> Self { in shader_storage_image_extended_formats()
7960 ) -> Self { in shader_storage_image_multisample()
7967 ) -> Self { in shader_storage_image_read_without_format()
7975 ) -> Self { in shader_storage_image_write_without_format()
7983 ) -> Self { in shader_uniform_buffer_array_dynamic_indexing()
7991 ) -> Self { in shader_sampled_image_array_dynamic_indexing()
7999 ) -> Self { in shader_storage_buffer_array_dynamic_indexing()
8007 ) -> Self { in shader_storage_image_array_dynamic_indexing()
8012 pub fn shader_clip_distance(mut self, shader_clip_distance: bool) -> Self { in shader_clip_distance()
8016 pub fn shader_cull_distance(mut self, shader_cull_distance: bool) -> Self { in shader_cull_distance()
8020 pub fn shader_float64(mut self, shader_float64: bool) -> Self { in shader_float64()
8024 pub fn shader_int64(mut self, shader_int64: bool) -> Self { in shader_int64()
8028 pub fn shader_int16(mut self, shader_int16: bool) -> Self { in shader_int16()
8032 pub fn shader_resource_residency(mut self, shader_resource_residency: bool) -> Self { in shader_resource_residency()
8036 pub fn shader_resource_min_lod(mut self, shader_resource_min_lod: bool) -> Self { in shader_resource_min_lod()
8040 pub fn sparse_binding(mut self, sparse_binding: bool) -> Self { in sparse_binding()
8044 pub fn sparse_residency_buffer(mut self, sparse_residency_buffer: bool) -> Self { in sparse_residency_buffer()
8048 pub fn sparse_residency_image2_d(mut self, sparse_residency_image2_d: bool) -> Self { in sparse_residency_image2_d()
8052 pub fn sparse_residency_image3_d(mut self, sparse_residency_image3_d: bool) -> Self { in sparse_residency_image3_d()
8056 pub fn sparse_residency2_samples(mut self, sparse_residency2_samples: bool) -> Self { in sparse_residency2_samples()
8060 pub fn sparse_residency4_samples(mut self, sparse_residency4_samples: bool) -> Self { in sparse_residency4_samples()
8064 pub fn sparse_residency8_samples(mut self, sparse_residency8_samples: bool) -> Self { in sparse_residency8_samples()
8068 pub fn sparse_residency16_samples(mut self, sparse_residency16_samples: bool) -> Self { in sparse_residency16_samples()
8072 pub fn sparse_residency_aliased(mut self, sparse_residency_aliased: bool) -> Self { in sparse_residency_aliased()
8076 pub fn variable_multisample_rate(mut self, variable_multisample_rate: bool) -> Self { in variable_multisample_rate()
8080 pub fn inherited_queries(mut self, inherited_queries: bool) -> Self { in inherited_queries()
8084 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
8087 pub fn build(self) -> PhysicalDeviceFeatures { in build() method
8093 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSpa…
8102 pub fn builder<'a>() -> PhysicalDeviceSparsePropertiesBuilder<'a> { in builder()
8105 marker: ::std::marker::PhantomData, in builder()
8112 marker: ::std::marker::PhantomData<&'a ()>,
8114 impl<'a> ::std::ops::Deref for PhysicalDeviceSparsePropertiesBuilder<'a> {
8116 fn deref(&self) -> &Self::Target { in deref()
8120 impl<'a> ::std::ops::DerefMut for PhysicalDeviceSparsePropertiesBuilder<'a> {
8121 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
8129 ) -> Self { in residency_standard2_d_block_shape()
8136 ) -> Self { in residency_standard2_d_multisample_block_shape()
8144 ) -> Self { in residency_standard3_d_block_shape()
8148 pub fn residency_aligned_mip_size(mut self, residency_aligned_mip_size: bool) -> Self { in residency_aligned_mip_size()
8152 pub fn residency_non_resident_strict(mut self, residency_non_resident_strict: bool) -> Self { in residency_non_resident_strict()
8156 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
8159 pub fn build(self) -> PhysicalDeviceSparseProperties { in build() method
8165 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceLim…
8274 impl ::std::default::Default for PhysicalDeviceLimits {
8275 fn default() -> PhysicalDeviceLimits { in default()
8329 max_compute_work_group_count: unsafe { ::std::mem::zeroed() }, in default()
8331 max_compute_work_group_size: unsafe { ::std::mem::zeroed() }, in default()
8340 max_viewport_dimensions: unsafe { ::std::mem::zeroed() }, in default()
8341 viewport_bounds_range: unsafe { ::std::mem::zeroed() }, in default()
8374 point_size_range: unsafe { ::std::mem::zeroed() }, in default()
8375 line_width_range: unsafe { ::std::mem::zeroed() }, in default()
8387 pub fn builder<'a>() -> PhysicalDeviceLimitsBuilder<'a> { in builder()
8390 marker: ::std::marker::PhantomData, in builder()
8397 marker: ::std::marker::PhantomData<&'a ()>,
8399 impl<'a> ::std::ops::Deref for PhysicalDeviceLimitsBuilder<'a> {
8401 fn deref(&self) -> &Self::Target { in deref()
8405 impl<'a> ::std::ops::DerefMut for PhysicalDeviceLimitsBuilder<'a> {
8406 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
8411 pub fn max_image_dimension1_d(mut self, max_image_dimension1_d: u32) -> Self { in max_image_dimension1_d()
8415 pub fn max_image_dimension2_d(mut self, max_image_dimension2_d: u32) -> Self { in max_image_dimension2_d()
8419 pub fn max_image_dimension3_d(mut self, max_image_dimension3_d: u32) -> Self { in max_image_dimension3_d()
8423 pub fn max_image_dimension_cube(mut self, max_image_dimension_cube: u32) -> Self { in max_image_dimension_cube()
8427 pub fn max_image_array_layers(mut self, max_image_array_layers: u32) -> Self { in max_image_array_layers()
8431 pub fn max_texel_buffer_elements(mut self, max_texel_buffer_elements: u32) -> Self { in max_texel_buffer_elements()
8435 pub fn max_uniform_buffer_range(mut self, max_uniform_buffer_range: u32) -> Self { in max_uniform_buffer_range()
8439 pub fn max_storage_buffer_range(mut self, max_storage_buffer_range: u32) -> Self { in max_storage_buffer_range()
8443 pub fn max_push_constants_size(mut self, max_push_constants_size: u32) -> Self { in max_push_constants_size()
8447 pub fn max_memory_allocation_count(mut self, max_memory_allocation_count: u32) -> Self { in max_memory_allocation_count()
8451 pub fn max_sampler_allocation_count(mut self, max_sampler_allocation_count: u32) -> Self { in max_sampler_allocation_count()
8455 pub fn buffer_image_granularity(mut self, buffer_image_granularity: DeviceSize) -> Self { in buffer_image_granularity()
8459 pub fn sparse_address_space_size(mut self, sparse_address_space_size: DeviceSize) -> Self { in sparse_address_space_size()
8463 pub fn max_bound_descriptor_sets(mut self, max_bound_descriptor_sets: u32) -> Self { in max_bound_descriptor_sets()
8470 ) -> Self { in max_per_stage_descriptor_samplers()
8477 ) -> Self { in max_per_stage_descriptor_uniform_buffers()
8485 ) -> Self { in max_per_stage_descriptor_storage_buffers()
8493 ) -> Self { in max_per_stage_descriptor_sampled_images()
8501 ) -> Self { in max_per_stage_descriptor_storage_images()
8509 ) -> Self { in max_per_stage_descriptor_input_attachments()
8514 pub fn max_per_stage_resources(mut self, max_per_stage_resources: u32) -> Self { in max_per_stage_resources()
8518 pub fn max_descriptor_set_samplers(mut self, max_descriptor_set_samplers: u32) -> Self { in max_descriptor_set_samplers()
8525 ) -> Self { in max_descriptor_set_uniform_buffers()
8532 ) -> Self { in max_descriptor_set_uniform_buffers_dynamic()
8540 ) -> Self { in max_descriptor_set_storage_buffers()
8547 ) -> Self { in max_descriptor_set_storage_buffers_dynamic()
8555 ) -> Self { in max_descriptor_set_sampled_images()
8562 ) -> Self { in max_descriptor_set_storage_images()
8569 ) -> Self { in max_descriptor_set_input_attachments()
8573 pub fn max_vertex_input_attributes(mut self, max_vertex_input_attributes: u32) -> Self { in max_vertex_input_attributes()
8577 pub fn max_vertex_input_bindings(mut self, max_vertex_input_bindings: u32) -> Self { in max_vertex_input_bindings()
8584 ) -> Self { in max_vertex_input_attribute_offset()
8588 pub fn max_vertex_input_binding_stride(mut self, max_vertex_input_binding_stride: u32) -> Self { in max_vertex_input_binding_stride()
8592 pub fn max_vertex_output_components(mut self, max_vertex_output_components: u32) -> Self { in max_vertex_output_components()
8599 ) -> Self { in max_tessellation_generation_level()
8603 pub fn max_tessellation_patch_size(mut self, max_tessellation_patch_size: u32) -> Self { in max_tessellation_patch_size()
8610 ) -> Self { in max_tessellation_control_per_vertex_input_components()
8619 ) -> Self { in max_tessellation_control_per_vertex_output_components()
8628 ) -> Self { in max_tessellation_control_per_patch_output_components()
8637 ) -> Self { in max_tessellation_control_total_output_components()
8645 ) -> Self { in max_tessellation_evaluation_input_components()
8653 ) -> Self { in max_tessellation_evaluation_output_components()
8658 pub fn max_geometry_shader_invocations(mut self, max_geometry_shader_invocations: u32) -> Self { in max_geometry_shader_invocations()
8662 pub fn max_geometry_input_components(mut self, max_geometry_input_components: u32) -> Self { in max_geometry_input_components()
8666 pub fn max_geometry_output_components(mut self, max_geometry_output_components: u32) -> Self { in max_geometry_output_components()
8670 pub fn max_geometry_output_vertices(mut self, max_geometry_output_vertices: u32) -> Self { in max_geometry_output_vertices()
8677 ) -> Self { in max_geometry_total_output_components()
8681 pub fn max_fragment_input_components(mut self, max_fragment_input_components: u32) -> Self { in max_fragment_input_components()
8685 pub fn max_fragment_output_attachments(mut self, max_fragment_output_attachments: u32) -> Self { in max_fragment_output_attachments()
8692 ) -> Self { in max_fragment_dual_src_attachments()
8699 ) -> Self { in max_fragment_combined_output_resources()
8703 pub fn max_compute_shared_memory_size(mut self, max_compute_shared_memory_size: u32) -> Self { in max_compute_shared_memory_size()
8707 pub fn max_compute_work_group_count(mut self, max_compute_work_group_count: [u32; 3]) -> Self { in max_compute_work_group_count()
8714 ) -> Self { in max_compute_work_group_invocations()
8718 pub fn max_compute_work_group_size(mut self, max_compute_work_group_size: [u32; 3]) -> Self { in max_compute_work_group_size()
8722 pub fn sub_pixel_precision_bits(mut self, sub_pixel_precision_bits: u32) -> Self { in sub_pixel_precision_bits()
8726 pub fn sub_texel_precision_bits(mut self, sub_texel_precision_bits: u32) -> Self { in sub_texel_precision_bits()
8730 pub fn mipmap_precision_bits(mut self, mipmap_precision_bits: u32) -> Self { in mipmap_precision_bits()
8734 pub fn max_draw_indexed_index_value(mut self, max_draw_indexed_index_value: u32) -> Self { in max_draw_indexed_index_value()
8738 pub fn max_draw_indirect_count(mut self, max_draw_indirect_count: u32) -> Self { in max_draw_indirect_count()
8742 pub fn max_sampler_lod_bias(mut self, max_sampler_lod_bias: f32) -> Self { in max_sampler_lod_bias()
8746 pub fn max_sampler_anisotropy(mut self, max_sampler_anisotropy: f32) -> Self { in max_sampler_anisotropy()
8750 pub fn max_viewports(mut self, max_viewports: u32) -> Self { in max_viewports()
8754 pub fn max_viewport_dimensions(mut self, max_viewport_dimensions: [u32; 2]) -> Self { in max_viewport_dimensions()
8758 pub fn viewport_bounds_range(mut self, viewport_bounds_range: [f32; 2]) -> Self { in viewport_bounds_range()
8762 pub fn viewport_sub_pixel_bits(mut self, viewport_sub_pixel_bits: u32) -> Self { in viewport_sub_pixel_bits()
8766 pub fn min_memory_map_alignment(mut self, min_memory_map_alignment: usize) -> Self { in min_memory_map_alignment()
8773 ) -> Self { in min_texel_buffer_offset_alignment()
8780 ) -> Self { in min_uniform_buffer_offset_alignment()
8787 ) -> Self { in min_storage_buffer_offset_alignment()
8791 pub fn min_texel_offset(mut self, min_texel_offset: i32) -> Self { in min_texel_offset()
8795 pub fn max_texel_offset(mut self, max_texel_offset: u32) -> Self { in max_texel_offset()
8799 pub fn min_texel_gather_offset(mut self, min_texel_gather_offset: i32) -> Self { in min_texel_gather_offset()
8803 pub fn max_texel_gather_offset(mut self, max_texel_gather_offset: u32) -> Self { in max_texel_gather_offset()
8807 pub fn min_interpolation_offset(mut self, min_interpolation_offset: f32) -> Self { in min_interpolation_offset()
8811 pub fn max_interpolation_offset(mut self, max_interpolation_offset: f32) -> Self { in max_interpolation_offset()
8818 ) -> Self { in sub_pixel_interpolation_offset_bits()
8822 pub fn max_framebuffer_width(mut self, max_framebuffer_width: u32) -> Self { in max_framebuffer_width()
8826 pub fn max_framebuffer_height(mut self, max_framebuffer_height: u32) -> Self { in max_framebuffer_height()
8830 pub fn max_framebuffer_layers(mut self, max_framebuffer_layers: u32) -> Self { in max_framebuffer_layers()
8837 ) -> Self { in framebuffer_color_sample_counts()
8844 ) -> Self { in framebuffer_depth_sample_counts()
8851 ) -> Self { in framebuffer_stencil_sample_counts()
8858 ) -> Self { in framebuffer_no_attachments_sample_counts()
8863 pub fn max_color_attachments(mut self, max_color_attachments: u32) -> Self { in max_color_attachments()
8870 ) -> Self { in sampled_image_color_sample_counts()
8877 ) -> Self { in sampled_image_integer_sample_counts()
8884 ) -> Self { in sampled_image_depth_sample_counts()
8891 ) -> Self { in sampled_image_stencil_sample_counts()
8898 ) -> Self { in storage_image_sample_counts()
8902 pub fn max_sample_mask_words(mut self, max_sample_mask_words: u32) -> Self { in max_sample_mask_words()
8906 pub fn timestamp_compute_and_graphics(mut self, timestamp_compute_and_graphics: bool) -> Self { in timestamp_compute_and_graphics()
8910 pub fn timestamp_period(mut self, timestamp_period: f32) -> Self { in timestamp_period()
8914 pub fn max_clip_distances(mut self, max_clip_distances: u32) -> Self { in max_clip_distances()
8918 pub fn max_cull_distances(mut self, max_cull_distances: u32) -> Self { in max_cull_distances()
8925 ) -> Self { in max_combined_clip_and_cull_distances()
8929 pub fn discrete_queue_priorities(mut self, discrete_queue_priorities: u32) -> Self { in discrete_queue_priorities()
8933 pub fn point_size_range(mut self, point_size_range: [f32; 2]) -> Self { in point_size_range()
8937 pub fn line_width_range(mut self, line_width_range: [f32; 2]) -> Self { in line_width_range()
8941 pub fn point_size_granularity(mut self, point_size_granularity: f32) -> Self { in point_size_granularity()
8945 pub fn line_width_granularity(mut self, line_width_granularity: f32) -> Self { in line_width_granularity()
8949 pub fn strict_lines(mut self, strict_lines: bool) -> Self { in strict_lines()
8953 pub fn standard_sample_locations(mut self, standard_sample_locations: bool) -> Self { in standard_sample_locations()
8960 ) -> Self { in optimal_buffer_copy_offset_alignment()
8967 ) -> Self { in optimal_buffer_copy_row_pitch_alignment()
8972 pub fn non_coherent_atom_size(mut self, non_coherent_atom_size: DeviceSize) -> Self { in non_coherent_atom_size()
8976 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
8979 pub fn build(self) -> PhysicalDeviceLimits { in build() method
8985 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSemaphoreCreateIn…
8991 impl ::std::default::Default for SemaphoreCreateInfo {
8992 fn default() -> SemaphoreCreateInfo { in default()
8995 p_next: ::std::ptr::null(), in default()
9001 pub fn builder<'a>() -> SemaphoreCreateInfoBuilder<'a> { in builder()
9004 marker: ::std::marker::PhantomData, in builder()
9011 marker: ::std::marker::PhantomData<&'a ()>,
9014 impl<'a> ::std::ops::Deref for SemaphoreCreateInfoBuilder<'a> {
9016 fn deref(&self) -> &Self::Target { in deref()
9020 impl<'a> ::std::ops::DerefMut for SemaphoreCreateInfoBuilder<'a> {
9021 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
9026 pub fn flags(mut self, flags: SemaphoreCreateFlags) -> Self { in flags()
9033 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
9034 #[doc = r" chain will look like `A -> D -> B -> C`."]
9035 pub fn push_next<T: ExtendsSemaphoreCreateInfo>(mut self, next: &'a mut T) -> Self { in push_next()
9044 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
9047 pub fn build(self) -> SemaphoreCreateInfo { in build() method
9053 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkQueryPoolCreateIn…
9062 impl ::std::default::Default for QueryPoolCreateInfo {
9063 fn default() -> QueryPoolCreateInfo { in default()
9066 p_next: ::std::ptr::null(), in default()
9075 pub fn builder<'a>() -> QueryPoolCreateInfoBuilder<'a> { in builder()
9078 marker: ::std::marker::PhantomData, in builder()
9085 marker: ::std::marker::PhantomData<&'a ()>,
9088 impl<'a> ::std::ops::Deref for QueryPoolCreateInfoBuilder<'a> {
9090 fn deref(&self) -> &Self::Target { in deref()
9094 impl<'a> ::std::ops::DerefMut for QueryPoolCreateInfoBuilder<'a> {
9095 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
9100 pub fn flags(mut self, flags: QueryPoolCreateFlags) -> Self { in flags()
9104 pub fn query_type(mut self, query_type: QueryType) -> Self { in query_type()
9108 pub fn query_count(mut self, query_count: u32) -> Self { in query_count()
9112 pub fn pipeline_statistics(mut self, pipeline_statistics: QueryPipelineStatisticFlags) -> Self { in pipeline_statistics()
9119 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
9120 #[doc = r" chain will look like `A -> D -> B -> C`."]
9121 pub fn push_next<T: ExtendsQueryPoolCreateInfo>(mut self, next: &'a mut T) -> Self { in push_next()
9130 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
9133 pub fn build(self) -> QueryPoolCreateInfo { in build() method
9139 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkFramebufferCreate…
9151 impl ::std::default::Default for FramebufferCreateInfo {
9152 fn default() -> FramebufferCreateInfo { in default()
9155 p_next: ::std::ptr::null(), in default()
9159 p_attachments: ::std::ptr::null(), in default()
9167 pub fn builder<'a>() -> FramebufferCreateInfoBuilder<'a> { in builder()
9170 marker: ::std::marker::PhantomData, in builder()
9177 marker: ::std::marker::PhantomData<&'a ()>,
9180 impl<'a> ::std::ops::Deref for FramebufferCreateInfoBuilder<'a> {
9182 fn deref(&self) -> &Self::Target { in deref()
9186 impl<'a> ::std::ops::DerefMut for FramebufferCreateInfoBuilder<'a> {
9187 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
9192 pub fn flags(mut self, flags: FramebufferCreateFlags) -> Self { in flags()
9196 pub fn render_pass(mut self, render_pass: RenderPass) -> Self { in render_pass()
9200 pub fn attachments(mut self, attachments: &'a [ImageView]) -> Self { in attachments()
9205 pub fn width(mut self, width: u32) -> Self { in width()
9209 pub fn height(mut self, height: u32) -> Self { in height()
9213 pub fn layers(mut self, layers: u32) -> Self { in layers()
9220 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
9221 #[doc = r" chain will look like `A -> D -> B -> C`."]
9222 pub fn push_next<T: ExtendsFramebufferCreateInfo>(mut self, next: &'a mut T) -> Self { in push_next()
9231 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
9234 pub fn build(self) -> FramebufferCreateInfo { in build() method
9240 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDrawIndirectComma…
9248 pub fn builder<'a>() -> DrawIndirectCommandBuilder<'a> { in builder()
9251 marker: ::std::marker::PhantomData, in builder()
9258 marker: ::std::marker::PhantomData<&'a ()>,
9260 impl<'a> ::std::ops::Deref for DrawIndirectCommandBuilder<'a> {
9262 fn deref(&self) -> &Self::Target { in deref()
9266 impl<'a> ::std::ops::DerefMut for DrawIndirectCommandBuilder<'a> {
9267 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
9272 pub fn vertex_count(mut self, vertex_count: u32) -> Self { in vertex_count()
9276 pub fn instance_count(mut self, instance_count: u32) -> Self { in instance_count()
9280 pub fn first_vertex(mut self, first_vertex: u32) -> Self { in first_vertex()
9284 pub fn first_instance(mut self, first_instance: u32) -> Self { in first_instance()
9288 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
9291 pub fn build(self) -> DrawIndirectCommand { in build() method
9297 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDrawIndexedIndire…
9306 pub fn builder<'a>() -> DrawIndexedIndirectCommandBuilder<'a> { in builder()
9309 marker: ::std::marker::PhantomData, in builder()
9316 marker: ::std::marker::PhantomData<&'a ()>,
9318 impl<'a> ::std::ops::Deref for DrawIndexedIndirectCommandBuilder<'a> {
9320 fn deref(&self) -> &Self::Target { in deref()
9324 impl<'a> ::std::ops::DerefMut for DrawIndexedIndirectCommandBuilder<'a> {
9325 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
9330 pub fn index_count(mut self, index_count: u32) -> Self { in index_count()
9334 pub fn instance_count(mut self, instance_count: u32) -> Self { in instance_count()
9338 pub fn first_index(mut self, first_index: u32) -> Self { in first_index()
9342 pub fn vertex_offset(mut self, vertex_offset: i32) -> Self { in vertex_offset()
9346 pub fn first_instance(mut self, first_instance: u32) -> Self { in first_instance()
9350 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
9353 pub fn build(self) -> DrawIndexedIndirectCommand { in build() method
9359 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDispatchIndirectC…
9366 pub fn builder<'a>() -> DispatchIndirectCommandBuilder<'a> { in builder()
9369 marker: ::std::marker::PhantomData, in builder()
9376 marker: ::std::marker::PhantomData<&'a ()>,
9378 impl<'a> ::std::ops::Deref for DispatchIndirectCommandBuilder<'a> {
9380 fn deref(&self) -> &Self::Target { in deref()
9384 impl<'a> ::std::ops::DerefMut for DispatchIndirectCommandBuilder<'a> {
9385 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
9390 pub fn x(mut self, x: u32) -> Self { in x()
9394 pub fn y(mut self, y: u32) -> Self { in y()
9398 pub fn z(mut self, z: u32) -> Self { in z()
9402 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
9405 pub fn build(self) -> DispatchIndirectCommand { in build() method
9411 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMultiDrawInfoEXT.…
9417 pub fn builder<'a>() -> MultiDrawInfoEXTBuilder<'a> { in builder()
9420 marker: ::std::marker::PhantomData, in builder()
9427 marker: ::std::marker::PhantomData<&'a ()>,
9429 impl<'a> ::std::ops::Deref for MultiDrawInfoEXTBuilder<'a> {
9431 fn deref(&self) -> &Self::Target { in deref()
9435 impl<'a> ::std::ops::DerefMut for MultiDrawInfoEXTBuilder<'a> {
9436 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
9441 pub fn first_vertex(mut self, first_vertex: u32) -> Self { in first_vertex()
9445 pub fn vertex_count(mut self, vertex_count: u32) -> Self { in vertex_count()
9449 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
9452 pub fn build(self) -> MultiDrawInfoEXT { in build() method
9458 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMultiDrawIndexedI…
9465 pub fn builder<'a>() -> MultiDrawIndexedInfoEXTBuilder<'a> { in builder()
9468 marker: ::std::marker::PhantomData, in builder()
9475 marker: ::std::marker::PhantomData<&'a ()>,
9477 impl<'a> ::std::ops::Deref for MultiDrawIndexedInfoEXTBuilder<'a> {
9479 fn deref(&self) -> &Self::Target { in deref()
9483 impl<'a> ::std::ops::DerefMut for MultiDrawIndexedInfoEXTBuilder<'a> {
9484 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
9489 pub fn first_index(mut self, first_index: u32) -> Self { in first_index()
9493 pub fn index_count(mut self, index_count: u32) -> Self { in index_count()
9497 pub fn vertex_offset(mut self, vertex_offset: i32) -> Self { in vertex_offset()
9501 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
9504 pub fn build(self) -> MultiDrawIndexedInfoEXT { in build() method
9510 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSubmitInfo.html>"]
9522 impl ::std::default::Default for SubmitInfo {
9523 fn default() -> SubmitInfo { in default()
9526 p_next: ::std::ptr::null(), in default()
9528 p_wait_semaphores: ::std::ptr::null(), in default()
9529 p_wait_dst_stage_mask: ::std::ptr::null(), in default()
9531 p_command_buffers: ::std::ptr::null(), in default()
9533 p_signal_semaphores: ::std::ptr::null(), in default()
9538 pub fn builder<'a>() -> SubmitInfoBuilder<'a> { in builder()
9541 marker: ::std::marker::PhantomData, in builder()
9548 marker: ::std::marker::PhantomData<&'a ()>,
9551 impl<'a> ::std::ops::Deref for SubmitInfoBuilder<'a> {
9553 fn deref(&self) -> &Self::Target { in deref()
9557 impl<'a> ::std::ops::DerefMut for SubmitInfoBuilder<'a> {
9558 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
9563 pub fn wait_semaphores(mut self, wait_semaphores: &'a [Semaphore]) -> Self { in wait_semaphores()
9568 pub fn wait_dst_stage_mask(mut self, wait_dst_stage_mask: &'a [PipelineStageFlags]) -> Self { in wait_dst_stage_mask()
9573 pub fn command_buffers(mut self, command_buffers: &'a [CommandBuffer]) -> Self { in command_buffers()
9578 pub fn signal_semaphores(mut self, signal_semaphores: &'a [Semaphore]) -> Self { in signal_semaphores()
9586 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
9587 #[doc = r" chain will look like `A -> D -> B -> C`."]
9588 pub fn push_next<T: ExtendsSubmitInfo>(mut self, next: &'a mut T) -> Self { in push_next()
9597 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
9600 pub fn build(self) -> SubmitInfo { in build() method
9606 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDisplayProperties…
9616 impl ::std::default::Default for DisplayPropertiesKHR {
9617 fn default() -> DisplayPropertiesKHR { in default()
9620 display_name: ::std::ptr::null(), in default()
9630 pub fn builder<'a>() -> DisplayPropertiesKHRBuilder<'a> { in builder()
9633 marker: ::std::marker::PhantomData, in builder()
9640 marker: ::std::marker::PhantomData<&'a ()>,
9642 impl<'a> ::std::ops::Deref for DisplayPropertiesKHRBuilder<'a> {
9644 fn deref(&self) -> &Self::Target { in deref()
9648 impl<'a> ::std::ops::DerefMut for DisplayPropertiesKHRBuilder<'a> {
9649 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
9654 pub fn display(mut self, display: DisplayKHR) -> Self { in display()
9658 pub fn display_name(mut self, display_name: &'a ::std::ffi::CStr) -> Self { in display_name()
9662 pub fn physical_dimensions(mut self, physical_dimensions: Extent2D) -> Self { in physical_dimensions()
9666 pub fn physical_resolution(mut self, physical_resolution: Extent2D) -> Self { in physical_resolution()
9670 pub fn supported_transforms(mut self, supported_transforms: SurfaceTransformFlagsKHR) -> Self { in supported_transforms()
9674 pub fn plane_reorder_possible(mut self, plane_reorder_possible: bool) -> Self { in plane_reorder_possible()
9678 pub fn persistent_content(mut self, persistent_content: bool) -> Self { in persistent_content()
9682 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
9685 pub fn build(self) -> DisplayPropertiesKHR { in build() method
9691 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDisplayPlanePrope…
9697 pub fn builder<'a>() -> DisplayPlanePropertiesKHRBuilder<'a> { in builder()
9700 marker: ::std::marker::PhantomData, in builder()
9707 marker: ::std::marker::PhantomData<&'a ()>,
9709 impl<'a> ::std::ops::Deref for DisplayPlanePropertiesKHRBuilder<'a> {
9711 fn deref(&self) -> &Self::Target { in deref()
9715 impl<'a> ::std::ops::DerefMut for DisplayPlanePropertiesKHRBuilder<'a> {
9716 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
9721 pub fn current_display(mut self, current_display: DisplayKHR) -> Self { in current_display()
9725 pub fn current_stack_index(mut self, current_stack_index: u32) -> Self { in current_stack_index()
9729 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
9732 pub fn build(self) -> DisplayPlanePropertiesKHR { in build() method
9738 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDisplayModeParame…
9744 pub fn builder<'a>() -> DisplayModeParametersKHRBuilder<'a> { in builder()
9747 marker: ::std::marker::PhantomData, in builder()
9754 marker: ::std::marker::PhantomData<&'a ()>,
9756 impl<'a> ::std::ops::Deref for DisplayModeParametersKHRBuilder<'a> {
9758 fn deref(&self) -> &Self::Target { in deref()
9762 impl<'a> ::std::ops::DerefMut for DisplayModeParametersKHRBuilder<'a> {
9763 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
9768 pub fn visible_region(mut self, visible_region: Extent2D) -> Self { in visible_region()
9772 pub fn refresh_rate(mut self, refresh_rate: u32) -> Self { in refresh_rate()
9776 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
9779 pub fn build(self) -> DisplayModeParametersKHR { in build() method
9785 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDisplayModeProper…
9791 pub fn builder<'a>() -> DisplayModePropertiesKHRBuilder<'a> { in builder()
9794 marker: ::std::marker::PhantomData, in builder()
9801 marker: ::std::marker::PhantomData<&'a ()>,
9803 impl<'a> ::std::ops::Deref for DisplayModePropertiesKHRBuilder<'a> {
9805 fn deref(&self) -> &Self::Target { in deref()
9809 impl<'a> ::std::ops::DerefMut for DisplayModePropertiesKHRBuilder<'a> {
9810 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
9815 pub fn display_mode(mut self, display_mode: DisplayModeKHR) -> Self { in display_mode()
9819 pub fn parameters(mut self, parameters: DisplayModeParametersKHR) -> Self { in parameters()
9823 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
9826 pub fn build(self) -> DisplayModePropertiesKHR { in build() method
9832 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDisplayModeCreate…
9839 impl ::std::default::Default for DisplayModeCreateInfoKHR {
9840 fn default() -> DisplayModeCreateInfoKHR { in default()
9843 p_next: ::std::ptr::null(), in default()
9850 pub fn builder<'a>() -> DisplayModeCreateInfoKHRBuilder<'a> { in builder()
9853 marker: ::std::marker::PhantomData, in builder()
9860 marker: ::std::marker::PhantomData<&'a ()>,
9862 impl<'a> ::std::ops::Deref for DisplayModeCreateInfoKHRBuilder<'a> {
9864 fn deref(&self) -> &Self::Target { in deref()
9868 impl<'a> ::std::ops::DerefMut for DisplayModeCreateInfoKHRBuilder<'a> {
9869 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
9874 pub fn flags(mut self, flags: DisplayModeCreateFlagsKHR) -> Self { in flags()
9878 pub fn parameters(mut self, parameters: DisplayModeParametersKHR) -> Self { in parameters()
9882 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
9885 pub fn build(self) -> DisplayModeCreateInfoKHR { in build() method
9891 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDisplayPlaneCapab…
9904 pub fn builder<'a>() -> DisplayPlaneCapabilitiesKHRBuilder<'a> { in builder()
9907 marker: ::std::marker::PhantomData, in builder()
9914 marker: ::std::marker::PhantomData<&'a ()>,
9916 impl<'a> ::std::ops::Deref for DisplayPlaneCapabilitiesKHRBuilder<'a> {
9918 fn deref(&self) -> &Self::Target { in deref()
9922 impl<'a> ::std::ops::DerefMut for DisplayPlaneCapabilitiesKHRBuilder<'a> {
9923 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
9928 pub fn supported_alpha(mut self, supported_alpha: DisplayPlaneAlphaFlagsKHR) -> Self { in supported_alpha()
9932 pub fn min_src_position(mut self, min_src_position: Offset2D) -> Self { in min_src_position()
9936 pub fn max_src_position(mut self, max_src_position: Offset2D) -> Self { in max_src_position()
9940 pub fn min_src_extent(mut self, min_src_extent: Extent2D) -> Self { in min_src_extent()
9944 pub fn max_src_extent(mut self, max_src_extent: Extent2D) -> Self { in max_src_extent()
9948 pub fn min_dst_position(mut self, min_dst_position: Offset2D) -> Self { in min_dst_position()
9952 pub fn max_dst_position(mut self, max_dst_position: Offset2D) -> Self { in max_dst_position()
9956 pub fn min_dst_extent(mut self, min_dst_extent: Extent2D) -> Self { in min_dst_extent()
9960 pub fn max_dst_extent(mut self, max_dst_extent: Extent2D) -> Self { in max_dst_extent()
9964 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
9967 pub fn build(self) -> DisplayPlaneCapabilitiesKHR { in build() method
9973 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDisplaySurfaceCre…
9986 impl ::std::default::Default for DisplaySurfaceCreateInfoKHR {
9987 fn default() -> DisplaySurfaceCreateInfoKHR { in default()
9990 p_next: ::std::ptr::null(), in default()
10003 pub fn builder<'a>() -> DisplaySurfaceCreateInfoKHRBuilder<'a> { in builder()
10006 marker: ::std::marker::PhantomData, in builder()
10013 marker: ::std::marker::PhantomData<&'a ()>,
10015 impl<'a> ::std::ops::Deref for DisplaySurfaceCreateInfoKHRBuilder<'a> {
10017 fn deref(&self) -> &Self::Target { in deref()
10021 impl<'a> ::std::ops::DerefMut for DisplaySurfaceCreateInfoKHRBuilder<'a> {
10022 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
10027 pub fn flags(mut self, flags: DisplaySurfaceCreateFlagsKHR) -> Self { in flags()
10031 pub fn display_mode(mut self, display_mode: DisplayModeKHR) -> Self { in display_mode()
10035 pub fn plane_index(mut self, plane_index: u32) -> Self { in plane_index()
10039 pub fn plane_stack_index(mut self, plane_stack_index: u32) -> Self { in plane_stack_index()
10043 pub fn transform(mut self, transform: SurfaceTransformFlagsKHR) -> Self { in transform()
10047 pub fn global_alpha(mut self, global_alpha: f32) -> Self { in global_alpha()
10051 pub fn alpha_mode(mut self, alpha_mode: DisplayPlaneAlphaFlagsKHR) -> Self { in alpha_mode()
10055 pub fn image_extent(mut self, image_extent: Extent2D) -> Self { in image_extent()
10059 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
10062 pub fn build(self) -> DisplaySurfaceCreateInfoKHR { in build() method
10068 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDisplayPresentInf…
10076 impl ::std::default::Default for DisplayPresentInfoKHR {
10077 fn default() -> DisplayPresentInfoKHR { in default()
10080 p_next: ::std::ptr::null(), in default()
10088 pub fn builder<'a>() -> DisplayPresentInfoKHRBuilder<'a> { in builder()
10091 marker: ::std::marker::PhantomData, in builder()
10098 marker: ::std::marker::PhantomData<&'a ()>,
10102 impl<'a> ::std::ops::Deref for DisplayPresentInfoKHRBuilder<'a> {
10104 fn deref(&self) -> &Self::Target { in deref()
10108 impl<'a> ::std::ops::DerefMut for DisplayPresentInfoKHRBuilder<'a> {
10109 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
10114 pub fn src_rect(mut self, src_rect: Rect2D) -> Self { in src_rect()
10118 pub fn dst_rect(mut self, dst_rect: Rect2D) -> Self { in dst_rect()
10122 pub fn persistent(mut self, persistent: bool) -> Self { in persistent()
10126 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
10129 pub fn build(self) -> DisplayPresentInfoKHR { in build() method
10135 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSurfaceCapabiliti…
10149 pub fn builder<'a>() -> SurfaceCapabilitiesKHRBuilder<'a> { in builder()
10152 marker: ::std::marker::PhantomData, in builder()
10159 marker: ::std::marker::PhantomData<&'a ()>,
10161 impl<'a> ::std::ops::Deref for SurfaceCapabilitiesKHRBuilder<'a> {
10163 fn deref(&self) -> &Self::Target { in deref()
10167 impl<'a> ::std::ops::DerefMut for SurfaceCapabilitiesKHRBuilder<'a> {
10168 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
10173 pub fn min_image_count(mut self, min_image_count: u32) -> Self { in min_image_count()
10177 pub fn max_image_count(mut self, max_image_count: u32) -> Self { in max_image_count()
10181 pub fn current_extent(mut self, current_extent: Extent2D) -> Self { in current_extent()
10185 pub fn min_image_extent(mut self, min_image_extent: Extent2D) -> Self { in min_image_extent()
10189 pub fn max_image_extent(mut self, max_image_extent: Extent2D) -> Self { in max_image_extent()
10193 pub fn max_image_array_layers(mut self, max_image_array_layers: u32) -> Self { in max_image_array_layers()
10197 pub fn supported_transforms(mut self, supported_transforms: SurfaceTransformFlagsKHR) -> Self { in supported_transforms()
10201 pub fn current_transform(mut self, current_transform: SurfaceTransformFlagsKHR) -> Self { in current_transform()
10208 ) -> Self { in supported_composite_alpha()
10212 pub fn supported_usage_flags(mut self, supported_usage_flags: ImageUsageFlags) -> Self { in supported_usage_flags()
10216 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
10219 pub fn build(self) -> SurfaceCapabilitiesKHR { in build() method
10225 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAndroidSurfaceCre…
10232 impl ::std::default::Default for AndroidSurfaceCreateInfoKHR {
10233 fn default() -> AndroidSurfaceCreateInfoKHR { in default()
10236 p_next: ::std::ptr::null(), in default()
10238 window: ::std::ptr::null_mut(), in default()
10243 pub fn builder<'a>() -> AndroidSurfaceCreateInfoKHRBuilder<'a> { in builder()
10246 marker: ::std::marker::PhantomData, in builder()
10253 marker: ::std::marker::PhantomData<&'a ()>,
10255 impl<'a> ::std::ops::Deref for AndroidSurfaceCreateInfoKHRBuilder<'a> {
10257 fn deref(&self) -> &Self::Target { in deref()
10261 impl<'a> ::std::ops::DerefMut for AndroidSurfaceCreateInfoKHRBuilder<'a> {
10262 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
10267 pub fn flags(mut self, flags: AndroidSurfaceCreateFlagsKHR) -> Self { in flags()
10271 pub fn window(mut self, window: *mut ANativeWindow) -> Self { in window()
10275 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
10278 pub fn build(self) -> AndroidSurfaceCreateInfoKHR { in build() method
10284 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkViSurfaceCreateIn…
10291 impl ::std::default::Default for ViSurfaceCreateInfoNN {
10292 fn default() -> ViSurfaceCreateInfoNN { in default()
10295 p_next: ::std::ptr::null(), in default()
10297 window: ::std::ptr::null_mut(), in default()
10302 pub fn builder<'a>() -> ViSurfaceCreateInfoNNBuilder<'a> { in builder()
10305 marker: ::std::marker::PhantomData, in builder()
10312 marker: ::std::marker::PhantomData<&'a ()>,
10314 impl<'a> ::std::ops::Deref for ViSurfaceCreateInfoNNBuilder<'a> {
10316 fn deref(&self) -> &Self::Target { in deref()
10320 impl<'a> ::std::ops::DerefMut for ViSurfaceCreateInfoNNBuilder<'a> {
10321 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
10326 pub fn flags(mut self, flags: ViSurfaceCreateFlagsNN) -> Self { in flags()
10330 pub fn window(mut self, window: *mut c_void) -> Self { in window()
10334 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
10337 pub fn build(self) -> ViSurfaceCreateInfoNN { in build() method
10343 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkWaylandSurfaceCre…
10351 impl ::std::default::Default for WaylandSurfaceCreateInfoKHR {
10352 fn default() -> WaylandSurfaceCreateInfoKHR { in default()
10355 p_next: ::std::ptr::null(), in default()
10357 display: ::std::ptr::null_mut(), in default()
10358 surface: ::std::ptr::null_mut(), in default()
10363 pub fn builder<'a>() -> WaylandSurfaceCreateInfoKHRBuilder<'a> { in builder()
10366 marker: ::std::marker::PhantomData, in builder()
10373 marker: ::std::marker::PhantomData<&'a ()>,
10375 impl<'a> ::std::ops::Deref for WaylandSurfaceCreateInfoKHRBuilder<'a> {
10377 fn deref(&self) -> &Self::Target { in deref()
10381 impl<'a> ::std::ops::DerefMut for WaylandSurfaceCreateInfoKHRBuilder<'a> {
10382 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
10387 pub fn flags(mut self, flags: WaylandSurfaceCreateFlagsKHR) -> Self { in flags()
10391 pub fn display(mut self, display: *mut wl_display) -> Self { in display()
10395 pub fn surface(mut self, surface: *mut wl_surface) -> Self { in surface()
10399 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
10402 pub fn build(self) -> WaylandSurfaceCreateInfoKHR { in build() method
10408 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkWin32SurfaceCreat…
10416 impl ::std::default::Default for Win32SurfaceCreateInfoKHR {
10417 fn default() -> Win32SurfaceCreateInfoKHR { in default()
10420 p_next: ::std::ptr::null(), in default()
10422 hinstance: unsafe { ::std::mem::zeroed() }, in default()
10423 hwnd: unsafe { ::std::mem::zeroed() }, in default()
10428 pub fn builder<'a>() -> Win32SurfaceCreateInfoKHRBuilder<'a> { in builder()
10431 marker: ::std::marker::PhantomData, in builder()
10438 marker: ::std::marker::PhantomData<&'a ()>,
10440 impl<'a> ::std::ops::Deref for Win32SurfaceCreateInfoKHRBuilder<'a> {
10442 fn deref(&self) -> &Self::Target { in deref()
10446 impl<'a> ::std::ops::DerefMut for Win32SurfaceCreateInfoKHRBuilder<'a> {
10447 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
10452 pub fn flags(mut self, flags: Win32SurfaceCreateFlagsKHR) -> Self { in flags()
10456 pub fn hinstance(mut self, hinstance: HINSTANCE) -> Self { in hinstance()
10460 pub fn hwnd(mut self, hwnd: HWND) -> Self { in hwnd()
10464 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
10467 pub fn build(self) -> Win32SurfaceCreateInfoKHR { in build() method
10473 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkXlibSurfaceCreate…
10481 impl ::std::default::Default for XlibSurfaceCreateInfoKHR {
10482 fn default() -> XlibSurfaceCreateInfoKHR { in default()
10485 p_next: ::std::ptr::null(), in default()
10487 dpy: ::std::ptr::null_mut(), in default()
10493 pub fn builder<'a>() -> XlibSurfaceCreateInfoKHRBuilder<'a> { in builder()
10496 marker: ::std::marker::PhantomData, in builder()
10503 marker: ::std::marker::PhantomData<&'a ()>,
10505 impl<'a> ::std::ops::Deref for XlibSurfaceCreateInfoKHRBuilder<'a> {
10507 fn deref(&self) -> &Self::Target { in deref()
10511 impl<'a> ::std::ops::DerefMut for XlibSurfaceCreateInfoKHRBuilder<'a> {
10512 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
10517 pub fn flags(mut self, flags: XlibSurfaceCreateFlagsKHR) -> Self { in flags()
10521 pub fn dpy(mut self, dpy: *mut Display) -> Self { in dpy()
10525 pub fn window(mut self, window: Window) -> Self { in window()
10529 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
10532 pub fn build(self) -> XlibSurfaceCreateInfoKHR { in build() method
10538 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkXcbSurfaceCreateI…
10546 impl ::std::default::Default for XcbSurfaceCreateInfoKHR {
10547 fn default() -> XcbSurfaceCreateInfoKHR { in default()
10550 p_next: ::std::ptr::null(), in default()
10552 connection: ::std::ptr::null_mut(), in default()
10558 pub fn builder<'a>() -> XcbSurfaceCreateInfoKHRBuilder<'a> { in builder()
10561 marker: ::std::marker::PhantomData, in builder()
10568 marker: ::std::marker::PhantomData<&'a ()>,
10570 impl<'a> ::std::ops::Deref for XcbSurfaceCreateInfoKHRBuilder<'a> {
10572 fn deref(&self) -> &Self::Target { in deref()
10576 impl<'a> ::std::ops::DerefMut for XcbSurfaceCreateInfoKHRBuilder<'a> {
10577 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
10582 pub fn flags(mut self, flags: XcbSurfaceCreateFlagsKHR) -> Self { in flags()
10586 pub fn connection(mut self, connection: *mut xcb_connection_t) -> Self { in connection()
10590 pub fn window(mut self, window: xcb_window_t) -> Self { in window()
10594 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
10597 pub fn build(self) -> XcbSurfaceCreateInfoKHR { in build() method
10603 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDirectFBSurfaceCr…
10611 impl ::std::default::Default for DirectFBSurfaceCreateInfoEXT {
10612 fn default() -> DirectFBSurfaceCreateInfoEXT { in default()
10615 p_next: ::std::ptr::null(), in default()
10617 dfb: ::std::ptr::null_mut(), in default()
10618 surface: ::std::ptr::null_mut(), in default()
10623 pub fn builder<'a>() -> DirectFBSurfaceCreateInfoEXTBuilder<'a> { in builder()
10626 marker: ::std::marker::PhantomData, in builder()
10633 marker: ::std::marker::PhantomData<&'a ()>,
10635 impl<'a> ::std::ops::Deref for DirectFBSurfaceCreateInfoEXTBuilder<'a> {
10637 fn deref(&self) -> &Self::Target { in deref()
10641 impl<'a> ::std::ops::DerefMut for DirectFBSurfaceCreateInfoEXTBuilder<'a> {
10642 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
10647 pub fn flags(mut self, flags: DirectFBSurfaceCreateFlagsEXT) -> Self { in flags()
10651 pub fn dfb(mut self, dfb: *mut IDirectFB) -> Self { in dfb()
10655 pub fn surface(mut self, surface: *mut IDirectFBSurface) -> Self { in surface()
10659 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
10662 pub fn build(self) -> DirectFBSurfaceCreateInfoEXT { in build() method
10668 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImagePipeSurfaceC…
10675 impl ::std::default::Default for ImagePipeSurfaceCreateInfoFUCHSIA {
10676 fn default() -> ImagePipeSurfaceCreateInfoFUCHSIA { in default()
10679 p_next: ::std::ptr::null(), in default()
10686 pub fn builder<'a>() -> ImagePipeSurfaceCreateInfoFUCHSIABuilder<'a> { in builder()
10689 marker: ::std::marker::PhantomData, in builder()
10696 marker: ::std::marker::PhantomData<&'a ()>,
10698 impl<'a> ::std::ops::Deref for ImagePipeSurfaceCreateInfoFUCHSIABuilder<'a> {
10700 fn deref(&self) -> &Self::Target { in deref()
10704 impl<'a> ::std::ops::DerefMut for ImagePipeSurfaceCreateInfoFUCHSIABuilder<'a> {
10705 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
10710 pub fn flags(mut self, flags: ImagePipeSurfaceCreateFlagsFUCHSIA) -> Self { in flags()
10714 pub fn image_pipe_handle(mut self, image_pipe_handle: zx_handle_t) -> Self { in image_pipe_handle()
10718 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
10721 pub fn build(self) -> ImagePipeSurfaceCreateInfoFUCHSIA { in build() method
10727 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkStreamDescriptorS…
10734 impl ::std::default::Default for StreamDescriptorSurfaceCreateInfoGGP {
10735 fn default() -> StreamDescriptorSurfaceCreateInfoGGP { in default()
10738 p_next: ::std::ptr::null(), in default()
10745 pub fn builder<'a>() -> StreamDescriptorSurfaceCreateInfoGGPBuilder<'a> { in builder()
10748 marker: ::std::marker::PhantomData, in builder()
10755 marker: ::std::marker::PhantomData<&'a ()>,
10757 impl<'a> ::std::ops::Deref for StreamDescriptorSurfaceCreateInfoGGPBuilder<'a> {
10759 fn deref(&self) -> &Self::Target { in deref()
10763 impl<'a> ::std::ops::DerefMut for StreamDescriptorSurfaceCreateInfoGGPBuilder<'a> {
10764 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
10769 pub fn flags(mut self, flags: StreamDescriptorSurfaceCreateFlagsGGP) -> Self { in flags()
10773 pub fn stream_descriptor(mut self, stream_descriptor: GgpStreamDescriptor) -> Self { in stream_descriptor()
10777 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
10780 pub fn build(self) -> StreamDescriptorSurfaceCreateInfoGGP { in build() method
10786 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkScreenSurfaceCrea…
10794 impl ::std::default::Default for ScreenSurfaceCreateInfoQNX {
10795 fn default() -> ScreenSurfaceCreateInfoQNX { in default()
10798 p_next: ::std::ptr::null(), in default()
10800 context: ::std::ptr::null_mut(), in default()
10801 window: ::std::ptr::null_mut(), in default()
10806 pub fn builder<'a>() -> ScreenSurfaceCreateInfoQNXBuilder<'a> { in builder()
10809 marker: ::std::marker::PhantomData, in builder()
10816 marker: ::std::marker::PhantomData<&'a ()>,
10818 impl<'a> ::std::ops::Deref for ScreenSurfaceCreateInfoQNXBuilder<'a> {
10820 fn deref(&self) -> &Self::Target { in deref()
10824 impl<'a> ::std::ops::DerefMut for ScreenSurfaceCreateInfoQNXBuilder<'a> {
10825 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
10830 pub fn flags(mut self, flags: ScreenSurfaceCreateFlagsQNX) -> Self { in flags()
10834 pub fn context(mut self, context: &'a mut _screen_context) -> Self { in context()
10838 pub fn window(mut self, window: &'a mut _screen_window) -> Self { in window()
10842 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
10845 pub fn build(self) -> ScreenSurfaceCreateInfoQNX { in build() method
10851 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSurfaceFormatKHR.…
10857 pub fn builder<'a>() -> SurfaceFormatKHRBuilder<'a> { in builder()
10860 marker: ::std::marker::PhantomData, in builder()
10867 marker: ::std::marker::PhantomData<&'a ()>,
10869 impl<'a> ::std::ops::Deref for SurfaceFormatKHRBuilder<'a> {
10871 fn deref(&self) -> &Self::Target { in deref()
10875 impl<'a> ::std::ops::DerefMut for SurfaceFormatKHRBuilder<'a> {
10876 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
10881 pub fn format(mut self, format: Format) -> Self { in format()
10885 pub fn color_space(mut self, color_space: ColorSpaceKHR) -> Self { in color_space()
10889 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
10892 pub fn build(self) -> SurfaceFormatKHR { in build() method
10898 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSwapchainCreateIn…
10919 impl ::std::default::Default for SwapchainCreateInfoKHR {
10920 fn default() -> SwapchainCreateInfoKHR { in default()
10923 p_next: ::std::ptr::null(), in default()
10934 p_queue_family_indices: ::std::ptr::null(), in default()
10944 pub fn builder<'a>() -> SwapchainCreateInfoKHRBuilder<'a> { in builder()
10947 marker: ::std::marker::PhantomData, in builder()
10954 marker: ::std::marker::PhantomData<&'a ()>,
10957 impl<'a> ::std::ops::Deref for SwapchainCreateInfoKHRBuilder<'a> {
10959 fn deref(&self) -> &Self::Target { in deref()
10963 impl<'a> ::std::ops::DerefMut for SwapchainCreateInfoKHRBuilder<'a> {
10964 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
10969 pub fn flags(mut self, flags: SwapchainCreateFlagsKHR) -> Self { in flags()
10973 pub fn surface(mut self, surface: SurfaceKHR) -> Self { in surface()
10977 pub fn min_image_count(mut self, min_image_count: u32) -> Self { in min_image_count()
10981 pub fn image_format(mut self, image_format: Format) -> Self { in image_format()
10985 pub fn image_color_space(mut self, image_color_space: ColorSpaceKHR) -> Self { in image_color_space()
10989 pub fn image_extent(mut self, image_extent: Extent2D) -> Self { in image_extent()
10993 pub fn image_array_layers(mut self, image_array_layers: u32) -> Self { in image_array_layers()
10997 pub fn image_usage(mut self, image_usage: ImageUsageFlags) -> Self { in image_usage()
11001 pub fn image_sharing_mode(mut self, image_sharing_mode: SharingMode) -> Self { in image_sharing_mode()
11005 pub fn queue_family_indices(mut self, queue_family_indices: &'a [u32]) -> Self { in queue_family_indices()
11010 pub fn pre_transform(mut self, pre_transform: SurfaceTransformFlagsKHR) -> Self { in pre_transform()
11014 pub fn composite_alpha(mut self, composite_alpha: CompositeAlphaFlagsKHR) -> Self { in composite_alpha()
11018 pub fn present_mode(mut self, present_mode: PresentModeKHR) -> Self { in present_mode()
11022 pub fn clipped(mut self, clipped: bool) -> Self { in clipped()
11026 pub fn old_swapchain(mut self, old_swapchain: SwapchainKHR) -> Self { in old_swapchain()
11033 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
11034 #[doc = r" chain will look like `A -> D -> B -> C`."]
11035 pub fn push_next<T: ExtendsSwapchainCreateInfoKHR>(mut self, next: &'a mut T) -> Self { in push_next()
11044 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
11047 pub fn build(self) -> SwapchainCreateInfoKHR { in build() method
11053 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPresentInfoKHR.ht…
11064 impl ::std::default::Default for PresentInfoKHR {
11065 fn default() -> PresentInfoKHR { in default()
11068 p_next: ::std::ptr::null(), in default()
11070 p_wait_semaphores: ::std::ptr::null(), in default()
11072 p_swapchains: ::std::ptr::null(), in default()
11073 p_image_indices: ::std::ptr::null(), in default()
11074 p_results: ::std::ptr::null_mut(), in default()
11079 pub fn builder<'a>() -> PresentInfoKHRBuilder<'a> { in builder()
11082 marker: ::std::marker::PhantomData, in builder()
11089 marker: ::std::marker::PhantomData<&'a ()>,
11092 impl<'a> ::std::ops::Deref for PresentInfoKHRBuilder<'a> {
11094 fn deref(&self) -> &Self::Target { in deref()
11098 impl<'a> ::std::ops::DerefMut for PresentInfoKHRBuilder<'a> {
11099 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
11104 pub fn wait_semaphores(mut self, wait_semaphores: &'a [Semaphore]) -> Self { in wait_semaphores()
11109 pub fn swapchains(mut self, swapchains: &'a [SwapchainKHR]) -> Self { in swapchains()
11114 pub fn image_indices(mut self, image_indices: &'a [u32]) -> Self { in image_indices()
11119 pub fn results(mut self, results: &'a mut [Result]) -> Self { in results()
11127 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
11128 #[doc = r" chain will look like `A -> D -> B -> C`."]
11129 pub fn push_next<T: ExtendsPresentInfoKHR>(mut self, next: &'a mut T) -> Self { in push_next()
11138 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
11141 pub fn build(self) -> PresentInfoKHR { in build() method
11147 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDebugReportCallba…
11156 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
11166 impl ::std::default::Default for DebugReportCallbackCreateInfoEXT {
11167 fn default() -> DebugReportCallbackCreateInfoEXT { in default()
11170 p_next: ::std::ptr::null(), in default()
11173 p_user_data: ::std::ptr::null_mut(), in default()
11178 pub fn builder<'a>() -> DebugReportCallbackCreateInfoEXTBuilder<'a> { in builder()
11181 marker: ::std::marker::PhantomData, in builder()
11188 marker: ::std::marker::PhantomData<&'a ()>,
11192 impl<'a> ::std::ops::Deref for DebugReportCallbackCreateInfoEXTBuilder<'a> {
11194 fn deref(&self) -> &Self::Target { in deref()
11198 impl<'a> ::std::ops::DerefMut for DebugReportCallbackCreateInfoEXTBuilder<'a> {
11199 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
11204 pub fn flags(mut self, flags: DebugReportFlagsEXT) -> Self { in flags()
11208 pub fn pfn_callback(mut self, pfn_callback: PFN_vkDebugReportCallbackEXT) -> Self { in pfn_callback()
11212 pub fn user_data(mut self, user_data: *mut c_void) -> Self { in user_data()
11216 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
11219 pub fn build(self) -> DebugReportCallbackCreateInfoEXT { in build() method
11225 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkValidationFlagsEX…
11232 impl ::std::default::Default for ValidationFlagsEXT {
11233 fn default() -> ValidationFlagsEXT { in default()
11236 p_next: ::std::ptr::null(), in default()
11238 p_disabled_validation_checks: ::std::ptr::null(), in default()
11243 pub fn builder<'a>() -> ValidationFlagsEXTBuilder<'a> { in builder()
11246 marker: ::std::marker::PhantomData, in builder()
11253 marker: ::std::marker::PhantomData<&'a ()>,
11257 impl<'a> ::std::ops::Deref for ValidationFlagsEXTBuilder<'a> {
11259 fn deref(&self) -> &Self::Target { in deref()
11263 impl<'a> ::std::ops::DerefMut for ValidationFlagsEXTBuilder<'a> {
11264 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
11272 ) -> Self { in disabled_validation_checks()
11277 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
11280 pub fn build(self) -> ValidationFlagsEXT { in build() method
11286 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkValidationFeature…
11295 impl ::std::default::Default for ValidationFeaturesEXT {
11296 fn default() -> ValidationFeaturesEXT { in default()
11299 p_next: ::std::ptr::null(), in default()
11301 p_enabled_validation_features: ::std::ptr::null(), in default()
11303 p_disabled_validation_features: ::std::ptr::null(), in default()
11308 pub fn builder<'a>() -> ValidationFeaturesEXTBuilder<'a> { in builder()
11311 marker: ::std::marker::PhantomData, in builder()
11318 marker: ::std::marker::PhantomData<&'a ()>,
11322 impl<'a> ::std::ops::Deref for ValidationFeaturesEXTBuilder<'a> {
11324 fn deref(&self) -> &Self::Target { in deref()
11328 impl<'a> ::std::ops::DerefMut for ValidationFeaturesEXTBuilder<'a> {
11329 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
11337 ) -> Self { in enabled_validation_features()
11345 ) -> Self { in disabled_validation_features()
11350 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
11353 pub fn build(self) -> ValidationFeaturesEXT { in build() method
11359 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineRasteriza…
11365 impl ::std::default::Default for PipelineRasterizationStateRasterizationOrderAMD {
11366 fn default() -> PipelineRasterizationStateRasterizationOrderAMD { in default()
11369 p_next: ::std::ptr::null(), in default()
11375 pub fn builder<'a>() -> PipelineRasterizationStateRasterizationOrderAMDBuilder<'a> { in builder()
11378 marker: ::std::marker::PhantomData, in builder()
11385 marker: ::std::marker::PhantomData<&'a ()>,
11395 impl<'a> ::std::ops::Deref for PipelineRasterizationStateRasterizationOrderAMDBuilder<'a> {
11397 fn deref(&self) -> &Self::Target { in deref()
11401 impl<'a> ::std::ops::DerefMut for PipelineRasterizationStateRasterizationOrderAMDBuilder<'a> {
11402 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
11407 pub fn rasterization_order(mut self, rasterization_order: RasterizationOrderAMD) -> Self { in rasterization_order()
11411 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
11414 pub fn build(self) -> PipelineRasterizationStateRasterizationOrderAMD { in build() method
11420 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDebugMarkerObject…
11428 impl ::std::default::Default for DebugMarkerObjectNameInfoEXT {
11429 fn default() -> DebugMarkerObjectNameInfoEXT { in default()
11432 p_next: ::std::ptr::null(), in default()
11435 p_object_name: ::std::ptr::null(), in default()
11440 pub fn builder<'a>() -> DebugMarkerObjectNameInfoEXTBuilder<'a> { in builder()
11443 marker: ::std::marker::PhantomData, in builder()
11450 marker: ::std::marker::PhantomData<&'a ()>,
11452 impl<'a> ::std::ops::Deref for DebugMarkerObjectNameInfoEXTBuilder<'a> {
11454 fn deref(&self) -> &Self::Target { in deref()
11458 impl<'a> ::std::ops::DerefMut for DebugMarkerObjectNameInfoEXTBuilder<'a> {
11459 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
11464 pub fn object_type(mut self, object_type: DebugReportObjectTypeEXT) -> Self { in object_type()
11468 pub fn object(mut self, object: u64) -> Self { in object()
11472 pub fn object_name(mut self, object_name: &'a ::std::ffi::CStr) -> Self { in object_name()
11476 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
11479 pub fn build(self) -> DebugMarkerObjectNameInfoEXT { in build() method
11485 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDebugMarkerObject…
11495 impl ::std::default::Default for DebugMarkerObjectTagInfoEXT {
11496 fn default() -> DebugMarkerObjectTagInfoEXT { in default()
11499 p_next: ::std::ptr::null(), in default()
11504 p_tag: ::std::ptr::null(), in default()
11509 pub fn builder<'a>() -> DebugMarkerObjectTagInfoEXTBuilder<'a> { in builder()
11512 marker: ::std::marker::PhantomData, in builder()
11519 marker: ::std::marker::PhantomData<&'a ()>,
11521 impl<'a> ::std::ops::Deref for DebugMarkerObjectTagInfoEXTBuilder<'a> {
11523 fn deref(&self) -> &Self::Target { in deref()
11527 impl<'a> ::std::ops::DerefMut for DebugMarkerObjectTagInfoEXTBuilder<'a> {
11528 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
11533 pub fn object_type(mut self, object_type: DebugReportObjectTypeEXT) -> Self { in object_type()
11537 pub fn object(mut self, object: u64) -> Self { in object()
11541 pub fn tag_name(mut self, tag_name: u64) -> Self { in tag_name()
11545 pub fn tag(mut self, tag: &'a [u8]) -> Self { in tag()
11550 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
11553 pub fn build(self) -> DebugMarkerObjectTagInfoEXT { in build() method
11559 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDebugMarkerMarker…
11566 impl ::std::default::Default for DebugMarkerMarkerInfoEXT {
11567 fn default() -> DebugMarkerMarkerInfoEXT { in default()
11570 p_next: ::std::ptr::null(), in default()
11571 p_marker_name: ::std::ptr::null(), in default()
11572 color: unsafe { ::std::mem::zeroed() }, in default()
11577 pub fn builder<'a>() -> DebugMarkerMarkerInfoEXTBuilder<'a> { in builder()
11580 marker: ::std::marker::PhantomData, in builder()
11587 marker: ::std::marker::PhantomData<&'a ()>,
11589 impl<'a> ::std::ops::Deref for DebugMarkerMarkerInfoEXTBuilder<'a> {
11591 fn deref(&self) -> &Self::Target { in deref()
11595 impl<'a> ::std::ops::DerefMut for DebugMarkerMarkerInfoEXTBuilder<'a> {
11596 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
11601 pub fn marker_name(mut self, marker_name: &'a ::std::ffi::CStr) -> Self { in marker_name()
11605 pub fn color(mut self, color: [f32; 4]) -> Self { in color()
11609 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
11612 pub fn build(self) -> DebugMarkerMarkerInfoEXT { in build() method
11618 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDedicatedAllocati…
11624 impl ::std::default::Default for DedicatedAllocationImageCreateInfoNV {
11625 fn default() -> DedicatedAllocationImageCreateInfoNV { in default()
11628 p_next: ::std::ptr::null(), in default()
11634 pub fn builder<'a>() -> DedicatedAllocationImageCreateInfoNVBuilder<'a> { in builder()
11637 marker: ::std::marker::PhantomData, in builder()
11644 marker: ::std::marker::PhantomData<&'a ()>,
11648 impl<'a> ::std::ops::Deref for DedicatedAllocationImageCreateInfoNVBuilder<'a> {
11650 fn deref(&self) -> &Self::Target { in deref()
11654 impl<'a> ::std::ops::DerefMut for DedicatedAllocationImageCreateInfoNVBuilder<'a> {
11655 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
11660 pub fn dedicated_allocation(mut self, dedicated_allocation: bool) -> Self { in dedicated_allocation()
11664 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
11667 pub fn build(self) -> DedicatedAllocationImageCreateInfoNV { in build() method
11673 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDedicatedAllocati…
11679 impl ::std::default::Default for DedicatedAllocationBufferCreateInfoNV {
11680 fn default() -> DedicatedAllocationBufferCreateInfoNV { in default()
11683 p_next: ::std::ptr::null(), in default()
11689 pub fn builder<'a>() -> DedicatedAllocationBufferCreateInfoNVBuilder<'a> { in builder()
11692 marker: ::std::marker::PhantomData, in builder()
11699 marker: ::std::marker::PhantomData<&'a ()>,
11703 impl<'a> ::std::ops::Deref for DedicatedAllocationBufferCreateInfoNVBuilder<'a> {
11705 fn deref(&self) -> &Self::Target { in deref()
11709 impl<'a> ::std::ops::DerefMut for DedicatedAllocationBufferCreateInfoNVBuilder<'a> {
11710 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
11715 pub fn dedicated_allocation(mut self, dedicated_allocation: bool) -> Self { in dedicated_allocation()
11719 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
11722 pub fn build(self) -> DedicatedAllocationBufferCreateInfoNV { in build() method
11728 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDedicatedAllocati…
11735 impl ::std::default::Default for DedicatedAllocationMemoryAllocateInfoNV {
11736 fn default() -> DedicatedAllocationMemoryAllocateInfoNV { in default()
11739 p_next: ::std::ptr::null(), in default()
11746 pub fn builder<'a>() -> DedicatedAllocationMemoryAllocateInfoNVBuilder<'a> { in builder()
11749 marker: ::std::marker::PhantomData, in builder()
11756 marker: ::std::marker::PhantomData<&'a ()>,
11760 impl<'a> ::std::ops::Deref for DedicatedAllocationMemoryAllocateInfoNVBuilder<'a> {
11762 fn deref(&self) -> &Self::Target { in deref()
11766 impl<'a> ::std::ops::DerefMut for DedicatedAllocationMemoryAllocateInfoNVBuilder<'a> {
11767 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
11772 pub fn image(mut self, image: Image) -> Self { in image()
11776 pub fn buffer(mut self, buffer: Buffer) -> Self { in buffer()
11780 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
11783 pub fn build(self) -> DedicatedAllocationMemoryAllocateInfoNV { in build() method
11789 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkExternalImageForm…
11797 pub fn builder<'a>() -> ExternalImageFormatPropertiesNVBuilder<'a> { in builder()
11800 marker: ::std::marker::PhantomData, in builder()
11807 marker: ::std::marker::PhantomData<&'a ()>,
11809 impl<'a> ::std::ops::Deref for ExternalImageFormatPropertiesNVBuilder<'a> {
11811 fn deref(&self) -> &Self::Target { in deref()
11815 impl<'a> ::std::ops::DerefMut for ExternalImageFormatPropertiesNVBuilder<'a> {
11816 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
11824 ) -> Self { in image_format_properties()
11831 ) -> Self { in external_memory_features()
11838 ) -> Self { in export_from_imported_handle_types()
11845 ) -> Self { in compatible_handle_types()
11849 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
11852 pub fn build(self) -> ExternalImageFormatPropertiesNV { in build() method
11858 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkExternalMemoryIma…
11864 impl ::std::default::Default for ExternalMemoryImageCreateInfoNV {
11865 fn default() -> ExternalMemoryImageCreateInfoNV { in default()
11868 p_next: ::std::ptr::null(), in default()
11874 pub fn builder<'a>() -> ExternalMemoryImageCreateInfoNVBuilder<'a> { in builder()
11877 marker: ::std::marker::PhantomData, in builder()
11884 marker: ::std::marker::PhantomData<&'a ()>,
11888 impl<'a> ::std::ops::Deref for ExternalMemoryImageCreateInfoNVBuilder<'a> {
11890 fn deref(&self) -> &Self::Target { in deref()
11894 impl<'a> ::std::ops::DerefMut for ExternalMemoryImageCreateInfoNVBuilder<'a> {
11895 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
11900 pub fn handle_types(mut self, handle_types: ExternalMemoryHandleTypeFlagsNV) -> Self { in handle_types()
11904 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
11907 pub fn build(self) -> ExternalMemoryImageCreateInfoNV { in build() method
11913 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkExportMemoryAlloc…
11919 impl ::std::default::Default for ExportMemoryAllocateInfoNV {
11920 fn default() -> ExportMemoryAllocateInfoNV { in default()
11923 p_next: ::std::ptr::null(), in default()
11929 pub fn builder<'a>() -> ExportMemoryAllocateInfoNVBuilder<'a> { in builder()
11932 marker: ::std::marker::PhantomData, in builder()
11939 marker: ::std::marker::PhantomData<&'a ()>,
11943 impl<'a> ::std::ops::Deref for ExportMemoryAllocateInfoNVBuilder<'a> {
11945 fn deref(&self) -> &Self::Target { in deref()
11949 impl<'a> ::std::ops::DerefMut for ExportMemoryAllocateInfoNVBuilder<'a> {
11950 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
11955 pub fn handle_types(mut self, handle_types: ExternalMemoryHandleTypeFlagsNV) -> Self { in handle_types()
11959 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
11962 pub fn build(self) -> ExportMemoryAllocateInfoNV { in build() method
11968 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImportMemoryWin32…
11975 impl ::std::default::Default for ImportMemoryWin32HandleInfoNV {
11976 fn default() -> ImportMemoryWin32HandleInfoNV { in default()
11979 p_next: ::std::ptr::null(), in default()
11981 handle: unsafe { ::std::mem::zeroed() }, in default()
11986 pub fn builder<'a>() -> ImportMemoryWin32HandleInfoNVBuilder<'a> { in builder()
11989 marker: ::std::marker::PhantomData, in builder()
11996 marker: ::std::marker::PhantomData<&'a ()>,
12000 impl<'a> ::std::ops::Deref for ImportMemoryWin32HandleInfoNVBuilder<'a> {
12002 fn deref(&self) -> &Self::Target { in deref()
12006 impl<'a> ::std::ops::DerefMut for ImportMemoryWin32HandleInfoNVBuilder<'a> {
12007 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
12012 pub fn handle_type(mut self, handle_type: ExternalMemoryHandleTypeFlagsNV) -> Self { in handle_type()
12016 pub fn handle(mut self, handle: HANDLE) -> Self { in handle()
12020 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
12023 pub fn build(self) -> ImportMemoryWin32HandleInfoNV { in build() method
12029 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkExportMemoryWin32…
12036 impl ::std::default::Default for ExportMemoryWin32HandleInfoNV {
12037 fn default() -> ExportMemoryWin32HandleInfoNV { in default()
12040 p_next: ::std::ptr::null(), in default()
12041 p_attributes: ::std::ptr::null(), in default()
12047 pub fn builder<'a>() -> ExportMemoryWin32HandleInfoNVBuilder<'a> { in builder()
12050 marker: ::std::marker::PhantomData, in builder()
12057 marker: ::std::marker::PhantomData<&'a ()>,
12061 impl<'a> ::std::ops::Deref for ExportMemoryWin32HandleInfoNVBuilder<'a> {
12063 fn deref(&self) -> &Self::Target { in deref()
12067 impl<'a> ::std::ops::DerefMut for ExportMemoryWin32HandleInfoNVBuilder<'a> {
12068 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
12073 pub fn attributes(mut self, attributes: &'a SECURITY_ATTRIBUTES) -> Self { in attributes()
12077 pub fn dw_access(mut self, dw_access: DWORD) -> Self { in dw_access()
12081 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
12084 pub fn build(self) -> ExportMemoryWin32HandleInfoNV { in build() method
12090 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkWin32KeyedMutexAc…
12102 impl ::std::default::Default for Win32KeyedMutexAcquireReleaseInfoNV {
12103 fn default() -> Win32KeyedMutexAcquireReleaseInfoNV { in default()
12106 p_next: ::std::ptr::null(), in default()
12108 p_acquire_syncs: ::std::ptr::null(), in default()
12109 p_acquire_keys: ::std::ptr::null(), in default()
12110 p_acquire_timeout_milliseconds: ::std::ptr::null(), in default()
12112 p_release_syncs: ::std::ptr::null(), in default()
12113 p_release_keys: ::std::ptr::null(), in default()
12118 pub fn builder<'a>() -> Win32KeyedMutexAcquireReleaseInfoNVBuilder<'a> { in builder()
12121 marker: ::std::marker::PhantomData, in builder()
12128 marker: ::std::marker::PhantomData<&'a ()>,
12134 impl<'a> ::std::ops::Deref for Win32KeyedMutexAcquireReleaseInfoNVBuilder<'a> {
12136 fn deref(&self) -> &Self::Target { in deref()
12140 impl<'a> ::std::ops::DerefMut for Win32KeyedMutexAcquireReleaseInfoNVBuilder<'a> {
12141 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
12146 pub fn acquire_syncs(mut self, acquire_syncs: &'a [DeviceMemory]) -> Self { in acquire_syncs()
12151 pub fn acquire_keys(mut self, acquire_keys: &'a [u64]) -> Self { in acquire_keys()
12156 pub fn acquire_timeout_milliseconds(mut self, acquire_timeout_milliseconds: &'a [u32]) -> Self { in acquire_timeout_milliseconds()
12161 pub fn release_syncs(mut self, release_syncs: &'a [DeviceMemory]) -> Self { in release_syncs()
12166 pub fn release_keys(mut self, release_keys: &'a [u64]) -> Self { in release_keys()
12171 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
12174 pub fn build(self) -> Win32KeyedMutexAcquireReleaseInfoNV { in build() method
12180 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceDev…
12186 impl ::std::default::Default for PhysicalDeviceDeviceGeneratedCommandsFeaturesNV {
12187 fn default() -> PhysicalDeviceDeviceGeneratedCommandsFeaturesNV { in default()
12190 p_next: ::std::ptr::null_mut(), in default()
12196 pub fn builder<'a>() -> PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a> { in builder()
12199 marker: ::std::marker::PhantomData, in builder()
12206 marker: ::std::marker::PhantomData<&'a ()>,
12215 impl<'a> ::std::ops::Deref for PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a> {
12217 fn deref(&self) -> &Self::Target { in deref()
12221 impl<'a> ::std::ops::DerefMut for PhysicalDeviceDeviceGeneratedCommandsFeaturesNVBuilder<'a> {
12222 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
12227 pub fn device_generated_commands(mut self, device_generated_commands: bool) -> Self { in device_generated_commands()
12231 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
12234 pub fn build(self) -> PhysicalDeviceDeviceGeneratedCommandsFeaturesNV { in build() method
12240 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDevicePrivateData…
12246 impl ::std::default::Default for DevicePrivateDataCreateInfoEXT {
12247 fn default() -> DevicePrivateDataCreateInfoEXT { in default()
12250 p_next: ::std::ptr::null(), in default()
12256 pub fn builder<'a>() -> DevicePrivateDataCreateInfoEXTBuilder<'a> { in builder()
12259 marker: ::std::marker::PhantomData, in builder()
12266 marker: ::std::marker::PhantomData<&'a ()>,
12270 impl<'a> ::std::ops::Deref for DevicePrivateDataCreateInfoEXTBuilder<'a> {
12272 fn deref(&self) -> &Self::Target { in deref()
12276 impl<'a> ::std::ops::DerefMut for DevicePrivateDataCreateInfoEXTBuilder<'a> {
12277 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
12282 pub fn private_data_slot_request_count(mut self, private_data_slot_request_count: u32) -> Self { in private_data_slot_request_count()
12286 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
12289 pub fn build(self) -> DevicePrivateDataCreateInfoEXT { in build() method
12295 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPrivateDataSlotCr…
12301 impl ::std::default::Default for PrivateDataSlotCreateInfoEXT {
12302 fn default() -> PrivateDataSlotCreateInfoEXT { in default()
12305 p_next: ::std::ptr::null(), in default()
12311 pub fn builder<'a>() -> PrivateDataSlotCreateInfoEXTBuilder<'a> { in builder()
12314 marker: ::std::marker::PhantomData, in builder()
12321 marker: ::std::marker::PhantomData<&'a ()>,
12323 impl<'a> ::std::ops::Deref for PrivateDataSlotCreateInfoEXTBuilder<'a> {
12325 fn deref(&self) -> &Self::Target { in deref()
12329 impl<'a> ::std::ops::DerefMut for PrivateDataSlotCreateInfoEXTBuilder<'a> {
12330 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
12335 pub fn flags(mut self, flags: PrivateDataSlotCreateFlagsEXT) -> Self { in flags()
12339 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
12342 pub fn build(self) -> PrivateDataSlotCreateInfoEXT { in build() method
12348 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDevicePri…
12354 impl ::std::default::Default for PhysicalDevicePrivateDataFeaturesEXT {
12355 fn default() -> PhysicalDevicePrivateDataFeaturesEXT { in default()
12358 p_next: ::std::ptr::null_mut(), in default()
12364 pub fn builder<'a>() -> PhysicalDevicePrivateDataFeaturesEXTBuilder<'a> { in builder()
12367 marker: ::std::marker::PhantomData, in builder()
12374 marker: ::std::marker::PhantomData<&'a ()>,
12380 impl<'a> ::std::ops::Deref for PhysicalDevicePrivateDataFeaturesEXTBuilder<'a> {
12382 fn deref(&self) -> &Self::Target { in deref()
12386 impl<'a> ::std::ops::DerefMut for PhysicalDevicePrivateDataFeaturesEXTBuilder<'a> {
12387 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
12392 pub fn private_data(mut self, private_data: bool) -> Self { in private_data()
12396 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
12399 pub fn build(self) -> PhysicalDevicePrivateDataFeaturesEXT { in build() method
12405 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceDev…
12419 impl ::std::default::Default for PhysicalDeviceDeviceGeneratedCommandsPropertiesNV {
12420 fn default() -> PhysicalDeviceDeviceGeneratedCommandsPropertiesNV { in default()
12423 p_next: ::std::ptr::null_mut(), in default()
12437 pub fn builder<'a>() -> PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a> { in builder()
12440 marker: ::std::marker::PhantomData, in builder()
12447 marker: ::std::marker::PhantomData<&'a ()>,
12454 impl<'a> ::std::ops::Deref for PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a> {
12456 fn deref(&self) -> &Self::Target { in deref()
12460 impl<'a> ::std::ops::DerefMut for PhysicalDeviceDeviceGeneratedCommandsPropertiesNVBuilder<'a> {
12461 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
12466 pub fn max_graphics_shader_group_count(mut self, max_graphics_shader_group_count: u32) -> Self { in max_graphics_shader_group_count()
12470 pub fn max_indirect_sequence_count(mut self, max_indirect_sequence_count: u32) -> Self { in max_indirect_sequence_count()
12477 ) -> Self { in max_indirect_commands_token_count()
12484 ) -> Self { in max_indirect_commands_stream_count()
12491 ) -> Self { in max_indirect_commands_token_offset()
12498 ) -> Self { in max_indirect_commands_stream_stride()
12505 ) -> Self { in min_sequences_count_buffer_offset_alignment()
12513 ) -> Self { in min_sequences_index_buffer_offset_alignment()
12521 ) -> Self { in min_indirect_commands_buffer_offset_alignment()
12526 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
12529 pub fn build(self) -> PhysicalDeviceDeviceGeneratedCommandsPropertiesNV { in build() method
12535 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceMul…
12541 impl ::std::default::Default for PhysicalDeviceMultiDrawPropertiesEXT {
12542 fn default() -> PhysicalDeviceMultiDrawPropertiesEXT { in default()
12545 p_next: ::std::ptr::null_mut(), in default()
12551 pub fn builder<'a>() -> PhysicalDeviceMultiDrawPropertiesEXTBuilder<'a> { in builder()
12554 marker: ::std::marker::PhantomData, in builder()
12561 marker: ::std::marker::PhantomData<&'a ()>,
12565 impl<'a> ::std::ops::Deref for PhysicalDeviceMultiDrawPropertiesEXTBuilder<'a> {
12567 fn deref(&self) -> &Self::Target { in deref()
12571 impl<'a> ::std::ops::DerefMut for PhysicalDeviceMultiDrawPropertiesEXTBuilder<'a> {
12572 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
12577 pub fn max_multi_draw_count(mut self, max_multi_draw_count: u32) -> Self { in max_multi_draw_count()
12581 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
12584 pub fn build(self) -> PhysicalDeviceMultiDrawPropertiesEXT { in build() method
12590 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkGraphicsShaderGro…
12599 impl ::std::default::Default for GraphicsShaderGroupCreateInfoNV {
12600 fn default() -> GraphicsShaderGroupCreateInfoNV { in default()
12603 p_next: ::std::ptr::null(), in default()
12605 p_stages: ::std::ptr::null(), in default()
12606 p_vertex_input_state: ::std::ptr::null(), in default()
12607 p_tessellation_state: ::std::ptr::null(), in default()
12612 pub fn builder<'a>() -> GraphicsShaderGroupCreateInfoNVBuilder<'a> { in builder()
12615 marker: ::std::marker::PhantomData, in builder()
12622 marker: ::std::marker::PhantomData<&'a ()>,
12624 impl<'a> ::std::ops::Deref for GraphicsShaderGroupCreateInfoNVBuilder<'a> {
12626 fn deref(&self) -> &Self::Target { in deref()
12630 impl<'a> ::std::ops::DerefMut for GraphicsShaderGroupCreateInfoNVBuilder<'a> {
12631 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
12636 pub fn stages(mut self, stages: &'a [PipelineShaderStageCreateInfo]) -> Self { in stages()
12644 ) -> Self { in vertex_input_state()
12651 ) -> Self { in tessellation_state()
12655 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
12658 pub fn build(self) -> GraphicsShaderGroupCreateInfoNV { in build() method
12664 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkGraphicsPipelineS…
12673 impl ::std::default::Default for GraphicsPipelineShaderGroupsCreateInfoNV {
12674 fn default() -> GraphicsPipelineShaderGroupsCreateInfoNV { in default()
12677 p_next: ::std::ptr::null(), in default()
12679 p_groups: ::std::ptr::null(), in default()
12681 p_pipelines: ::std::ptr::null(), in default()
12686 pub fn builder<'a>() -> GraphicsPipelineShaderGroupsCreateInfoNVBuilder<'a> { in builder()
12689 marker: ::std::marker::PhantomData, in builder()
12696 marker: ::std::marker::PhantomData<&'a ()>,
12703 impl<'a> ::std::ops::Deref for GraphicsPipelineShaderGroupsCreateInfoNVBuilder<'a> {
12705 fn deref(&self) -> &Self::Target { in deref()
12709 impl<'a> ::std::ops::DerefMut for GraphicsPipelineShaderGroupsCreateInfoNVBuilder<'a> {
12710 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
12715 pub fn groups(mut self, groups: &'a [GraphicsShaderGroupCreateInfoNV]) -> Self { in groups()
12720 pub fn pipelines(mut self, pipelines: &'a [Pipeline]) -> Self { in pipelines()
12725 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
12728 pub fn build(self) -> GraphicsPipelineShaderGroupsCreateInfoNV { in build() method
12734 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBindShaderGroupIn…
12739 pub fn builder<'a>() -> BindShaderGroupIndirectCommandNVBuilder<'a> { in builder()
12742 marker: ::std::marker::PhantomData, in builder()
12749 marker: ::std::marker::PhantomData<&'a ()>,
12751 impl<'a> ::std::ops::Deref for BindShaderGroupIndirectCommandNVBuilder<'a> {
12753 fn deref(&self) -> &Self::Target { in deref()
12757 impl<'a> ::std::ops::DerefMut for BindShaderGroupIndirectCommandNVBuilder<'a> {
12758 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
12763 pub fn group_index(mut self, group_index: u32) -> Self { in group_index()
12767 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
12770 pub fn build(self) -> BindShaderGroupIndirectCommandNV { in build() method
12776 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBindIndexBufferIn…
12783 pub fn builder<'a>() -> BindIndexBufferIndirectCommandNVBuilder<'a> { in builder()
12786 marker: ::std::marker::PhantomData, in builder()
12793 marker: ::std::marker::PhantomData<&'a ()>,
12795 impl<'a> ::std::ops::Deref for BindIndexBufferIndirectCommandNVBuilder<'a> {
12797 fn deref(&self) -> &Self::Target { in deref()
12801 impl<'a> ::std::ops::DerefMut for BindIndexBufferIndirectCommandNVBuilder<'a> {
12802 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
12807 pub fn buffer_address(mut self, buffer_address: DeviceAddress) -> Self { in buffer_address()
12811 pub fn size(mut self, size: u32) -> Self { in size()
12815 pub fn index_type(mut self, index_type: IndexType) -> Self { in index_type()
12819 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
12822 pub fn build(self) -> BindIndexBufferIndirectCommandNV { in build() method
12828 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBindVertexBufferI…
12835 pub fn builder<'a>() -> BindVertexBufferIndirectCommandNVBuilder<'a> { in builder()
12838 marker: ::std::marker::PhantomData, in builder()
12845 marker: ::std::marker::PhantomData<&'a ()>,
12847 impl<'a> ::std::ops::Deref for BindVertexBufferIndirectCommandNVBuilder<'a> {
12849 fn deref(&self) -> &Self::Target { in deref()
12853 impl<'a> ::std::ops::DerefMut for BindVertexBufferIndirectCommandNVBuilder<'a> {
12854 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
12859 pub fn buffer_address(mut self, buffer_address: DeviceAddress) -> Self { in buffer_address()
12863 pub fn size(mut self, size: u32) -> Self { in size()
12867 pub fn stride(mut self, stride: u32) -> Self { in stride()
12871 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
12874 pub fn build(self) -> BindVertexBufferIndirectCommandNV { in build() method
12880 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSetStateFlagsIndi…
12885 pub fn builder<'a>() -> SetStateFlagsIndirectCommandNVBuilder<'a> { in builder()
12888 marker: ::std::marker::PhantomData, in builder()
12895 marker: ::std::marker::PhantomData<&'a ()>,
12897 impl<'a> ::std::ops::Deref for SetStateFlagsIndirectCommandNVBuilder<'a> {
12899 fn deref(&self) -> &Self::Target { in deref()
12903 impl<'a> ::std::ops::DerefMut for SetStateFlagsIndirectCommandNVBuilder<'a> {
12904 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
12909 pub fn data(mut self, data: u32) -> Self { in data()
12913 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
12916 pub fn build(self) -> SetStateFlagsIndirectCommandNV { in build() method
12922 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkIndirectCommandsS…
12928 pub fn builder<'a>() -> IndirectCommandsStreamNVBuilder<'a> { in builder()
12931 marker: ::std::marker::PhantomData, in builder()
12938 marker: ::std::marker::PhantomData<&'a ()>,
12940 impl<'a> ::std::ops::Deref for IndirectCommandsStreamNVBuilder<'a> {
12942 fn deref(&self) -> &Self::Target { in deref()
12946 impl<'a> ::std::ops::DerefMut for IndirectCommandsStreamNVBuilder<'a> {
12947 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
12952 pub fn buffer(mut self, buffer: Buffer) -> Self { in buffer()
12956 pub fn offset(mut self, offset: DeviceSize) -> Self { in offset()
12960 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
12963 pub fn build(self) -> IndirectCommandsStreamNV { in build() method
12969 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkIndirectCommandsL…
12987 impl ::std::default::Default for IndirectCommandsLayoutTokenNV {
12988 fn default() -> IndirectCommandsLayoutTokenNV { in default()
12991 p_next: ::std::ptr::null(), in default()
13003 p_index_types: ::std::ptr::null(), in default()
13004 p_index_type_values: ::std::ptr::null(), in default()
13009 pub fn builder<'a>() -> IndirectCommandsLayoutTokenNVBuilder<'a> { in builder()
13012 marker: ::std::marker::PhantomData, in builder()
13019 marker: ::std::marker::PhantomData<&'a ()>,
13021 impl<'a> ::std::ops::Deref for IndirectCommandsLayoutTokenNVBuilder<'a> {
13023 fn deref(&self) -> &Self::Target { in deref()
13027 impl<'a> ::std::ops::DerefMut for IndirectCommandsLayoutTokenNVBuilder<'a> {
13028 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
13033 pub fn token_type(mut self, token_type: IndirectCommandsTokenTypeNV) -> Self { in token_type()
13037 pub fn stream(mut self, stream: u32) -> Self { in stream()
13041 pub fn offset(mut self, offset: u32) -> Self { in offset()
13045 pub fn vertex_binding_unit(mut self, vertex_binding_unit: u32) -> Self { in vertex_binding_unit()
13049 pub fn vertex_dynamic_stride(mut self, vertex_dynamic_stride: bool) -> Self { in vertex_dynamic_stride()
13056 ) -> Self { in pushconstant_pipeline_layout()
13063 ) -> Self { in pushconstant_shader_stage_flags()
13067 pub fn pushconstant_offset(mut self, pushconstant_offset: u32) -> Self { in pushconstant_offset()
13071 pub fn pushconstant_size(mut self, pushconstant_size: u32) -> Self { in pushconstant_size()
13075 pub fn indirect_state_flags(mut self, indirect_state_flags: IndirectStateFlagsNV) -> Self { in indirect_state_flags()
13079 pub fn index_types(mut self, index_types: &'a [IndexType]) -> Self { in index_types()
13084 pub fn index_type_values(mut self, index_type_values: &'a [u32]) -> Self { in index_type_values()
13089 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
13092 pub fn build(self) -> IndirectCommandsLayoutTokenNV { in build() method
13098 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkIndirectCommandsL…
13109 impl ::std::default::Default for IndirectCommandsLayoutCreateInfoNV {
13110 fn default() -> IndirectCommandsLayoutCreateInfoNV { in default()
13113 p_next: ::std::ptr::null(), in default()
13117 p_tokens: ::std::ptr::null(), in default()
13119 p_stream_strides: ::std::ptr::null(), in default()
13124 pub fn builder<'a>() -> IndirectCommandsLayoutCreateInfoNVBuilder<'a> { in builder()
13127 marker: ::std::marker::PhantomData, in builder()
13134 marker: ::std::marker::PhantomData<&'a ()>,
13136 impl<'a> ::std::ops::Deref for IndirectCommandsLayoutCreateInfoNVBuilder<'a> {
13138 fn deref(&self) -> &Self::Target { in deref()
13142 impl<'a> ::std::ops::DerefMut for IndirectCommandsLayoutCreateInfoNVBuilder<'a> {
13143 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
13148 pub fn flags(mut self, flags: IndirectCommandsLayoutUsageFlagsNV) -> Self { in flags()
13152 pub fn pipeline_bind_point(mut self, pipeline_bind_point: PipelineBindPoint) -> Self { in pipeline_bind_point()
13156 pub fn tokens(mut self, tokens: &'a [IndirectCommandsLayoutTokenNV]) -> Self { in tokens()
13161 pub fn stream_strides(mut self, stream_strides: &'a [u32]) -> Self { in stream_strides()
13166 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
13169 pub fn build(self) -> IndirectCommandsLayoutCreateInfoNV { in build() method
13175 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkGeneratedCommands…
13193 impl ::std::default::Default for GeneratedCommandsInfoNV {
13194 fn default() -> GeneratedCommandsInfoNV { in default()
13197 p_next: ::std::ptr::null(), in default()
13202 p_streams: ::std::ptr::null(), in default()
13215 pub fn builder<'a>() -> GeneratedCommandsInfoNVBuilder<'a> { in builder()
13218 marker: ::std::marker::PhantomData, in builder()
13225 marker: ::std::marker::PhantomData<&'a ()>,
13227 impl<'a> ::std::ops::Deref for GeneratedCommandsInfoNVBuilder<'a> {
13229 fn deref(&self) -> &Self::Target { in deref()
13233 impl<'a> ::std::ops::DerefMut for GeneratedCommandsInfoNVBuilder<'a> {
13234 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
13239 pub fn pipeline_bind_point(mut self, pipeline_bind_point: PipelineBindPoint) -> Self { in pipeline_bind_point()
13243 pub fn pipeline(mut self, pipeline: Pipeline) -> Self { in pipeline()
13250 ) -> Self { in indirect_commands_layout()
13254 pub fn streams(mut self, streams: &'a [IndirectCommandsStreamNV]) -> Self { in streams()
13259 pub fn sequences_count(mut self, sequences_count: u32) -> Self { in sequences_count()
13263 pub fn preprocess_buffer(mut self, preprocess_buffer: Buffer) -> Self { in preprocess_buffer()
13267 pub fn preprocess_offset(mut self, preprocess_offset: DeviceSize) -> Self { in preprocess_offset()
13271 pub fn preprocess_size(mut self, preprocess_size: DeviceSize) -> Self { in preprocess_size()
13275 pub fn sequences_count_buffer(mut self, sequences_count_buffer: Buffer) -> Self { in sequences_count_buffer()
13279 pub fn sequences_count_offset(mut self, sequences_count_offset: DeviceSize) -> Self { in sequences_count_offset()
13283 pub fn sequences_index_buffer(mut self, sequences_index_buffer: Buffer) -> Self { in sequences_index_buffer()
13287 pub fn sequences_index_offset(mut self, sequences_index_offset: DeviceSize) -> Self { in sequences_index_offset()
13291 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
13294 pub fn build(self) -> GeneratedCommandsInfoNV { in build() method
13300 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkGeneratedCommands…
13309 impl ::std::default::Default for GeneratedCommandsMemoryRequirementsInfoNV {
13310 fn default() -> GeneratedCommandsMemoryRequirementsInfoNV { in default()
13313 p_next: ::std::ptr::null(), in default()
13322 pub fn builder<'a>() -> GeneratedCommandsMemoryRequirementsInfoNVBuilder<'a> { in builder()
13325 marker: ::std::marker::PhantomData, in builder()
13332 marker: ::std::marker::PhantomData<&'a ()>,
13334 impl<'a> ::std::ops::Deref for GeneratedCommandsMemoryRequirementsInfoNVBuilder<'a> {
13336 fn deref(&self) -> &Self::Target { in deref()
13340 impl<'a> ::std::ops::DerefMut for GeneratedCommandsMemoryRequirementsInfoNVBuilder<'a> {
13341 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
13346 pub fn pipeline_bind_point(mut self, pipeline_bind_point: PipelineBindPoint) -> Self { in pipeline_bind_point()
13350 pub fn pipeline(mut self, pipeline: Pipeline) -> Self { in pipeline()
13357 ) -> Self { in indirect_commands_layout()
13361 pub fn max_sequences_count(mut self, max_sequences_count: u32) -> Self { in max_sequences_count()
13365 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
13368 pub fn build(self) -> GeneratedCommandsMemoryRequirementsInfoNV { in build() method
13374 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceFea…
13380 impl ::std::default::Default for PhysicalDeviceFeatures2 {
13381 fn default() -> PhysicalDeviceFeatures2 { in default()
13384 p_next: ::std::ptr::null_mut(), in default()
13390 pub fn builder<'a>() -> PhysicalDeviceFeatures2Builder<'a> { in builder()
13393 marker: ::std::marker::PhantomData, in builder()
13400 marker: ::std::marker::PhantomData<&'a ()>,
13405 impl<'a> ::std::ops::Deref for PhysicalDeviceFeatures2Builder<'a> {
13407 fn deref(&self) -> &Self::Target { in deref()
13411 impl<'a> ::std::ops::DerefMut for PhysicalDeviceFeatures2Builder<'a> {
13412 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
13417 pub fn features(mut self, features: PhysicalDeviceFeatures) -> Self { in features()
13424 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
13425 #[doc = r" chain will look like `A -> D -> B -> C`."]
13426 pub fn push_next<T: ExtendsPhysicalDeviceFeatures2>(mut self, next: &'a mut T) -> Self { in push_next()
13435 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
13438 pub fn build(self) -> PhysicalDeviceFeatures2 { in build() method
13444 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDevicePro…
13450 impl ::std::default::Default for PhysicalDeviceProperties2 {
13451 fn default() -> PhysicalDeviceProperties2 { in default()
13454 p_next: ::std::ptr::null_mut(), in default()
13460 pub fn builder<'a>() -> PhysicalDeviceProperties2Builder<'a> { in builder()
13463 marker: ::std::marker::PhantomData, in builder()
13470 marker: ::std::marker::PhantomData<&'a ()>,
13473 impl<'a> ::std::ops::Deref for PhysicalDeviceProperties2Builder<'a> {
13475 fn deref(&self) -> &Self::Target { in deref()
13479 impl<'a> ::std::ops::DerefMut for PhysicalDeviceProperties2Builder<'a> {
13480 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
13485 pub fn properties(mut self, properties: PhysicalDeviceProperties) -> Self { in properties()
13492 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
13493 #[doc = r" chain will look like `A -> D -> B -> C`."]
13494 pub fn push_next<T: ExtendsPhysicalDeviceProperties2>(mut self, next: &'a mut T) -> Self { in push_next()
13503 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
13506 pub fn build(self) -> PhysicalDeviceProperties2 { in build() method
13512 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkFormatProperties2…
13518 impl ::std::default::Default for FormatProperties2 {
13519 fn default() -> FormatProperties2 { in default()
13522 p_next: ::std::ptr::null_mut(), in default()
13528 pub fn builder<'a>() -> FormatProperties2Builder<'a> { in builder()
13531 marker: ::std::marker::PhantomData, in builder()
13538 marker: ::std::marker::PhantomData<&'a ()>,
13541 impl<'a> ::std::ops::Deref for FormatProperties2Builder<'a> {
13543 fn deref(&self) -> &Self::Target { in deref()
13547 impl<'a> ::std::ops::DerefMut for FormatProperties2Builder<'a> {
13548 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
13553 pub fn format_properties(mut self, format_properties: FormatProperties) -> Self { in format_properties()
13560 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
13561 #[doc = r" chain will look like `A -> D -> B -> C`."]
13562 pub fn push_next<T: ExtendsFormatProperties2>(mut self, next: &'a mut T) -> Self { in push_next()
13571 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
13574 pub fn build(self) -> FormatProperties2 { in build() method
13580 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageFormatProper…
13586 impl ::std::default::Default for ImageFormatProperties2 {
13587 fn default() -> ImageFormatProperties2 { in default()
13590 p_next: ::std::ptr::null_mut(), in default()
13596 pub fn builder<'a>() -> ImageFormatProperties2Builder<'a> { in builder()
13599 marker: ::std::marker::PhantomData, in builder()
13606 marker: ::std::marker::PhantomData<&'a ()>,
13609 impl<'a> ::std::ops::Deref for ImageFormatProperties2Builder<'a> {
13611 fn deref(&self) -> &Self::Target { in deref()
13615 impl<'a> ::std::ops::DerefMut for ImageFormatProperties2Builder<'a> {
13616 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
13624 ) -> Self { in image_format_properties()
13631 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
13632 #[doc = r" chain will look like `A -> D -> B -> C`."]
13633 pub fn push_next<T: ExtendsImageFormatProperties2>(mut self, next: &'a mut T) -> Self { in push_next()
13642 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
13645 pub fn build(self) -> ImageFormatProperties2 { in build() method
13651 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceIma…
13661 impl ::std::default::Default for PhysicalDeviceImageFormatInfo2 {
13662 fn default() -> PhysicalDeviceImageFormatInfo2 { in default()
13665 p_next: ::std::ptr::null(), in default()
13675 pub fn builder<'a>() -> PhysicalDeviceImageFormatInfo2Builder<'a> { in builder()
13678 marker: ::std::marker::PhantomData, in builder()
13685 marker: ::std::marker::PhantomData<&'a ()>,
13688 impl<'a> ::std::ops::Deref for PhysicalDeviceImageFormatInfo2Builder<'a> {
13690 fn deref(&self) -> &Self::Target { in deref()
13694 impl<'a> ::std::ops::DerefMut for PhysicalDeviceImageFormatInfo2Builder<'a> {
13695 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
13700 pub fn format(mut self, format: Format) -> Self { in format()
13704 pub fn ty(mut self, ty: ImageType) -> Self { in ty()
13708 pub fn tiling(mut self, tiling: ImageTiling) -> Self { in tiling()
13712 pub fn usage(mut self, usage: ImageUsageFlags) -> Self { in usage()
13716 pub fn flags(mut self, flags: ImageCreateFlags) -> Self { in flags()
13723 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
13724 #[doc = r" chain will look like `A -> D -> B -> C`."]
13725 pub fn push_next<T: ExtendsPhysicalDeviceImageFormatInfo2>(mut self, next: &'a mut T) -> Self { in push_next()
13734 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
13737 pub fn build(self) -> PhysicalDeviceImageFormatInfo2 { in build() method
13743 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkQueueFamilyProper…
13749 impl ::std::default::Default for QueueFamilyProperties2 {
13750 fn default() -> QueueFamilyProperties2 { in default()
13753 p_next: ::std::ptr::null_mut(), in default()
13759 pub fn builder<'a>() -> QueueFamilyProperties2Builder<'a> { in builder()
13762 marker: ::std::marker::PhantomData, in builder()
13769 marker: ::std::marker::PhantomData<&'a ()>,
13772 impl<'a> ::std::ops::Deref for QueueFamilyProperties2Builder<'a> {
13774 fn deref(&self) -> &Self::Target { in deref()
13778 impl<'a> ::std::ops::DerefMut for QueueFamilyProperties2Builder<'a> {
13779 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
13787 ) -> Self { in queue_family_properties()
13794 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
13795 #[doc = r" chain will look like `A -> D -> B -> C`."]
13796 pub fn push_next<T: ExtendsQueueFamilyProperties2>(mut self, next: &'a mut T) -> Self { in push_next()
13805 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
13808 pub fn build(self) -> QueueFamilyProperties2 { in build() method
13814 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceMem…
13820 impl ::std::default::Default for PhysicalDeviceMemoryProperties2 {
13821 fn default() -> PhysicalDeviceMemoryProperties2 { in default()
13824 p_next: ::std::ptr::null_mut(), in default()
13830 pub fn builder<'a>() -> PhysicalDeviceMemoryProperties2Builder<'a> { in builder()
13833 marker: ::std::marker::PhantomData, in builder()
13840 marker: ::std::marker::PhantomData<&'a ()>,
13843 impl<'a> ::std::ops::Deref for PhysicalDeviceMemoryProperties2Builder<'a> {
13845 fn deref(&self) -> &Self::Target { in deref()
13849 impl<'a> ::std::ops::DerefMut for PhysicalDeviceMemoryProperties2Builder<'a> {
13850 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
13855 pub fn memory_properties(mut self, memory_properties: PhysicalDeviceMemoryProperties) -> Self { in memory_properties()
13862 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
13863 #[doc = r" chain will look like `A -> D -> B -> C`."]
13864 pub fn push_next<T: ExtendsPhysicalDeviceMemoryProperties2>(mut self, next: &'a mut T) -> Self { in push_next()
13873 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
13876 pub fn build(self) -> PhysicalDeviceMemoryProperties2 { in build() method
13882 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSparseImageFormat…
13888 impl ::std::default::Default for SparseImageFormatProperties2 {
13889 fn default() -> SparseImageFormatProperties2 { in default()
13892 p_next: ::std::ptr::null_mut(), in default()
13898 pub fn builder<'a>() -> SparseImageFormatProperties2Builder<'a> { in builder()
13901 marker: ::std::marker::PhantomData, in builder()
13908 marker: ::std::marker::PhantomData<&'a ()>,
13910 impl<'a> ::std::ops::Deref for SparseImageFormatProperties2Builder<'a> {
13912 fn deref(&self) -> &Self::Target { in deref()
13916 impl<'a> ::std::ops::DerefMut for SparseImageFormatProperties2Builder<'a> {
13917 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
13922 pub fn properties(mut self, properties: SparseImageFormatProperties) -> Self { in properties()
13926 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
13929 pub fn build(self) -> SparseImageFormatProperties2 { in build() method
13935 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSpa…
13945 impl ::std::default::Default for PhysicalDeviceSparseImageFormatInfo2 {
13946 fn default() -> PhysicalDeviceSparseImageFormatInfo2 { in default()
13949 p_next: ::std::ptr::null(), in default()
13959 pub fn builder<'a>() -> PhysicalDeviceSparseImageFormatInfo2Builder<'a> { in builder()
13962 marker: ::std::marker::PhantomData, in builder()
13969 marker: ::std::marker::PhantomData<&'a ()>,
13971 impl<'a> ::std::ops::Deref for PhysicalDeviceSparseImageFormatInfo2Builder<'a> {
13973 fn deref(&self) -> &Self::Target { in deref()
13977 impl<'a> ::std::ops::DerefMut for PhysicalDeviceSparseImageFormatInfo2Builder<'a> {
13978 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
13983 pub fn format(mut self, format: Format) -> Self { in format()
13987 pub fn ty(mut self, ty: ImageType) -> Self { in ty()
13991 pub fn samples(mut self, samples: SampleCountFlags) -> Self { in samples()
13995 pub fn usage(mut self, usage: ImageUsageFlags) -> Self { in usage()
13999 pub fn tiling(mut self, tiling: ImageTiling) -> Self { in tiling()
14003 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
14006 pub fn build(self) -> PhysicalDeviceSparseImageFormatInfo2 { in build() method
14012 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDevicePus…
14018 impl ::std::default::Default for PhysicalDevicePushDescriptorPropertiesKHR {
14019 fn default() -> PhysicalDevicePushDescriptorPropertiesKHR { in default()
14022 p_next: ::std::ptr::null_mut(), in default()
14028 pub fn builder<'a>() -> PhysicalDevicePushDescriptorPropertiesKHRBuilder<'a> { in builder()
14031 marker: ::std::marker::PhantomData, in builder()
14038 marker: ::std::marker::PhantomData<&'a ()>,
14045 impl<'a> ::std::ops::Deref for PhysicalDevicePushDescriptorPropertiesKHRBuilder<'a> {
14047 fn deref(&self) -> &Self::Target { in deref()
14051 impl<'a> ::std::ops::DerefMut for PhysicalDevicePushDescriptorPropertiesKHRBuilder<'a> {
14052 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
14057 pub fn max_push_descriptors(mut self, max_push_descriptors: u32) -> Self { in max_push_descriptors()
14061 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
14064 pub fn build(self) -> PhysicalDevicePushDescriptorPropertiesKHR { in build() method
14070 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkConformanceVersio…
14078 pub fn builder<'a>() -> ConformanceVersionBuilder<'a> { in builder()
14081 marker: ::std::marker::PhantomData, in builder()
14088 marker: ::std::marker::PhantomData<&'a ()>,
14090 impl<'a> ::std::ops::Deref for ConformanceVersionBuilder<'a> {
14092 fn deref(&self) -> &Self::Target { in deref()
14096 impl<'a> ::std::ops::DerefMut for ConformanceVersionBuilder<'a> {
14097 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
14102 pub fn major(mut self, major: u8) -> Self { in major()
14106 pub fn minor(mut self, minor: u8) -> Self { in minor()
14110 pub fn subminor(mut self, subminor: u8) -> Self { in subminor()
14114 pub fn patch(mut self, patch: u8) -> Self { in patch()
14118 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
14121 pub fn build(self) -> ConformanceVersion { in build() method
14127 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceDri…
14137 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
14143 ::std::ffi::CStr::from_ptr(self.driver_name.as_ptr() as *const c_char) in fmt()
14146 ::std::ffi::CStr::from_ptr(self.driver_info.as_ptr() as *const c_char) in fmt()
14152 impl ::std::default::Default for PhysicalDeviceDriverProperties {
14153 fn default() -> PhysicalDeviceDriverProperties { in default()
14156 p_next: ::std::ptr::null_mut(), in default()
14158 driver_name: unsafe { ::std::mem::zeroed() }, in default()
14159 driver_info: unsafe { ::std::mem::zeroed() }, in default()
14165 pub fn builder<'a>() -> PhysicalDeviceDriverPropertiesBuilder<'a> { in builder()
14168 marker: ::std::marker::PhantomData, in builder()
14175 marker: ::std::marker::PhantomData<&'a ()>,
14179 impl<'a> ::std::ops::Deref for PhysicalDeviceDriverPropertiesBuilder<'a> {
14181 fn deref(&self) -> &Self::Target { in deref()
14185 impl<'a> ::std::ops::DerefMut for PhysicalDeviceDriverPropertiesBuilder<'a> {
14186 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
14191 pub fn driver_id(mut self, driver_id: DriverId) -> Self { in driver_id()
14195 pub fn driver_name(mut self, driver_name: [c_char; MAX_DRIVER_NAME_SIZE]) -> Self { in driver_name()
14199 pub fn driver_info(mut self, driver_info: [c_char; MAX_DRIVER_INFO_SIZE]) -> Self { in driver_info()
14203 pub fn conformance_version(mut self, conformance_version: ConformanceVersion) -> Self { in conformance_version()
14207 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
14210 pub fn build(self) -> PhysicalDeviceDriverProperties { in build() method
14216 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPresentRegionsKHR…
14223 impl ::std::default::Default for PresentRegionsKHR {
14224 fn default() -> PresentRegionsKHR { in default()
14227 p_next: ::std::ptr::null(), in default()
14229 p_regions: ::std::ptr::null(), in default()
14234 pub fn builder<'a>() -> PresentRegionsKHRBuilder<'a> { in builder()
14237 marker: ::std::marker::PhantomData, in builder()
14244 marker: ::std::marker::PhantomData<&'a ()>,
14248 impl<'a> ::std::ops::Deref for PresentRegionsKHRBuilder<'a> {
14250 fn deref(&self) -> &Self::Target { in deref()
14254 impl<'a> ::std::ops::DerefMut for PresentRegionsKHRBuilder<'a> {
14255 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
14260 pub fn regions(mut self, regions: &'a [PresentRegionKHR]) -> Self { in regions()
14265 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
14268 pub fn build(self) -> PresentRegionsKHR { in build() method
14274 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPresentRegionKHR.…
14279 impl ::std::default::Default for PresentRegionKHR {
14280 fn default() -> PresentRegionKHR { in default()
14283 p_rectangles: ::std::ptr::null(), in default()
14288 pub fn builder<'a>() -> PresentRegionKHRBuilder<'a> { in builder()
14291 marker: ::std::marker::PhantomData, in builder()
14298 marker: ::std::marker::PhantomData<&'a ()>,
14300 impl<'a> ::std::ops::Deref for PresentRegionKHRBuilder<'a> {
14302 fn deref(&self) -> &Self::Target { in deref()
14306 impl<'a> ::std::ops::DerefMut for PresentRegionKHRBuilder<'a> {
14307 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
14312 pub fn rectangles(mut self, rectangles: &'a [RectLayerKHR]) -> Self { in rectangles()
14317 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
14320 pub fn build(self) -> PresentRegionKHR { in build() method
14326 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkRectLayerKHR.html…
14333 pub fn builder<'a>() -> RectLayerKHRBuilder<'a> { in builder()
14336 marker: ::std::marker::PhantomData, in builder()
14343 marker: ::std::marker::PhantomData<&'a ()>,
14345 impl<'a> ::std::ops::Deref for RectLayerKHRBuilder<'a> {
14347 fn deref(&self) -> &Self::Target { in deref()
14351 impl<'a> ::std::ops::DerefMut for RectLayerKHRBuilder<'a> {
14352 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
14357 pub fn offset(mut self, offset: Offset2D) -> Self { in offset()
14361 pub fn extent(mut self, extent: Extent2D) -> Self { in extent()
14365 pub fn layer(mut self, layer: u32) -> Self { in layer()
14369 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
14372 pub fn build(self) -> RectLayerKHR { in build() method
14378 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceVar…
14385 impl ::std::default::Default for PhysicalDeviceVariablePointersFeatures {
14386 fn default() -> PhysicalDeviceVariablePointersFeatures { in default()
14389 p_next: ::std::ptr::null_mut(), in default()
14396 pub fn builder<'a>() -> PhysicalDeviceVariablePointersFeaturesBuilder<'a> { in builder()
14399 marker: ::std::marker::PhantomData, in builder()
14406 marker: ::std::marker::PhantomData<&'a ()>,
14412 impl<'a> ::std::ops::Deref for PhysicalDeviceVariablePointersFeaturesBuilder<'a> {
14414 fn deref(&self) -> &Self::Target { in deref()
14418 impl<'a> ::std::ops::DerefMut for PhysicalDeviceVariablePointersFeaturesBuilder<'a> {
14419 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
14427 ) -> Self { in variable_pointers_storage_buffer()
14431 pub fn variable_pointers(mut self, variable_pointers: bool) -> Self { in variable_pointers()
14435 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
14438 pub fn build(self) -> PhysicalDeviceVariablePointersFeatures { in build() method
14444 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkExternalMemoryPro…
14451 pub fn builder<'a>() -> ExternalMemoryPropertiesBuilder<'a> { in builder()
14454 marker: ::std::marker::PhantomData, in builder()
14461 marker: ::std::marker::PhantomData<&'a ()>,
14463 impl<'a> ::std::ops::Deref for ExternalMemoryPropertiesBuilder<'a> {
14465 fn deref(&self) -> &Self::Target { in deref()
14469 impl<'a> ::std::ops::DerefMut for ExternalMemoryPropertiesBuilder<'a> {
14470 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
14478 ) -> Self { in external_memory_features()
14485 ) -> Self { in export_from_imported_handle_types()
14492 ) -> Self { in compatible_handle_types()
14496 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
14499 pub fn build(self) -> ExternalMemoryProperties { in build() method
14505 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceExt…
14511 impl ::std::default::Default for PhysicalDeviceExternalImageFormatInfo {
14512 fn default() -> PhysicalDeviceExternalImageFormatInfo { in default()
14515 p_next: ::std::ptr::null(), in default()
14521 pub fn builder<'a>() -> PhysicalDeviceExternalImageFormatInfoBuilder<'a> { in builder()
14524 marker: ::std::marker::PhantomData, in builder()
14531 marker: ::std::marker::PhantomData<&'a ()>,
14538 impl<'a> ::std::ops::Deref for PhysicalDeviceExternalImageFormatInfoBuilder<'a> {
14540 fn deref(&self) -> &Self::Target { in deref()
14544 impl<'a> ::std::ops::DerefMut for PhysicalDeviceExternalImageFormatInfoBuilder<'a> {
14545 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
14550 pub fn handle_type(mut self, handle_type: ExternalMemoryHandleTypeFlags) -> Self { in handle_type()
14554 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
14557 pub fn build(self) -> PhysicalDeviceExternalImageFormatInfo { in build() method
14563 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkExternalImageForm…
14569 impl ::std::default::Default for ExternalImageFormatProperties {
14570 fn default() -> ExternalImageFormatProperties { in default()
14573 p_next: ::std::ptr::null_mut(), in default()
14579 pub fn builder<'a>() -> ExternalImageFormatPropertiesBuilder<'a> { in builder()
14582 marker: ::std::marker::PhantomData, in builder()
14589 marker: ::std::marker::PhantomData<&'a ()>,
14593 impl<'a> ::std::ops::Deref for ExternalImageFormatPropertiesBuilder<'a> {
14595 fn deref(&self) -> &Self::Target { in deref()
14599 impl<'a> ::std::ops::DerefMut for ExternalImageFormatPropertiesBuilder<'a> {
14600 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
14608 ) -> Self { in external_memory_properties()
14612 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
14615 pub fn build(self) -> ExternalImageFormatProperties { in build() method
14621 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceExt…
14629 impl ::std::default::Default for PhysicalDeviceExternalBufferInfo {
14630 fn default() -> PhysicalDeviceExternalBufferInfo { in default()
14633 p_next: ::std::ptr::null(), in default()
14641 pub fn builder<'a>() -> PhysicalDeviceExternalBufferInfoBuilder<'a> { in builder()
14644 marker: ::std::marker::PhantomData, in builder()
14651 marker: ::std::marker::PhantomData<&'a ()>,
14653 impl<'a> ::std::ops::Deref for PhysicalDeviceExternalBufferInfoBuilder<'a> {
14655 fn deref(&self) -> &Self::Target { in deref()
14659 impl<'a> ::std::ops::DerefMut for PhysicalDeviceExternalBufferInfoBuilder<'a> {
14660 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
14665 pub fn flags(mut self, flags: BufferCreateFlags) -> Self { in flags()
14669 pub fn usage(mut self, usage: BufferUsageFlags) -> Self { in usage()
14673 pub fn handle_type(mut self, handle_type: ExternalMemoryHandleTypeFlags) -> Self { in handle_type()
14677 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
14680 pub fn build(self) -> PhysicalDeviceExternalBufferInfo { in build() method
14686 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkExternalBufferPro…
14692 impl ::std::default::Default for ExternalBufferProperties {
14693 fn default() -> ExternalBufferProperties { in default()
14696 p_next: ::std::ptr::null_mut(), in default()
14702 pub fn builder<'a>() -> ExternalBufferPropertiesBuilder<'a> { in builder()
14705 marker: ::std::marker::PhantomData, in builder()
14712 marker: ::std::marker::PhantomData<&'a ()>,
14714 impl<'a> ::std::ops::Deref for ExternalBufferPropertiesBuilder<'a> {
14716 fn deref(&self) -> &Self::Target { in deref()
14720 impl<'a> ::std::ops::DerefMut for ExternalBufferPropertiesBuilder<'a> {
14721 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
14729 ) -> Self { in external_memory_properties()
14733 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
14736 pub fn build(self) -> ExternalBufferProperties { in build() method
14742 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceIDP…
14752 impl ::std::default::Default for PhysicalDeviceIDProperties {
14753 fn default() -> PhysicalDeviceIDProperties { in default()
14756 p_next: ::std::ptr::null_mut(), in default()
14757 device_uuid: unsafe { ::std::mem::zeroed() }, in default()
14758 driver_uuid: unsafe { ::std::mem::zeroed() }, in default()
14759 device_luid: unsafe { ::std::mem::zeroed() }, in default()
14766 pub fn builder<'a>() -> PhysicalDeviceIDPropertiesBuilder<'a> { in builder()
14769 marker: ::std::marker::PhantomData, in builder()
14776 marker: ::std::marker::PhantomData<&'a ()>,
14780 impl<'a> ::std::ops::Deref for PhysicalDeviceIDPropertiesBuilder<'a> {
14782 fn deref(&self) -> &Self::Target { in deref()
14786 impl<'a> ::std::ops::DerefMut for PhysicalDeviceIDPropertiesBuilder<'a> {
14787 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
14792 pub fn device_uuid(mut self, device_uuid: [u8; UUID_SIZE]) -> Self { in device_uuid()
14796 pub fn driver_uuid(mut self, driver_uuid: [u8; UUID_SIZE]) -> Self { in driver_uuid()
14800 pub fn device_luid(mut self, device_luid: [u8; LUID_SIZE]) -> Self { in device_luid()
14804 pub fn device_node_mask(mut self, device_node_mask: u32) -> Self { in device_node_mask()
14808 pub fn device_luid_valid(mut self, device_luid_valid: bool) -> Self { in device_luid_valid()
14812 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
14815 pub fn build(self) -> PhysicalDeviceIDProperties { in build() method
14821 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkExternalMemoryIma…
14827 impl ::std::default::Default for ExternalMemoryImageCreateInfo {
14828 fn default() -> ExternalMemoryImageCreateInfo { in default()
14831 p_next: ::std::ptr::null(), in default()
14837 pub fn builder<'a>() -> ExternalMemoryImageCreateInfoBuilder<'a> { in builder()
14840 marker: ::std::marker::PhantomData, in builder()
14847 marker: ::std::marker::PhantomData<&'a ()>,
14851 impl<'a> ::std::ops::Deref for ExternalMemoryImageCreateInfoBuilder<'a> {
14853 fn deref(&self) -> &Self::Target { in deref()
14857 impl<'a> ::std::ops::DerefMut for ExternalMemoryImageCreateInfoBuilder<'a> {
14858 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
14863 pub fn handle_types(mut self, handle_types: ExternalMemoryHandleTypeFlags) -> Self { in handle_types()
14867 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
14870 pub fn build(self) -> ExternalMemoryImageCreateInfo { in build() method
14876 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkExternalMemoryBuf…
14882 impl ::std::default::Default for ExternalMemoryBufferCreateInfo {
14883 fn default() -> ExternalMemoryBufferCreateInfo { in default()
14886 p_next: ::std::ptr::null(), in default()
14892 pub fn builder<'a>() -> ExternalMemoryBufferCreateInfoBuilder<'a> { in builder()
14895 marker: ::std::marker::PhantomData, in builder()
14902 marker: ::std::marker::PhantomData<&'a ()>,
14906 impl<'a> ::std::ops::Deref for ExternalMemoryBufferCreateInfoBuilder<'a> {
14908 fn deref(&self) -> &Self::Target { in deref()
14912 impl<'a> ::std::ops::DerefMut for ExternalMemoryBufferCreateInfoBuilder<'a> {
14913 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
14918 pub fn handle_types(mut self, handle_types: ExternalMemoryHandleTypeFlags) -> Self { in handle_types()
14922 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
14925 pub fn build(self) -> ExternalMemoryBufferCreateInfo { in build() method
14931 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkExportMemoryAlloc…
14937 impl ::std::default::Default for ExportMemoryAllocateInfo {
14938 fn default() -> ExportMemoryAllocateInfo { in default()
14941 p_next: ::std::ptr::null(), in default()
14947 pub fn builder<'a>() -> ExportMemoryAllocateInfoBuilder<'a> { in builder()
14950 marker: ::std::marker::PhantomData, in builder()
14957 marker: ::std::marker::PhantomData<&'a ()>,
14961 impl<'a> ::std::ops::Deref for ExportMemoryAllocateInfoBuilder<'a> {
14963 fn deref(&self) -> &Self::Target { in deref()
14967 impl<'a> ::std::ops::DerefMut for ExportMemoryAllocateInfoBuilder<'a> {
14968 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
14973 pub fn handle_types(mut self, handle_types: ExternalMemoryHandleTypeFlags) -> Self { in handle_types()
14977 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
14980 pub fn build(self) -> ExportMemoryAllocateInfo { in build() method
14986 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImportMemoryWin32…
14994 impl ::std::default::Default for ImportMemoryWin32HandleInfoKHR {
14995 fn default() -> ImportMemoryWin32HandleInfoKHR { in default()
14998 p_next: ::std::ptr::null(), in default()
15000 handle: unsafe { ::std::mem::zeroed() }, in default()
15001 name: unsafe { ::std::mem::zeroed() }, in default()
15006 pub fn builder<'a>() -> ImportMemoryWin32HandleInfoKHRBuilder<'a> { in builder()
15009 marker: ::std::marker::PhantomData, in builder()
15016 marker: ::std::marker::PhantomData<&'a ()>,
15020 impl<'a> ::std::ops::Deref for ImportMemoryWin32HandleInfoKHRBuilder<'a> {
15022 fn deref(&self) -> &Self::Target { in deref()
15026 impl<'a> ::std::ops::DerefMut for ImportMemoryWin32HandleInfoKHRBuilder<'a> {
15027 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
15032 pub fn handle_type(mut self, handle_type: ExternalMemoryHandleTypeFlags) -> Self { in handle_type()
15036 pub fn handle(mut self, handle: HANDLE) -> Self { in handle()
15040 pub fn name(mut self, name: LPCWSTR) -> Self { in name()
15044 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
15047 pub fn build(self) -> ImportMemoryWin32HandleInfoKHR { in build() method
15053 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkExportMemoryWin32…
15061 impl ::std::default::Default for ExportMemoryWin32HandleInfoKHR {
15062 fn default() -> ExportMemoryWin32HandleInfoKHR { in default()
15065 p_next: ::std::ptr::null(), in default()
15066 p_attributes: ::std::ptr::null(), in default()
15068 name: unsafe { ::std::mem::zeroed() }, in default()
15073 pub fn builder<'a>() -> ExportMemoryWin32HandleInfoKHRBuilder<'a> { in builder()
15076 marker: ::std::marker::PhantomData, in builder()
15083 marker: ::std::marker::PhantomData<&'a ()>,
15087 impl<'a> ::std::ops::Deref for ExportMemoryWin32HandleInfoKHRBuilder<'a> {
15089 fn deref(&self) -> &Self::Target { in deref()
15093 impl<'a> ::std::ops::DerefMut for ExportMemoryWin32HandleInfoKHRBuilder<'a> {
15094 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
15099 pub fn attributes(mut self, attributes: &'a SECURITY_ATTRIBUTES) -> Self { in attributes()
15103 pub fn dw_access(mut self, dw_access: DWORD) -> Self { in dw_access()
15107 pub fn name(mut self, name: LPCWSTR) -> Self { in name()
15111 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
15114 pub fn build(self) -> ExportMemoryWin32HandleInfoKHR { in build() method
15120 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImportMemoryZirco…
15127 impl ::std::default::Default for ImportMemoryZirconHandleInfoFUCHSIA {
15128 fn default() -> ImportMemoryZirconHandleInfoFUCHSIA { in default()
15131 p_next: ::std::ptr::null(), in default()
15138 pub fn builder<'a>() -> ImportMemoryZirconHandleInfoFUCHSIABuilder<'a> { in builder()
15141 marker: ::std::marker::PhantomData, in builder()
15148 marker: ::std::marker::PhantomData<&'a ()>,
15152 impl<'a> ::std::ops::Deref for ImportMemoryZirconHandleInfoFUCHSIABuilder<'a> {
15154 fn deref(&self) -> &Self::Target { in deref()
15158 impl<'a> ::std::ops::DerefMut for ImportMemoryZirconHandleInfoFUCHSIABuilder<'a> {
15159 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
15164 pub fn handle_type(mut self, handle_type: ExternalMemoryHandleTypeFlags) -> Self { in handle_type()
15168 pub fn handle(mut self, handle: zx_handle_t) -> Self { in handle()
15172 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
15175 pub fn build(self) -> ImportMemoryZirconHandleInfoFUCHSIA { in build() method
15181 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMemoryZirconHandl…
15187 impl ::std::default::Default for MemoryZirconHandlePropertiesFUCHSIA {
15188 fn default() -> MemoryZirconHandlePropertiesFUCHSIA { in default()
15191 p_next: ::std::ptr::null_mut(), in default()
15197 pub fn builder<'a>() -> MemoryZirconHandlePropertiesFUCHSIABuilder<'a> { in builder()
15200 marker: ::std::marker::PhantomData, in builder()
15207 marker: ::std::marker::PhantomData<&'a ()>,
15209 impl<'a> ::std::ops::Deref for MemoryZirconHandlePropertiesFUCHSIABuilder<'a> {
15211 fn deref(&self) -> &Self::Target { in deref()
15215 impl<'a> ::std::ops::DerefMut for MemoryZirconHandlePropertiesFUCHSIABuilder<'a> {
15216 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
15221 pub fn memory_type_bits(mut self, memory_type_bits: u32) -> Self { in memory_type_bits()
15225 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
15228 pub fn build(self) -> MemoryZirconHandlePropertiesFUCHSIA { in build() method
15234 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMemoryGetZirconHa…
15241 impl ::std::default::Default for MemoryGetZirconHandleInfoFUCHSIA {
15242 fn default() -> MemoryGetZirconHandleInfoFUCHSIA { in default()
15245 p_next: ::std::ptr::null(), in default()
15252 pub fn builder<'a>() -> MemoryGetZirconHandleInfoFUCHSIABuilder<'a> { in builder()
15255 marker: ::std::marker::PhantomData, in builder()
15262 marker: ::std::marker::PhantomData<&'a ()>,
15264 impl<'a> ::std::ops::Deref for MemoryGetZirconHandleInfoFUCHSIABuilder<'a> {
15266 fn deref(&self) -> &Self::Target { in deref()
15270 impl<'a> ::std::ops::DerefMut for MemoryGetZirconHandleInfoFUCHSIABuilder<'a> {
15271 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
15276 pub fn memory(mut self, memory: DeviceMemory) -> Self { in memory()
15280 pub fn handle_type(mut self, handle_type: ExternalMemoryHandleTypeFlags) -> Self { in handle_type()
15284 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
15287 pub fn build(self) -> MemoryGetZirconHandleInfoFUCHSIA { in build() method
15293 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMemoryWin32Handle…
15299 impl ::std::default::Default for MemoryWin32HandlePropertiesKHR {
15300 fn default() -> MemoryWin32HandlePropertiesKHR { in default()
15303 p_next: ::std::ptr::null_mut(), in default()
15309 pub fn builder<'a>() -> MemoryWin32HandlePropertiesKHRBuilder<'a> { in builder()
15312 marker: ::std::marker::PhantomData, in builder()
15319 marker: ::std::marker::PhantomData<&'a ()>,
15321 impl<'a> ::std::ops::Deref for MemoryWin32HandlePropertiesKHRBuilder<'a> {
15323 fn deref(&self) -> &Self::Target { in deref()
15327 impl<'a> ::std::ops::DerefMut for MemoryWin32HandlePropertiesKHRBuilder<'a> {
15328 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
15333 pub fn memory_type_bits(mut self, memory_type_bits: u32) -> Self { in memory_type_bits()
15337 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
15340 pub fn build(self) -> MemoryWin32HandlePropertiesKHR { in build() method
15346 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMemoryGetWin32Han…
15353 impl ::std::default::Default for MemoryGetWin32HandleInfoKHR {
15354 fn default() -> MemoryGetWin32HandleInfoKHR { in default()
15357 p_next: ::std::ptr::null(), in default()
15364 pub fn builder<'a>() -> MemoryGetWin32HandleInfoKHRBuilder<'a> { in builder()
15367 marker: ::std::marker::PhantomData, in builder()
15374 marker: ::std::marker::PhantomData<&'a ()>,
15376 impl<'a> ::std::ops::Deref for MemoryGetWin32HandleInfoKHRBuilder<'a> {
15378 fn deref(&self) -> &Self::Target { in deref()
15382 impl<'a> ::std::ops::DerefMut for MemoryGetWin32HandleInfoKHRBuilder<'a> {
15383 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
15388 pub fn memory(mut self, memory: DeviceMemory) -> Self { in memory()
15392 pub fn handle_type(mut self, handle_type: ExternalMemoryHandleTypeFlags) -> Self { in handle_type()
15396 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
15399 pub fn build(self) -> MemoryGetWin32HandleInfoKHR { in build() method
15405 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImportMemoryFdInf…
15412 impl ::std::default::Default for ImportMemoryFdInfoKHR {
15413 fn default() -> ImportMemoryFdInfoKHR { in default()
15416 p_next: ::std::ptr::null(), in default()
15423 pub fn builder<'a>() -> ImportMemoryFdInfoKHRBuilder<'a> { in builder()
15426 marker: ::std::marker::PhantomData, in builder()
15433 marker: ::std::marker::PhantomData<&'a ()>,
15437 impl<'a> ::std::ops::Deref for ImportMemoryFdInfoKHRBuilder<'a> {
15439 fn deref(&self) -> &Self::Target { in deref()
15443 impl<'a> ::std::ops::DerefMut for ImportMemoryFdInfoKHRBuilder<'a> {
15444 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
15449 pub fn handle_type(mut self, handle_type: ExternalMemoryHandleTypeFlags) -> Self { in handle_type()
15453 pub fn fd(mut self, fd: c_int) -> Self { in fd()
15457 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
15460 pub fn build(self) -> ImportMemoryFdInfoKHR { in build() method
15466 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMemoryFdPropertie…
15472 impl ::std::default::Default for MemoryFdPropertiesKHR {
15473 fn default() -> MemoryFdPropertiesKHR { in default()
15476 p_next: ::std::ptr::null_mut(), in default()
15482 pub fn builder<'a>() -> MemoryFdPropertiesKHRBuilder<'a> { in builder()
15485 marker: ::std::marker::PhantomData, in builder()
15492 marker: ::std::marker::PhantomData<&'a ()>,
15494 impl<'a> ::std::ops::Deref for MemoryFdPropertiesKHRBuilder<'a> {
15496 fn deref(&self) -> &Self::Target { in deref()
15500 impl<'a> ::std::ops::DerefMut for MemoryFdPropertiesKHRBuilder<'a> {
15501 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
15506 pub fn memory_type_bits(mut self, memory_type_bits: u32) -> Self { in memory_type_bits()
15510 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
15513 pub fn build(self) -> MemoryFdPropertiesKHR { in build() method
15519 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMemoryGetFdInfoKH…
15526 impl ::std::default::Default for MemoryGetFdInfoKHR {
15527 fn default() -> MemoryGetFdInfoKHR { in default()
15530 p_next: ::std::ptr::null(), in default()
15537 pub fn builder<'a>() -> MemoryGetFdInfoKHRBuilder<'a> { in builder()
15540 marker: ::std::marker::PhantomData, in builder()
15547 marker: ::std::marker::PhantomData<&'a ()>,
15549 impl<'a> ::std::ops::Deref for MemoryGetFdInfoKHRBuilder<'a> {
15551 fn deref(&self) -> &Self::Target { in deref()
15555 impl<'a> ::std::ops::DerefMut for MemoryGetFdInfoKHRBuilder<'a> {
15556 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
15561 pub fn memory(mut self, memory: DeviceMemory) -> Self { in memory()
15565 pub fn handle_type(mut self, handle_type: ExternalMemoryHandleTypeFlags) -> Self { in handle_type()
15569 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
15572 pub fn build(self) -> MemoryGetFdInfoKHR { in build() method
15578 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkWin32KeyedMutexAc…
15590 impl ::std::default::Default for Win32KeyedMutexAcquireReleaseInfoKHR {
15591 fn default() -> Win32KeyedMutexAcquireReleaseInfoKHR { in default()
15594 p_next: ::std::ptr::null(), in default()
15596 p_acquire_syncs: ::std::ptr::null(), in default()
15597 p_acquire_keys: ::std::ptr::null(), in default()
15598 p_acquire_timeouts: ::std::ptr::null(), in default()
15600 p_release_syncs: ::std::ptr::null(), in default()
15601 p_release_keys: ::std::ptr::null(), in default()
15606 pub fn builder<'a>() -> Win32KeyedMutexAcquireReleaseInfoKHRBuilder<'a> { in builder()
15609 marker: ::std::marker::PhantomData, in builder()
15616 marker: ::std::marker::PhantomData<&'a ()>,
15622 impl<'a> ::std::ops::Deref for Win32KeyedMutexAcquireReleaseInfoKHRBuilder<'a> {
15624 fn deref(&self) -> &Self::Target { in deref()
15628 impl<'a> ::std::ops::DerefMut for Win32KeyedMutexAcquireReleaseInfoKHRBuilder<'a> {
15629 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
15634 pub fn acquire_syncs(mut self, acquire_syncs: &'a [DeviceMemory]) -> Self { in acquire_syncs()
15639 pub fn acquire_keys(mut self, acquire_keys: &'a [u64]) -> Self { in acquire_keys()
15644 pub fn acquire_timeouts(mut self, acquire_timeouts: &'a [u32]) -> Self { in acquire_timeouts()
15649 pub fn release_syncs(mut self, release_syncs: &'a [DeviceMemory]) -> Self { in release_syncs()
15654 pub fn release_keys(mut self, release_keys: &'a [u64]) -> Self { in release_keys()
15659 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
15662 pub fn build(self) -> Win32KeyedMutexAcquireReleaseInfoKHR { in build() method
15668 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceExt…
15674 impl ::std::default::Default for PhysicalDeviceExternalSemaphoreInfo {
15675 fn default() -> PhysicalDeviceExternalSemaphoreInfo { in default()
15678 p_next: ::std::ptr::null(), in default()
15684 pub fn builder<'a>() -> PhysicalDeviceExternalSemaphoreInfoBuilder<'a> { in builder()
15687 marker: ::std::marker::PhantomData, in builder()
15694 marker: ::std::marker::PhantomData<&'a ()>,
15697 impl<'a> ::std::ops::Deref for PhysicalDeviceExternalSemaphoreInfoBuilder<'a> {
15699 fn deref(&self) -> &Self::Target { in deref()
15703 impl<'a> ::std::ops::DerefMut for PhysicalDeviceExternalSemaphoreInfoBuilder<'a> {
15704 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
15709 pub fn handle_type(mut self, handle_type: ExternalSemaphoreHandleTypeFlags) -> Self { in handle_type()
15716 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
15717 #[doc = r" chain will look like `A -> D -> B -> C`."]
15721 ) -> Self { in push_next()
15730 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
15733 pub fn build(self) -> PhysicalDeviceExternalSemaphoreInfo { in build() method
15739 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkExternalSemaphore…
15747 impl ::std::default::Default for ExternalSemaphoreProperties {
15748 fn default() -> ExternalSemaphoreProperties { in default()
15751 p_next: ::std::ptr::null_mut(), in default()
15759 pub fn builder<'a>() -> ExternalSemaphorePropertiesBuilder<'a> { in builder()
15762 marker: ::std::marker::PhantomData, in builder()
15769 marker: ::std::marker::PhantomData<&'a ()>,
15771 impl<'a> ::std::ops::Deref for ExternalSemaphorePropertiesBuilder<'a> {
15773 fn deref(&self) -> &Self::Target { in deref()
15777 impl<'a> ::std::ops::DerefMut for ExternalSemaphorePropertiesBuilder<'a> {
15778 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
15786 ) -> Self { in export_from_imported_handle_types()
15793 ) -> Self { in compatible_handle_types()
15800 ) -> Self { in external_semaphore_features()
15804 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
15807 pub fn build(self) -> ExternalSemaphoreProperties { in build() method
15813 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkExportSemaphoreCr…
15819 impl ::std::default::Default for ExportSemaphoreCreateInfo {
15820 fn default() -> ExportSemaphoreCreateInfo { in default()
15823 p_next: ::std::ptr::null(), in default()
15829 pub fn builder<'a>() -> ExportSemaphoreCreateInfoBuilder<'a> { in builder()
15832 marker: ::std::marker::PhantomData, in builder()
15839 marker: ::std::marker::PhantomData<&'a ()>,
15843 impl<'a> ::std::ops::Deref for ExportSemaphoreCreateInfoBuilder<'a> {
15845 fn deref(&self) -> &Self::Target { in deref()
15849 impl<'a> ::std::ops::DerefMut for ExportSemaphoreCreateInfoBuilder<'a> {
15850 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
15855 pub fn handle_types(mut self, handle_types: ExternalSemaphoreHandleTypeFlags) -> Self { in handle_types()
15859 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
15862 pub fn build(self) -> ExportSemaphoreCreateInfo { in build() method
15868 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImportSemaphoreWi…
15878 impl ::std::default::Default for ImportSemaphoreWin32HandleInfoKHR {
15879 fn default() -> ImportSemaphoreWin32HandleInfoKHR { in default()
15882 p_next: ::std::ptr::null(), in default()
15886 handle: unsafe { ::std::mem::zeroed() }, in default()
15887 name: unsafe { ::std::mem::zeroed() }, in default()
15892 pub fn builder<'a>() -> ImportSemaphoreWin32HandleInfoKHRBuilder<'a> { in builder()
15895 marker: ::std::marker::PhantomData, in builder()
15902 marker: ::std::marker::PhantomData<&'a ()>,
15904 impl<'a> ::std::ops::Deref for ImportSemaphoreWin32HandleInfoKHRBuilder<'a> {
15906 fn deref(&self) -> &Self::Target { in deref()
15910 impl<'a> ::std::ops::DerefMut for ImportSemaphoreWin32HandleInfoKHRBuilder<'a> {
15911 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
15916 pub fn semaphore(mut self, semaphore: Semaphore) -> Self { in semaphore()
15920 pub fn flags(mut self, flags: SemaphoreImportFlags) -> Self { in flags()
15924 pub fn handle_type(mut self, handle_type: ExternalSemaphoreHandleTypeFlags) -> Self { in handle_type()
15928 pub fn handle(mut self, handle: HANDLE) -> Self { in handle()
15932 pub fn name(mut self, name: LPCWSTR) -> Self { in name()
15936 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
15939 pub fn build(self) -> ImportSemaphoreWin32HandleInfoKHR { in build() method
15945 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkExportSemaphoreWi…
15953 impl ::std::default::Default for ExportSemaphoreWin32HandleInfoKHR {
15954 fn default() -> ExportSemaphoreWin32HandleInfoKHR { in default()
15957 p_next: ::std::ptr::null(), in default()
15958 p_attributes: ::std::ptr::null(), in default()
15960 name: unsafe { ::std::mem::zeroed() }, in default()
15965 pub fn builder<'a>() -> ExportSemaphoreWin32HandleInfoKHRBuilder<'a> { in builder()
15968 marker: ::std::marker::PhantomData, in builder()
15975 marker: ::std::marker::PhantomData<&'a ()>,
15979 impl<'a> ::std::ops::Deref for ExportSemaphoreWin32HandleInfoKHRBuilder<'a> {
15981 fn deref(&self) -> &Self::Target { in deref()
15985 impl<'a> ::std::ops::DerefMut for ExportSemaphoreWin32HandleInfoKHRBuilder<'a> {
15986 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
15991 pub fn attributes(mut self, attributes: &'a SECURITY_ATTRIBUTES) -> Self { in attributes()
15995 pub fn dw_access(mut self, dw_access: DWORD) -> Self { in dw_access()
15999 pub fn name(mut self, name: LPCWSTR) -> Self { in name()
16003 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
16006 pub fn build(self) -> ExportSemaphoreWin32HandleInfoKHR { in build() method
16012 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkD3D12FenceSubmitI…
16021 impl ::std::default::Default for D3D12FenceSubmitInfoKHR {
16022 fn default() -> D3D12FenceSubmitInfoKHR { in default()
16025 p_next: ::std::ptr::null(), in default()
16027 p_wait_semaphore_values: ::std::ptr::null(), in default()
16029 p_signal_semaphore_values: ::std::ptr::null(), in default()
16034 pub fn builder<'a>() -> D3D12FenceSubmitInfoKHRBuilder<'a> { in builder()
16037 marker: ::std::marker::PhantomData, in builder()
16044 marker: ::std::marker::PhantomData<&'a ()>,
16048 impl<'a> ::std::ops::Deref for D3D12FenceSubmitInfoKHRBuilder<'a> {
16050 fn deref(&self) -> &Self::Target { in deref()
16054 impl<'a> ::std::ops::DerefMut for D3D12FenceSubmitInfoKHRBuilder<'a> {
16055 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
16060 pub fn wait_semaphore_values(mut self, wait_semaphore_values: &'a [u64]) -> Self { in wait_semaphore_values()
16065 pub fn signal_semaphore_values(mut self, signal_semaphore_values: &'a [u64]) -> Self { in signal_semaphore_values()
16070 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
16073 pub fn build(self) -> D3D12FenceSubmitInfoKHR { in build() method
16079 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSemaphoreGetWin32…
16086 impl ::std::default::Default for SemaphoreGetWin32HandleInfoKHR {
16087 fn default() -> SemaphoreGetWin32HandleInfoKHR { in default()
16090 p_next: ::std::ptr::null(), in default()
16097 pub fn builder<'a>() -> SemaphoreGetWin32HandleInfoKHRBuilder<'a> { in builder()
16100 marker: ::std::marker::PhantomData, in builder()
16107 marker: ::std::marker::PhantomData<&'a ()>,
16109 impl<'a> ::std::ops::Deref for SemaphoreGetWin32HandleInfoKHRBuilder<'a> {
16111 fn deref(&self) -> &Self::Target { in deref()
16115 impl<'a> ::std::ops::DerefMut for SemaphoreGetWin32HandleInfoKHRBuilder<'a> {
16116 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
16121 pub fn semaphore(mut self, semaphore: Semaphore) -> Self { in semaphore()
16125 pub fn handle_type(mut self, handle_type: ExternalSemaphoreHandleTypeFlags) -> Self { in handle_type()
16129 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
16132 pub fn build(self) -> SemaphoreGetWin32HandleInfoKHR { in build() method
16138 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImportSemaphoreFd…
16147 impl ::std::default::Default for ImportSemaphoreFdInfoKHR {
16148 fn default() -> ImportSemaphoreFdInfoKHR { in default()
16151 p_next: ::std::ptr::null(), in default()
16160 pub fn builder<'a>() -> ImportSemaphoreFdInfoKHRBuilder<'a> { in builder()
16163 marker: ::std::marker::PhantomData, in builder()
16170 marker: ::std::marker::PhantomData<&'a ()>,
16172 impl<'a> ::std::ops::Deref for ImportSemaphoreFdInfoKHRBuilder<'a> {
16174 fn deref(&self) -> &Self::Target { in deref()
16178 impl<'a> ::std::ops::DerefMut for ImportSemaphoreFdInfoKHRBuilder<'a> {
16179 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
16184 pub fn semaphore(mut self, semaphore: Semaphore) -> Self { in semaphore()
16188 pub fn flags(mut self, flags: SemaphoreImportFlags) -> Self { in flags()
16192 pub fn handle_type(mut self, handle_type: ExternalSemaphoreHandleTypeFlags) -> Self { in handle_type()
16196 pub fn fd(mut self, fd: c_int) -> Self { in fd()
16200 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
16203 pub fn build(self) -> ImportSemaphoreFdInfoKHR { in build() method
16209 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSemaphoreGetFdInf…
16216 impl ::std::default::Default for SemaphoreGetFdInfoKHR {
16217 fn default() -> SemaphoreGetFdInfoKHR { in default()
16220 p_next: ::std::ptr::null(), in default()
16227 pub fn builder<'a>() -> SemaphoreGetFdInfoKHRBuilder<'a> { in builder()
16230 marker: ::std::marker::PhantomData, in builder()
16237 marker: ::std::marker::PhantomData<&'a ()>,
16239 impl<'a> ::std::ops::Deref for SemaphoreGetFdInfoKHRBuilder<'a> {
16241 fn deref(&self) -> &Self::Target { in deref()
16245 impl<'a> ::std::ops::DerefMut for SemaphoreGetFdInfoKHRBuilder<'a> {
16246 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
16251 pub fn semaphore(mut self, semaphore: Semaphore) -> Self { in semaphore()
16255 pub fn handle_type(mut self, handle_type: ExternalSemaphoreHandleTypeFlags) -> Self { in handle_type()
16259 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
16262 pub fn build(self) -> SemaphoreGetFdInfoKHR { in build() method
16268 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImportSemaphoreZi…
16277 impl ::std::default::Default for ImportSemaphoreZirconHandleInfoFUCHSIA {
16278 fn default() -> ImportSemaphoreZirconHandleInfoFUCHSIA { in default()
16281 p_next: ::std::ptr::null(), in default()
16290 pub fn builder<'a>() -> ImportSemaphoreZirconHandleInfoFUCHSIABuilder<'a> { in builder()
16293 marker: ::std::marker::PhantomData, in builder()
16300 marker: ::std::marker::PhantomData<&'a ()>,
16302 impl<'a> ::std::ops::Deref for ImportSemaphoreZirconHandleInfoFUCHSIABuilder<'a> {
16304 fn deref(&self) -> &Self::Target { in deref()
16308 impl<'a> ::std::ops::DerefMut for ImportSemaphoreZirconHandleInfoFUCHSIABuilder<'a> {
16309 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
16314 pub fn semaphore(mut self, semaphore: Semaphore) -> Self { in semaphore()
16318 pub fn flags(mut self, flags: SemaphoreImportFlags) -> Self { in flags()
16322 pub fn handle_type(mut self, handle_type: ExternalSemaphoreHandleTypeFlags) -> Self { in handle_type()
16326 pub fn zircon_handle(mut self, zircon_handle: zx_handle_t) -> Self { in zircon_handle()
16330 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
16333 pub fn build(self) -> ImportSemaphoreZirconHandleInfoFUCHSIA { in build() method
16339 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSemaphoreGetZirco…
16346 impl ::std::default::Default for SemaphoreGetZirconHandleInfoFUCHSIA {
16347 fn default() -> SemaphoreGetZirconHandleInfoFUCHSIA { in default()
16350 p_next: ::std::ptr::null(), in default()
16357 pub fn builder<'a>() -> SemaphoreGetZirconHandleInfoFUCHSIABuilder<'a> { in builder()
16360 marker: ::std::marker::PhantomData, in builder()
16367 marker: ::std::marker::PhantomData<&'a ()>,
16369 impl<'a> ::std::ops::Deref for SemaphoreGetZirconHandleInfoFUCHSIABuilder<'a> {
16371 fn deref(&self) -> &Self::Target { in deref()
16375 impl<'a> ::std::ops::DerefMut for SemaphoreGetZirconHandleInfoFUCHSIABuilder<'a> {
16376 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
16381 pub fn semaphore(mut self, semaphore: Semaphore) -> Self { in semaphore()
16385 pub fn handle_type(mut self, handle_type: ExternalSemaphoreHandleTypeFlags) -> Self { in handle_type()
16389 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
16392 pub fn build(self) -> SemaphoreGetZirconHandleInfoFUCHSIA { in build() method
16398 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceExt…
16404 impl ::std::default::Default for PhysicalDeviceExternalFenceInfo {
16405 fn default() -> PhysicalDeviceExternalFenceInfo { in default()
16408 p_next: ::std::ptr::null(), in default()
16414 pub fn builder<'a>() -> PhysicalDeviceExternalFenceInfoBuilder<'a> { in builder()
16417 marker: ::std::marker::PhantomData, in builder()
16424 marker: ::std::marker::PhantomData<&'a ()>,
16426 impl<'a> ::std::ops::Deref for PhysicalDeviceExternalFenceInfoBuilder<'a> {
16428 fn deref(&self) -> &Self::Target { in deref()
16432 impl<'a> ::std::ops::DerefMut for PhysicalDeviceExternalFenceInfoBuilder<'a> {
16433 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
16438 pub fn handle_type(mut self, handle_type: ExternalFenceHandleTypeFlags) -> Self { in handle_type()
16442 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
16445 pub fn build(self) -> PhysicalDeviceExternalFenceInfo { in build() method
16451 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkExternalFenceProp…
16459 impl ::std::default::Default for ExternalFenceProperties {
16460 fn default() -> ExternalFenceProperties { in default()
16463 p_next: ::std::ptr::null_mut(), in default()
16471 pub fn builder<'a>() -> ExternalFencePropertiesBuilder<'a> { in builder()
16474 marker: ::std::marker::PhantomData, in builder()
16481 marker: ::std::marker::PhantomData<&'a ()>,
16483 impl<'a> ::std::ops::Deref for ExternalFencePropertiesBuilder<'a> {
16485 fn deref(&self) -> &Self::Target { in deref()
16489 impl<'a> ::std::ops::DerefMut for ExternalFencePropertiesBuilder<'a> {
16490 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
16498 ) -> Self { in export_from_imported_handle_types()
16505 ) -> Self { in compatible_handle_types()
16512 ) -> Self { in external_fence_features()
16516 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
16519 pub fn build(self) -> ExternalFenceProperties { in build() method
16525 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkExportFenceCreate…
16531 impl ::std::default::Default for ExportFenceCreateInfo {
16532 fn default() -> ExportFenceCreateInfo { in default()
16535 p_next: ::std::ptr::null(), in default()
16541 pub fn builder<'a>() -> ExportFenceCreateInfoBuilder<'a> { in builder()
16544 marker: ::std::marker::PhantomData, in builder()
16551 marker: ::std::marker::PhantomData<&'a ()>,
16555 impl<'a> ::std::ops::Deref for ExportFenceCreateInfoBuilder<'a> {
16557 fn deref(&self) -> &Self::Target { in deref()
16561 impl<'a> ::std::ops::DerefMut for ExportFenceCreateInfoBuilder<'a> {
16562 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
16567 pub fn handle_types(mut self, handle_types: ExternalFenceHandleTypeFlags) -> Self { in handle_types()
16571 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
16574 pub fn build(self) -> ExportFenceCreateInfo { in build() method
16580 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImportFenceWin32H…
16590 impl ::std::default::Default for ImportFenceWin32HandleInfoKHR {
16591 fn default() -> ImportFenceWin32HandleInfoKHR { in default()
16594 p_next: ::std::ptr::null(), in default()
16598 handle: unsafe { ::std::mem::zeroed() }, in default()
16599 name: unsafe { ::std::mem::zeroed() }, in default()
16604 pub fn builder<'a>() -> ImportFenceWin32HandleInfoKHRBuilder<'a> { in builder()
16607 marker: ::std::marker::PhantomData, in builder()
16614 marker: ::std::marker::PhantomData<&'a ()>,
16616 impl<'a> ::std::ops::Deref for ImportFenceWin32HandleInfoKHRBuilder<'a> {
16618 fn deref(&self) -> &Self::Target { in deref()
16622 impl<'a> ::std::ops::DerefMut for ImportFenceWin32HandleInfoKHRBuilder<'a> {
16623 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
16628 pub fn fence(mut self, fence: Fence) -> Self { in fence()
16632 pub fn flags(mut self, flags: FenceImportFlags) -> Self { in flags()
16636 pub fn handle_type(mut self, handle_type: ExternalFenceHandleTypeFlags) -> Self { in handle_type()
16640 pub fn handle(mut self, handle: HANDLE) -> Self { in handle()
16644 pub fn name(mut self, name: LPCWSTR) -> Self { in name()
16648 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
16651 pub fn build(self) -> ImportFenceWin32HandleInfoKHR { in build() method
16657 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkExportFenceWin32H…
16665 impl ::std::default::Default for ExportFenceWin32HandleInfoKHR {
16666 fn default() -> ExportFenceWin32HandleInfoKHR { in default()
16669 p_next: ::std::ptr::null(), in default()
16670 p_attributes: ::std::ptr::null(), in default()
16672 name: unsafe { ::std::mem::zeroed() }, in default()
16677 pub fn builder<'a>() -> ExportFenceWin32HandleInfoKHRBuilder<'a> { in builder()
16680 marker: ::std::marker::PhantomData, in builder()
16687 marker: ::std::marker::PhantomData<&'a ()>,
16691 impl<'a> ::std::ops::Deref for ExportFenceWin32HandleInfoKHRBuilder<'a> {
16693 fn deref(&self) -> &Self::Target { in deref()
16697 impl<'a> ::std::ops::DerefMut for ExportFenceWin32HandleInfoKHRBuilder<'a> {
16698 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
16703 pub fn attributes(mut self, attributes: &'a SECURITY_ATTRIBUTES) -> Self { in attributes()
16707 pub fn dw_access(mut self, dw_access: DWORD) -> Self { in dw_access()
16711 pub fn name(mut self, name: LPCWSTR) -> Self { in name()
16715 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
16718 pub fn build(self) -> ExportFenceWin32HandleInfoKHR { in build() method
16724 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkFenceGetWin32Hand…
16731 impl ::std::default::Default for FenceGetWin32HandleInfoKHR {
16732 fn default() -> FenceGetWin32HandleInfoKHR { in default()
16735 p_next: ::std::ptr::null(), in default()
16742 pub fn builder<'a>() -> FenceGetWin32HandleInfoKHRBuilder<'a> { in builder()
16745 marker: ::std::marker::PhantomData, in builder()
16752 marker: ::std::marker::PhantomData<&'a ()>,
16754 impl<'a> ::std::ops::Deref for FenceGetWin32HandleInfoKHRBuilder<'a> {
16756 fn deref(&self) -> &Self::Target { in deref()
16760 impl<'a> ::std::ops::DerefMut for FenceGetWin32HandleInfoKHRBuilder<'a> {
16761 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
16766 pub fn fence(mut self, fence: Fence) -> Self { in fence()
16770 pub fn handle_type(mut self, handle_type: ExternalFenceHandleTypeFlags) -> Self { in handle_type()
16774 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
16777 pub fn build(self) -> FenceGetWin32HandleInfoKHR { in build() method
16783 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImportFenceFdInfo…
16792 impl ::std::default::Default for ImportFenceFdInfoKHR {
16793 fn default() -> ImportFenceFdInfoKHR { in default()
16796 p_next: ::std::ptr::null(), in default()
16805 pub fn builder<'a>() -> ImportFenceFdInfoKHRBuilder<'a> { in builder()
16808 marker: ::std::marker::PhantomData, in builder()
16815 marker: ::std::marker::PhantomData<&'a ()>,
16817 impl<'a> ::std::ops::Deref for ImportFenceFdInfoKHRBuilder<'a> {
16819 fn deref(&self) -> &Self::Target { in deref()
16823 impl<'a> ::std::ops::DerefMut for ImportFenceFdInfoKHRBuilder<'a> {
16824 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
16829 pub fn fence(mut self, fence: Fence) -> Self { in fence()
16833 pub fn flags(mut self, flags: FenceImportFlags) -> Self { in flags()
16837 pub fn handle_type(mut self, handle_type: ExternalFenceHandleTypeFlags) -> Self { in handle_type()
16841 pub fn fd(mut self, fd: c_int) -> Self { in fd()
16845 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
16848 pub fn build(self) -> ImportFenceFdInfoKHR { in build() method
16854 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkFenceGetFdInfoKHR…
16861 impl ::std::default::Default for FenceGetFdInfoKHR {
16862 fn default() -> FenceGetFdInfoKHR { in default()
16865 p_next: ::std::ptr::null(), in default()
16872 pub fn builder<'a>() -> FenceGetFdInfoKHRBuilder<'a> { in builder()
16875 marker: ::std::marker::PhantomData, in builder()
16882 marker: ::std::marker::PhantomData<&'a ()>,
16884 impl<'a> ::std::ops::Deref for FenceGetFdInfoKHRBuilder<'a> {
16886 fn deref(&self) -> &Self::Target { in deref()
16890 impl<'a> ::std::ops::DerefMut for FenceGetFdInfoKHRBuilder<'a> {
16891 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
16896 pub fn fence(mut self, fence: Fence) -> Self { in fence()
16900 pub fn handle_type(mut self, handle_type: ExternalFenceHandleTypeFlags) -> Self { in handle_type()
16904 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
16907 pub fn build(self) -> FenceGetFdInfoKHR { in build() method
16913 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceMul…
16921 impl ::std::default::Default for PhysicalDeviceMultiviewFeatures {
16922 fn default() -> PhysicalDeviceMultiviewFeatures { in default()
16925 p_next: ::std::ptr::null_mut(), in default()
16933 pub fn builder<'a>() -> PhysicalDeviceMultiviewFeaturesBuilder<'a> { in builder()
16936 marker: ::std::marker::PhantomData, in builder()
16943 marker: ::std::marker::PhantomData<&'a ()>,
16949 impl<'a> ::std::ops::Deref for PhysicalDeviceMultiviewFeaturesBuilder<'a> {
16951 fn deref(&self) -> &Self::Target { in deref()
16955 impl<'a> ::std::ops::DerefMut for PhysicalDeviceMultiviewFeaturesBuilder<'a> {
16956 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
16961 pub fn multiview(mut self, multiview: bool) -> Self { in multiview()
16965 pub fn multiview_geometry_shader(mut self, multiview_geometry_shader: bool) -> Self { in multiview_geometry_shader()
16969 pub fn multiview_tessellation_shader(mut self, multiview_tessellation_shader: bool) -> Self { in multiview_tessellation_shader()
16973 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
16976 pub fn build(self) -> PhysicalDeviceMultiviewFeatures { in build() method
16982 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceMul…
16989 impl ::std::default::Default for PhysicalDeviceMultiviewProperties {
16990 fn default() -> PhysicalDeviceMultiviewProperties { in default()
16993 p_next: ::std::ptr::null_mut(), in default()
17000 pub fn builder<'a>() -> PhysicalDeviceMultiviewPropertiesBuilder<'a> { in builder()
17003 marker: ::std::marker::PhantomData, in builder()
17010 marker: ::std::marker::PhantomData<&'a ()>,
17014 impl<'a> ::std::ops::Deref for PhysicalDeviceMultiviewPropertiesBuilder<'a> {
17016 fn deref(&self) -> &Self::Target { in deref()
17020 impl<'a> ::std::ops::DerefMut for PhysicalDeviceMultiviewPropertiesBuilder<'a> {
17021 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
17026 pub fn max_multiview_view_count(mut self, max_multiview_view_count: u32) -> Self { in max_multiview_view_count()
17030 pub fn max_multiview_instance_index(mut self, max_multiview_instance_index: u32) -> Self { in max_multiview_instance_index()
17034 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
17037 pub fn build(self) -> PhysicalDeviceMultiviewProperties { in build() method
17043 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkRenderPassMultivi…
17054 impl ::std::default::Default for RenderPassMultiviewCreateInfo {
17055 fn default() -> RenderPassMultiviewCreateInfo { in default()
17058 p_next: ::std::ptr::null(), in default()
17060 p_view_masks: ::std::ptr::null(), in default()
17062 p_view_offsets: ::std::ptr::null(), in default()
17064 p_correlation_masks: ::std::ptr::null(), in default()
17069 pub fn builder<'a>() -> RenderPassMultiviewCreateInfoBuilder<'a> { in builder()
17072 marker: ::std::marker::PhantomData, in builder()
17079 marker: ::std::marker::PhantomData<&'a ()>,
17083 impl<'a> ::std::ops::Deref for RenderPassMultiviewCreateInfoBuilder<'a> {
17085 fn deref(&self) -> &Self::Target { in deref()
17089 impl<'a> ::std::ops::DerefMut for RenderPassMultiviewCreateInfoBuilder<'a> {
17090 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
17095 pub fn view_masks(mut self, view_masks: &'a [u32]) -> Self { in view_masks()
17100 pub fn view_offsets(mut self, view_offsets: &'a [i32]) -> Self { in view_offsets()
17105 pub fn correlation_masks(mut self, correlation_masks: &'a [u32]) -> Self { in correlation_masks()
17110 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
17113 pub fn build(self) -> RenderPassMultiviewCreateInfo { in build() method
17119 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSurfaceCapabiliti…
17135 impl ::std::default::Default for SurfaceCapabilities2EXT {
17136 fn default() -> SurfaceCapabilities2EXT { in default()
17139 p_next: ::std::ptr::null_mut(), in default()
17155 pub fn builder<'a>() -> SurfaceCapabilities2EXTBuilder<'a> { in builder()
17158 marker: ::std::marker::PhantomData, in builder()
17165 marker: ::std::marker::PhantomData<&'a ()>,
17167 impl<'a> ::std::ops::Deref for SurfaceCapabilities2EXTBuilder<'a> {
17169 fn deref(&self) -> &Self::Target { in deref()
17173 impl<'a> ::std::ops::DerefMut for SurfaceCapabilities2EXTBuilder<'a> {
17174 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
17179 pub fn min_image_count(mut self, min_image_count: u32) -> Self { in min_image_count()
17183 pub fn max_image_count(mut self, max_image_count: u32) -> Self { in max_image_count()
17187 pub fn current_extent(mut self, current_extent: Extent2D) -> Self { in current_extent()
17191 pub fn min_image_extent(mut self, min_image_extent: Extent2D) -> Self { in min_image_extent()
17195 pub fn max_image_extent(mut self, max_image_extent: Extent2D) -> Self { in max_image_extent()
17199 pub fn max_image_array_layers(mut self, max_image_array_layers: u32) -> Self { in max_image_array_layers()
17203 pub fn supported_transforms(mut self, supported_transforms: SurfaceTransformFlagsKHR) -> Self { in supported_transforms()
17207 pub fn current_transform(mut self, current_transform: SurfaceTransformFlagsKHR) -> Self { in current_transform()
17214 ) -> Self { in supported_composite_alpha()
17218 pub fn supported_usage_flags(mut self, supported_usage_flags: ImageUsageFlags) -> Self { in supported_usage_flags()
17225 ) -> Self { in supported_surface_counters()
17229 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
17232 pub fn build(self) -> SurfaceCapabilities2EXT { in build() method
17238 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDisplayPowerInfoE…
17244 impl ::std::default::Default for DisplayPowerInfoEXT {
17245 fn default() -> DisplayPowerInfoEXT { in default()
17248 p_next: ::std::ptr::null(), in default()
17254 pub fn builder<'a>() -> DisplayPowerInfoEXTBuilder<'a> { in builder()
17257 marker: ::std::marker::PhantomData, in builder()
17264 marker: ::std::marker::PhantomData<&'a ()>,
17266 impl<'a> ::std::ops::Deref for DisplayPowerInfoEXTBuilder<'a> {
17268 fn deref(&self) -> &Self::Target { in deref()
17272 impl<'a> ::std::ops::DerefMut for DisplayPowerInfoEXTBuilder<'a> {
17273 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
17278 pub fn power_state(mut self, power_state: DisplayPowerStateEXT) -> Self { in power_state()
17282 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
17285 pub fn build(self) -> DisplayPowerInfoEXT { in build() method
17291 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceEventInfoEX…
17297 impl ::std::default::Default for DeviceEventInfoEXT {
17298 fn default() -> DeviceEventInfoEXT { in default()
17301 p_next: ::std::ptr::null(), in default()
17307 pub fn builder<'a>() -> DeviceEventInfoEXTBuilder<'a> { in builder()
17310 marker: ::std::marker::PhantomData, in builder()
17317 marker: ::std::marker::PhantomData<&'a ()>,
17319 impl<'a> ::std::ops::Deref for DeviceEventInfoEXTBuilder<'a> {
17321 fn deref(&self) -> &Self::Target { in deref()
17325 impl<'a> ::std::ops::DerefMut for DeviceEventInfoEXTBuilder<'a> {
17326 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
17331 pub fn device_event(mut self, device_event: DeviceEventTypeEXT) -> Self { in device_event()
17335 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
17338 pub fn build(self) -> DeviceEventInfoEXT { in build() method
17344 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDisplayEventInfoE…
17350 impl ::std::default::Default for DisplayEventInfoEXT {
17351 fn default() -> DisplayEventInfoEXT { in default()
17354 p_next: ::std::ptr::null(), in default()
17360 pub fn builder<'a>() -> DisplayEventInfoEXTBuilder<'a> { in builder()
17363 marker: ::std::marker::PhantomData, in builder()
17370 marker: ::std::marker::PhantomData<&'a ()>,
17372 impl<'a> ::std::ops::Deref for DisplayEventInfoEXTBuilder<'a> {
17374 fn deref(&self) -> &Self::Target { in deref()
17378 impl<'a> ::std::ops::DerefMut for DisplayEventInfoEXTBuilder<'a> {
17379 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
17384 pub fn display_event(mut self, display_event: DisplayEventTypeEXT) -> Self { in display_event()
17388 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
17391 pub fn build(self) -> DisplayEventInfoEXT { in build() method
17397 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSwapchainCounterC…
17403 impl ::std::default::Default for SwapchainCounterCreateInfoEXT {
17404 fn default() -> SwapchainCounterCreateInfoEXT { in default()
17407 p_next: ::std::ptr::null(), in default()
17413 pub fn builder<'a>() -> SwapchainCounterCreateInfoEXTBuilder<'a> { in builder()
17416 marker: ::std::marker::PhantomData, in builder()
17423 marker: ::std::marker::PhantomData<&'a ()>,
17427 impl<'a> ::std::ops::Deref for SwapchainCounterCreateInfoEXTBuilder<'a> {
17429 fn deref(&self) -> &Self::Target { in deref()
17433 impl<'a> ::std::ops::DerefMut for SwapchainCounterCreateInfoEXTBuilder<'a> {
17434 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
17439 pub fn surface_counters(mut self, surface_counters: SurfaceCounterFlagsEXT) -> Self { in surface_counters()
17443 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
17446 pub fn build(self) -> SwapchainCounterCreateInfoEXT { in build() method
17452 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceGro…
17460 impl ::std::default::Default for PhysicalDeviceGroupProperties {
17461 fn default() -> PhysicalDeviceGroupProperties { in default()
17464 p_next: ::std::ptr::null_mut(), in default()
17466 physical_devices: unsafe { ::std::mem::zeroed() }, in default()
17472 pub fn builder<'a>() -> PhysicalDeviceGroupPropertiesBuilder<'a> { in builder()
17475 marker: ::std::marker::PhantomData, in builder()
17482 marker: ::std::marker::PhantomData<&'a ()>,
17484 impl<'a> ::std::ops::Deref for PhysicalDeviceGroupPropertiesBuilder<'a> {
17486 fn deref(&self) -> &Self::Target { in deref()
17490 impl<'a> ::std::ops::DerefMut for PhysicalDeviceGroupPropertiesBuilder<'a> {
17491 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
17496 pub fn physical_device_count(mut self, physical_device_count: u32) -> Self { in physical_device_count()
17503 ) -> Self {
17507 pub fn subset_allocation(mut self, subset_allocation: bool) -> Self { in subset_allocation()
17511 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
17514 pub fn build(self) -> PhysicalDeviceGroupProperties { in build() method
17520 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMemoryAllocateFla…
17527 impl ::std::default::Default for MemoryAllocateFlagsInfo {
17528 fn default() -> MemoryAllocateFlagsInfo { in default()
17531 p_next: ::std::ptr::null(), in default()
17538 pub fn builder<'a>() -> MemoryAllocateFlagsInfoBuilder<'a> { in builder()
17541 marker: ::std::marker::PhantomData, in builder()
17548 marker: ::std::marker::PhantomData<&'a ()>,
17552 impl<'a> ::std::ops::Deref for MemoryAllocateFlagsInfoBuilder<'a> {
17554 fn deref(&self) -> &Self::Target { in deref()
17558 impl<'a> ::std::ops::DerefMut for MemoryAllocateFlagsInfoBuilder<'a> {
17559 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
17564 pub fn flags(mut self, flags: MemoryAllocateFlags) -> Self { in flags()
17568 pub fn device_mask(mut self, device_mask: u32) -> Self { in device_mask()
17572 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
17575 pub fn build(self) -> MemoryAllocateFlagsInfo { in build() method
17581 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBindBufferMemoryI…
17589 impl ::std::default::Default for BindBufferMemoryInfo {
17590 fn default() -> BindBufferMemoryInfo { in default()
17593 p_next: ::std::ptr::null(), in default()
17601 pub fn builder<'a>() -> BindBufferMemoryInfoBuilder<'a> { in builder()
17604 marker: ::std::marker::PhantomData, in builder()
17611 marker: ::std::marker::PhantomData<&'a ()>,
17614 impl<'a> ::std::ops::Deref for BindBufferMemoryInfoBuilder<'a> {
17616 fn deref(&self) -> &Self::Target { in deref()
17620 impl<'a> ::std::ops::DerefMut for BindBufferMemoryInfoBuilder<'a> {
17621 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
17626 pub fn buffer(mut self, buffer: Buffer) -> Self { in buffer()
17630 pub fn memory(mut self, memory: DeviceMemory) -> Self { in memory()
17634 pub fn memory_offset(mut self, memory_offset: DeviceSize) -> Self { in memory_offset()
17641 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
17642 #[doc = r" chain will look like `A -> D -> B -> C`."]
17643 pub fn push_next<T: ExtendsBindBufferMemoryInfo>(mut self, next: &'a mut T) -> Self { in push_next()
17652 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
17655 pub fn build(self) -> BindBufferMemoryInfo { in build() method
17661 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBindBufferMemoryD…
17668 impl ::std::default::Default for BindBufferMemoryDeviceGroupInfo {
17669 fn default() -> BindBufferMemoryDeviceGroupInfo { in default()
17672 p_next: ::std::ptr::null(), in default()
17674 p_device_indices: ::std::ptr::null(), in default()
17679 pub fn builder<'a>() -> BindBufferMemoryDeviceGroupInfoBuilder<'a> { in builder()
17682 marker: ::std::marker::PhantomData, in builder()
17689 marker: ::std::marker::PhantomData<&'a ()>,
17693 impl<'a> ::std::ops::Deref for BindBufferMemoryDeviceGroupInfoBuilder<'a> {
17695 fn deref(&self) -> &Self::Target { in deref()
17699 impl<'a> ::std::ops::DerefMut for BindBufferMemoryDeviceGroupInfoBuilder<'a> {
17700 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
17705 pub fn device_indices(mut self, device_indices: &'a [u32]) -> Self { in device_indices()
17710 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
17713 pub fn build(self) -> BindBufferMemoryDeviceGroupInfo { in build() method
17719 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBindImageMemoryIn…
17727 impl ::std::default::Default for BindImageMemoryInfo {
17728 fn default() -> BindImageMemoryInfo { in default()
17731 p_next: ::std::ptr::null(), in default()
17739 pub fn builder<'a>() -> BindImageMemoryInfoBuilder<'a> { in builder()
17742 marker: ::std::marker::PhantomData, in builder()
17749 marker: ::std::marker::PhantomData<&'a ()>,
17752 impl<'a> ::std::ops::Deref for BindImageMemoryInfoBuilder<'a> {
17754 fn deref(&self) -> &Self::Target { in deref()
17758 impl<'a> ::std::ops::DerefMut for BindImageMemoryInfoBuilder<'a> {
17759 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
17764 pub fn image(mut self, image: Image) -> Self { in image()
17768 pub fn memory(mut self, memory: DeviceMemory) -> Self { in memory()
17772 pub fn memory_offset(mut self, memory_offset: DeviceSize) -> Self { in memory_offset()
17779 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
17780 #[doc = r" chain will look like `A -> D -> B -> C`."]
17781 pub fn push_next<T: ExtendsBindImageMemoryInfo>(mut self, next: &'a mut T) -> Self { in push_next()
17790 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
17793 pub fn build(self) -> BindImageMemoryInfo { in build() method
17799 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBindImageMemoryDe…
17808 impl ::std::default::Default for BindImageMemoryDeviceGroupInfo {
17809 fn default() -> BindImageMemoryDeviceGroupInfo { in default()
17812 p_next: ::std::ptr::null(), in default()
17814 p_device_indices: ::std::ptr::null(), in default()
17816 p_split_instance_bind_regions: ::std::ptr::null(), in default()
17821 pub fn builder<'a>() -> BindImageMemoryDeviceGroupInfoBuilder<'a> { in builder()
17824 marker: ::std::marker::PhantomData, in builder()
17831 marker: ::std::marker::PhantomData<&'a ()>,
17835 impl<'a> ::std::ops::Deref for BindImageMemoryDeviceGroupInfoBuilder<'a> {
17837 fn deref(&self) -> &Self::Target { in deref()
17841 impl<'a> ::std::ops::DerefMut for BindImageMemoryDeviceGroupInfoBuilder<'a> {
17842 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
17847 pub fn device_indices(mut self, device_indices: &'a [u32]) -> Self { in device_indices()
17855 ) -> Self { in split_instance_bind_regions()
17860 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
17863 pub fn build(self) -> BindImageMemoryDeviceGroupInfo { in build() method
17869 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceGroupRender…
17877 impl ::std::default::Default for DeviceGroupRenderPassBeginInfo {
17878 fn default() -> DeviceGroupRenderPassBeginInfo { in default()
17881 p_next: ::std::ptr::null(), in default()
17884 p_device_render_areas: ::std::ptr::null(), in default()
17889 pub fn builder<'a>() -> DeviceGroupRenderPassBeginInfoBuilder<'a> { in builder()
17892 marker: ::std::marker::PhantomData, in builder()
17899 marker: ::std::marker::PhantomData<&'a ()>,
17903 impl<'a> ::std::ops::Deref for DeviceGroupRenderPassBeginInfoBuilder<'a> {
17905 fn deref(&self) -> &Self::Target { in deref()
17909 impl<'a> ::std::ops::DerefMut for DeviceGroupRenderPassBeginInfoBuilder<'a> {
17910 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
17915 pub fn device_mask(mut self, device_mask: u32) -> Self { in device_mask()
17919 pub fn device_render_areas(mut self, device_render_areas: &'a [Rect2D]) -> Self { in device_render_areas()
17924 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
17927 pub fn build(self) -> DeviceGroupRenderPassBeginInfo { in build() method
17933 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceGroupComman…
17939 impl ::std::default::Default for DeviceGroupCommandBufferBeginInfo {
17940 fn default() -> DeviceGroupCommandBufferBeginInfo { in default()
17943 p_next: ::std::ptr::null(), in default()
17949 pub fn builder<'a>() -> DeviceGroupCommandBufferBeginInfoBuilder<'a> { in builder()
17952 marker: ::std::marker::PhantomData, in builder()
17959 marker: ::std::marker::PhantomData<&'a ()>,
17963 impl<'a> ::std::ops::Deref for DeviceGroupCommandBufferBeginInfoBuilder<'a> {
17965 fn deref(&self) -> &Self::Target { in deref()
17969 impl<'a> ::std::ops::DerefMut for DeviceGroupCommandBufferBeginInfoBuilder<'a> {
17970 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
17975 pub fn device_mask(mut self, device_mask: u32) -> Self { in device_mask()
17979 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
17982 pub fn build(self) -> DeviceGroupCommandBufferBeginInfo { in build() method
17988 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceGroupSubmit…
17999 impl ::std::default::Default for DeviceGroupSubmitInfo {
18000 fn default() -> DeviceGroupSubmitInfo { in default()
18003 p_next: ::std::ptr::null(), in default()
18005 p_wait_semaphore_device_indices: ::std::ptr::null(), in default()
18007 p_command_buffer_device_masks: ::std::ptr::null(), in default()
18009 p_signal_semaphore_device_indices: ::std::ptr::null(), in default()
18014 pub fn builder<'a>() -> DeviceGroupSubmitInfoBuilder<'a> { in builder()
18017 marker: ::std::marker::PhantomData, in builder()
18024 marker: ::std::marker::PhantomData<&'a ()>,
18028 impl<'a> ::std::ops::Deref for DeviceGroupSubmitInfoBuilder<'a> {
18030 fn deref(&self) -> &Self::Target { in deref()
18034 impl<'a> ::std::ops::DerefMut for DeviceGroupSubmitInfoBuilder<'a> {
18035 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
18043 ) -> Self { in wait_semaphore_device_indices()
18048 pub fn command_buffer_device_masks(mut self, command_buffer_device_masks: &'a [u32]) -> Self { in command_buffer_device_masks()
18056 ) -> Self { in signal_semaphore_device_indices()
18061 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
18064 pub fn build(self) -> DeviceGroupSubmitInfo { in build() method
18070 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceGroupBindSp…
18077 impl ::std::default::Default for DeviceGroupBindSparseInfo {
18078 fn default() -> DeviceGroupBindSparseInfo { in default()
18081 p_next: ::std::ptr::null(), in default()
18088 pub fn builder<'a>() -> DeviceGroupBindSparseInfoBuilder<'a> { in builder()
18091 marker: ::std::marker::PhantomData, in builder()
18098 marker: ::std::marker::PhantomData<&'a ()>,
18102 impl<'a> ::std::ops::Deref for DeviceGroupBindSparseInfoBuilder<'a> {
18104 fn deref(&self) -> &Self::Target { in deref()
18108 impl<'a> ::std::ops::DerefMut for DeviceGroupBindSparseInfoBuilder<'a> {
18109 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
18114 pub fn resource_device_index(mut self, resource_device_index: u32) -> Self { in resource_device_index()
18118 pub fn memory_device_index(mut self, memory_device_index: u32) -> Self { in memory_device_index()
18122 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
18125 pub fn build(self) -> DeviceGroupBindSparseInfo { in build() method
18131 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceGroupPresen…
18138 impl ::std::default::Default for DeviceGroupPresentCapabilitiesKHR {
18139 fn default() -> DeviceGroupPresentCapabilitiesKHR { in default()
18142 p_next: ::std::ptr::null_mut(), in default()
18143 present_mask: unsafe { ::std::mem::zeroed() }, in default()
18149 pub fn builder<'a>() -> DeviceGroupPresentCapabilitiesKHRBuilder<'a> { in builder()
18152 marker: ::std::marker::PhantomData, in builder()
18159 marker: ::std::marker::PhantomData<&'a ()>,
18161 impl<'a> ::std::ops::Deref for DeviceGroupPresentCapabilitiesKHRBuilder<'a> {
18163 fn deref(&self) -> &Self::Target { in deref()
18167 impl<'a> ::std::ops::DerefMut for DeviceGroupPresentCapabilitiesKHRBuilder<'a> {
18168 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
18173 pub fn present_mask(mut self, present_mask: [u32; MAX_DEVICE_GROUP_SIZE]) -> Self { in present_mask()
18177 pub fn modes(mut self, modes: DeviceGroupPresentModeFlagsKHR) -> Self { in modes()
18181 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
18184 pub fn build(self) -> DeviceGroupPresentCapabilitiesKHR { in build() method
18190 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageSwapchainCre…
18196 impl ::std::default::Default for ImageSwapchainCreateInfoKHR {
18197 fn default() -> ImageSwapchainCreateInfoKHR { in default()
18200 p_next: ::std::ptr::null(), in default()
18206 pub fn builder<'a>() -> ImageSwapchainCreateInfoKHRBuilder<'a> { in builder()
18209 marker: ::std::marker::PhantomData, in builder()
18216 marker: ::std::marker::PhantomData<&'a ()>,
18220 impl<'a> ::std::ops::Deref for ImageSwapchainCreateInfoKHRBuilder<'a> {
18222 fn deref(&self) -> &Self::Target { in deref()
18226 impl<'a> ::std::ops::DerefMut for ImageSwapchainCreateInfoKHRBuilder<'a> {
18227 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
18232 pub fn swapchain(mut self, swapchain: SwapchainKHR) -> Self { in swapchain()
18236 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
18239 pub fn build(self) -> ImageSwapchainCreateInfoKHR { in build() method
18245 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBindImageMemorySw…
18252 impl ::std::default::Default for BindImageMemorySwapchainInfoKHR {
18253 fn default() -> BindImageMemorySwapchainInfoKHR { in default()
18256 p_next: ::std::ptr::null(), in default()
18263 pub fn builder<'a>() -> BindImageMemorySwapchainInfoKHRBuilder<'a> { in builder()
18266 marker: ::std::marker::PhantomData, in builder()
18273 marker: ::std::marker::PhantomData<&'a ()>,
18277 impl<'a> ::std::ops::Deref for BindImageMemorySwapchainInfoKHRBuilder<'a> {
18279 fn deref(&self) -> &Self::Target { in deref()
18283 impl<'a> ::std::ops::DerefMut for BindImageMemorySwapchainInfoKHRBuilder<'a> {
18284 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
18289 pub fn swapchain(mut self, swapchain: SwapchainKHR) -> Self { in swapchain()
18293 pub fn image_index(mut self, image_index: u32) -> Self { in image_index()
18297 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
18300 pub fn build(self) -> BindImageMemorySwapchainInfoKHR { in build() method
18306 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAcquireNextImageI…
18316 impl ::std::default::Default for AcquireNextImageInfoKHR {
18317 fn default() -> AcquireNextImageInfoKHR { in default()
18320 p_next: ::std::ptr::null(), in default()
18330 pub fn builder<'a>() -> AcquireNextImageInfoKHRBuilder<'a> { in builder()
18333 marker: ::std::marker::PhantomData, in builder()
18340 marker: ::std::marker::PhantomData<&'a ()>,
18342 impl<'a> ::std::ops::Deref for AcquireNextImageInfoKHRBuilder<'a> {
18344 fn deref(&self) -> &Self::Target { in deref()
18348 impl<'a> ::std::ops::DerefMut for AcquireNextImageInfoKHRBuilder<'a> {
18349 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
18354 pub fn swapchain(mut self, swapchain: SwapchainKHR) -> Self { in swapchain()
18358 pub fn timeout(mut self, timeout: u64) -> Self { in timeout()
18362 pub fn semaphore(mut self, semaphore: Semaphore) -> Self { in semaphore()
18366 pub fn fence(mut self, fence: Fence) -> Self { in fence()
18370 pub fn device_mask(mut self, device_mask: u32) -> Self { in device_mask()
18374 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
18377 pub fn build(self) -> AcquireNextImageInfoKHR { in build() method
18383 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceGroupPresen…
18391 impl ::std::default::Default for DeviceGroupPresentInfoKHR {
18392 fn default() -> DeviceGroupPresentInfoKHR { in default()
18395 p_next: ::std::ptr::null(), in default()
18397 p_device_masks: ::std::ptr::null(), in default()
18403 pub fn builder<'a>() -> DeviceGroupPresentInfoKHRBuilder<'a> { in builder()
18406 marker: ::std::marker::PhantomData, in builder()
18413 marker: ::std::marker::PhantomData<&'a ()>,
18417 impl<'a> ::std::ops::Deref for DeviceGroupPresentInfoKHRBuilder<'a> {
18419 fn deref(&self) -> &Self::Target { in deref()
18423 impl<'a> ::std::ops::DerefMut for DeviceGroupPresentInfoKHRBuilder<'a> {
18424 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
18429 pub fn device_masks(mut self, device_masks: &'a [u32]) -> Self { in device_masks()
18434 pub fn mode(mut self, mode: DeviceGroupPresentModeFlagsKHR) -> Self { in mode()
18438 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
18441 pub fn build(self) -> DeviceGroupPresentInfoKHR { in build() method
18447 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceGroupDevice…
18454 impl ::std::default::Default for DeviceGroupDeviceCreateInfo {
18455 fn default() -> DeviceGroupDeviceCreateInfo { in default()
18458 p_next: ::std::ptr::null(), in default()
18460 p_physical_devices: ::std::ptr::null(), in default()
18465 pub fn builder<'a>() -> DeviceGroupDeviceCreateInfoBuilder<'a> { in builder()
18468 marker: ::std::marker::PhantomData, in builder()
18475 marker: ::std::marker::PhantomData<&'a ()>,
18479 impl<'a> ::std::ops::Deref for DeviceGroupDeviceCreateInfoBuilder<'a> {
18481 fn deref(&self) -> &Self::Target { in deref()
18485 impl<'a> ::std::ops::DerefMut for DeviceGroupDeviceCreateInfoBuilder<'a> {
18486 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
18491 pub fn physical_devices(mut self, physical_devices: &'a [PhysicalDevice]) -> Self { in physical_devices()
18496 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
18499 pub fn build(self) -> DeviceGroupDeviceCreateInfo { in build() method
18505 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceGroupSwapch…
18511 impl ::std::default::Default for DeviceGroupSwapchainCreateInfoKHR {
18512 fn default() -> DeviceGroupSwapchainCreateInfoKHR { in default()
18515 p_next: ::std::ptr::null(), in default()
18521 pub fn builder<'a>() -> DeviceGroupSwapchainCreateInfoKHRBuilder<'a> { in builder()
18524 marker: ::std::marker::PhantomData, in builder()
18531 marker: ::std::marker::PhantomData<&'a ()>,
18535 impl<'a> ::std::ops::Deref for DeviceGroupSwapchainCreateInfoKHRBuilder<'a> {
18537 fn deref(&self) -> &Self::Target { in deref()
18541 impl<'a> ::std::ops::DerefMut for DeviceGroupSwapchainCreateInfoKHRBuilder<'a> {
18542 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
18547 pub fn modes(mut self, modes: DeviceGroupPresentModeFlagsKHR) -> Self { in modes()
18551 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
18554 pub fn build(self) -> DeviceGroupSwapchainCreateInfoKHR { in build() method
18560 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDescriptorUpdateT…
18570 pub fn builder<'a>() -> DescriptorUpdateTemplateEntryBuilder<'a> { in builder()
18573 marker: ::std::marker::PhantomData, in builder()
18580 marker: ::std::marker::PhantomData<&'a ()>,
18582 impl<'a> ::std::ops::Deref for DescriptorUpdateTemplateEntryBuilder<'a> {
18584 fn deref(&self) -> &Self::Target { in deref()
18588 impl<'a> ::std::ops::DerefMut for DescriptorUpdateTemplateEntryBuilder<'a> {
18589 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
18594 pub fn dst_binding(mut self, dst_binding: u32) -> Self { in dst_binding()
18598 pub fn dst_array_element(mut self, dst_array_element: u32) -> Self { in dst_array_element()
18602 pub fn descriptor_count(mut self, descriptor_count: u32) -> Self { in descriptor_count()
18606 pub fn descriptor_type(mut self, descriptor_type: DescriptorType) -> Self { in descriptor_type()
18610 pub fn offset(mut self, offset: usize) -> Self { in offset()
18614 pub fn stride(mut self, stride: usize) -> Self { in stride()
18618 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
18621 pub fn build(self) -> DescriptorUpdateTemplateEntry { in build() method
18627 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDescriptorUpdateT…
18640 impl ::std::default::Default for DescriptorUpdateTemplateCreateInfo {
18641 fn default() -> DescriptorUpdateTemplateCreateInfo { in default()
18644 p_next: ::std::ptr::null(), in default()
18647 p_descriptor_update_entries: ::std::ptr::null(), in default()
18657 pub fn builder<'a>() -> DescriptorUpdateTemplateCreateInfoBuilder<'a> { in builder()
18660 marker: ::std::marker::PhantomData, in builder()
18667 marker: ::std::marker::PhantomData<&'a ()>,
18669 impl<'a> ::std::ops::Deref for DescriptorUpdateTemplateCreateInfoBuilder<'a> {
18671 fn deref(&self) -> &Self::Target { in deref()
18675 impl<'a> ::std::ops::DerefMut for DescriptorUpdateTemplateCreateInfoBuilder<'a> {
18676 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
18681 pub fn flags(mut self, flags: DescriptorUpdateTemplateCreateFlags) -> Self { in flags()
18688 ) -> Self { in descriptor_update_entries()
18693 pub fn template_type(mut self, template_type: DescriptorUpdateTemplateType) -> Self { in template_type()
18697 pub fn descriptor_set_layout(mut self, descriptor_set_layout: DescriptorSetLayout) -> Self { in descriptor_set_layout()
18701 pub fn pipeline_bind_point(mut self, pipeline_bind_point: PipelineBindPoint) -> Self { in pipeline_bind_point()
18705 pub fn pipeline_layout(mut self, pipeline_layout: PipelineLayout) -> Self { in pipeline_layout()
18709 pub fn set(mut self, set: u32) -> Self { in set()
18713 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
18716 pub fn build(self) -> DescriptorUpdateTemplateCreateInfo { in build() method
18722 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkXYColorEXT.html>"]
18728 pub fn builder<'a>() -> XYColorEXTBuilder<'a> { in builder()
18731 marker: ::std::marker::PhantomData, in builder()
18738 marker: ::std::marker::PhantomData<&'a ()>,
18740 impl<'a> ::std::ops::Deref for XYColorEXTBuilder<'a> {
18742 fn deref(&self) -> &Self::Target { in deref()
18746 impl<'a> ::std::ops::DerefMut for XYColorEXTBuilder<'a> {
18747 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
18752 pub fn x(mut self, x: f32) -> Self { in x()
18756 pub fn y(mut self, y: f32) -> Self { in y()
18760 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
18763 pub fn build(self) -> XYColorEXT { in build() method
18769 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDevicePre…
18775 impl ::std::default::Default for PhysicalDevicePresentIdFeaturesKHR {
18776 fn default() -> PhysicalDevicePresentIdFeaturesKHR { in default()
18779 p_next: ::std::ptr::null_mut(), in default()
18785 pub fn builder<'a>() -> PhysicalDevicePresentIdFeaturesKHRBuilder<'a> { in builder()
18788 marker: ::std::marker::PhantomData, in builder()
18795 marker: ::std::marker::PhantomData<&'a ()>,
18801 impl<'a> ::std::ops::Deref for PhysicalDevicePresentIdFeaturesKHRBuilder<'a> {
18803 fn deref(&self) -> &Self::Target { in deref()
18807 impl<'a> ::std::ops::DerefMut for PhysicalDevicePresentIdFeaturesKHRBuilder<'a> {
18808 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
18813 pub fn present_id(mut self, present_id: bool) -> Self { in present_id()
18817 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
18820 pub fn build(self) -> PhysicalDevicePresentIdFeaturesKHR { in build() method
18826 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPresentIdKHR.html…
18833 impl ::std::default::Default for PresentIdKHR {
18834 fn default() -> PresentIdKHR { in default()
18837 p_next: ::std::ptr::null(), in default()
18839 p_present_ids: ::std::ptr::null(), in default()
18844 pub fn builder<'a>() -> PresentIdKHRBuilder<'a> { in builder()
18847 marker: ::std::marker::PhantomData, in builder()
18854 marker: ::std::marker::PhantomData<&'a ()>,
18858 impl<'a> ::std::ops::Deref for PresentIdKHRBuilder<'a> {
18860 fn deref(&self) -> &Self::Target { in deref()
18864 impl<'a> ::std::ops::DerefMut for PresentIdKHRBuilder<'a> {
18865 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
18870 pub fn present_ids(mut self, present_ids: &'a [u64]) -> Self { in present_ids()
18875 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
18878 pub fn build(self) -> PresentIdKHR { in build() method
18884 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDevicePre…
18890 impl ::std::default::Default for PhysicalDevicePresentWaitFeaturesKHR {
18891 fn default() -> PhysicalDevicePresentWaitFeaturesKHR { in default()
18894 p_next: ::std::ptr::null_mut(), in default()
18900 pub fn builder<'a>() -> PhysicalDevicePresentWaitFeaturesKHRBuilder<'a> { in builder()
18903 marker: ::std::marker::PhantomData, in builder()
18910 marker: ::std::marker::PhantomData<&'a ()>,
18916 impl<'a> ::std::ops::Deref for PhysicalDevicePresentWaitFeaturesKHRBuilder<'a> {
18918 fn deref(&self) -> &Self::Target { in deref()
18922 impl<'a> ::std::ops::DerefMut for PhysicalDevicePresentWaitFeaturesKHRBuilder<'a> {
18923 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
18928 pub fn present_wait(mut self, present_wait: bool) -> Self { in present_wait()
18932 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
18935 pub fn build(self) -> PhysicalDevicePresentWaitFeaturesKHR { in build() method
18941 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkHdrMetadataEXT.ht…
18954 impl ::std::default::Default for HdrMetadataEXT {
18955 fn default() -> HdrMetadataEXT { in default()
18958 p_next: ::std::ptr::null(), in default()
18971 pub fn builder<'a>() -> HdrMetadataEXTBuilder<'a> { in builder()
18974 marker: ::std::marker::PhantomData, in builder()
18981 marker: ::std::marker::PhantomData<&'a ()>,
18983 impl<'a> ::std::ops::Deref for HdrMetadataEXTBuilder<'a> {
18985 fn deref(&self) -> &Self::Target { in deref()
18989 impl<'a> ::std::ops::DerefMut for HdrMetadataEXTBuilder<'a> {
18990 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
18995 pub fn display_primary_red(mut self, display_primary_red: XYColorEXT) -> Self { in display_primary_red()
18999 pub fn display_primary_green(mut self, display_primary_green: XYColorEXT) -> Self { in display_primary_green()
19003 pub fn display_primary_blue(mut self, display_primary_blue: XYColorEXT) -> Self { in display_primary_blue()
19007 pub fn white_point(mut self, white_point: XYColorEXT) -> Self { in white_point()
19011 pub fn max_luminance(mut self, max_luminance: f32) -> Self { in max_luminance()
19015 pub fn min_luminance(mut self, min_luminance: f32) -> Self { in min_luminance()
19019 pub fn max_content_light_level(mut self, max_content_light_level: f32) -> Self { in max_content_light_level()
19023 pub fn max_frame_average_light_level(mut self, max_frame_average_light_level: f32) -> Self { in max_frame_average_light_level()
19027 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
19030 pub fn build(self) -> HdrMetadataEXT { in build() method
19036 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDisplayNativeHdrS…
19042 impl ::std::default::Default for DisplayNativeHdrSurfaceCapabilitiesAMD {
19043 fn default() -> DisplayNativeHdrSurfaceCapabilitiesAMD { in default()
19046 p_next: ::std::ptr::null_mut(), in default()
19052 pub fn builder<'a>() -> DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'a> { in builder()
19055 marker: ::std::marker::PhantomData, in builder()
19062 marker: ::std::marker::PhantomData<&'a ()>,
19066 impl<'a> ::std::ops::Deref for DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'a> {
19068 fn deref(&self) -> &Self::Target { in deref()
19072 impl<'a> ::std::ops::DerefMut for DisplayNativeHdrSurfaceCapabilitiesAMDBuilder<'a> {
19073 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
19078 pub fn local_dimming_support(mut self, local_dimming_support: bool) -> Self { in local_dimming_support()
19082 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
19085 pub fn build(self) -> DisplayNativeHdrSurfaceCapabilitiesAMD { in build() method
19091 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSwapchainDisplayN…
19097 impl ::std::default::Default for SwapchainDisplayNativeHdrCreateInfoAMD {
19098 fn default() -> SwapchainDisplayNativeHdrCreateInfoAMD { in default()
19101 p_next: ::std::ptr::null(), in default()
19107 pub fn builder<'a>() -> SwapchainDisplayNativeHdrCreateInfoAMDBuilder<'a> { in builder()
19110 marker: ::std::marker::PhantomData, in builder()
19117 marker: ::std::marker::PhantomData<&'a ()>,
19121 impl<'a> ::std::ops::Deref for SwapchainDisplayNativeHdrCreateInfoAMDBuilder<'a> {
19123 fn deref(&self) -> &Self::Target { in deref()
19127 impl<'a> ::std::ops::DerefMut for SwapchainDisplayNativeHdrCreateInfoAMDBuilder<'a> {
19128 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
19133 pub fn local_dimming_enable(mut self, local_dimming_enable: bool) -> Self { in local_dimming_enable()
19137 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
19140 pub fn build(self) -> SwapchainDisplayNativeHdrCreateInfoAMD { in build() method
19146 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkRefreshCycleDurat…
19151 pub fn builder<'a>() -> RefreshCycleDurationGOOGLEBuilder<'a> { in builder()
19154 marker: ::std::marker::PhantomData, in builder()
19161 marker: ::std::marker::PhantomData<&'a ()>,
19163 impl<'a> ::std::ops::Deref for RefreshCycleDurationGOOGLEBuilder<'a> {
19165 fn deref(&self) -> &Self::Target { in deref()
19169 impl<'a> ::std::ops::DerefMut for RefreshCycleDurationGOOGLEBuilder<'a> {
19170 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
19175 pub fn refresh_duration(mut self, refresh_duration: u64) -> Self { in refresh_duration()
19179 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
19182 pub fn build(self) -> RefreshCycleDurationGOOGLE { in build() method
19188 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPastPresentationT…
19197 pub fn builder<'a>() -> PastPresentationTimingGOOGLEBuilder<'a> { in builder()
19200 marker: ::std::marker::PhantomData, in builder()
19207 marker: ::std::marker::PhantomData<&'a ()>,
19209 impl<'a> ::std::ops::Deref for PastPresentationTimingGOOGLEBuilder<'a> {
19211 fn deref(&self) -> &Self::Target { in deref()
19215 impl<'a> ::std::ops::DerefMut for PastPresentationTimingGOOGLEBuilder<'a> {
19216 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
19221 pub fn present_id(mut self, present_id: u32) -> Self { in present_id()
19225 pub fn desired_present_time(mut self, desired_present_time: u64) -> Self { in desired_present_time()
19229 pub fn actual_present_time(mut self, actual_present_time: u64) -> Self { in actual_present_time()
19233 pub fn earliest_present_time(mut self, earliest_present_time: u64) -> Self { in earliest_present_time()
19237 pub fn present_margin(mut self, present_margin: u64) -> Self { in present_margin()
19241 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
19244 pub fn build(self) -> PastPresentationTimingGOOGLE { in build() method
19250 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPresentTimesInfoG…
19257 impl ::std::default::Default for PresentTimesInfoGOOGLE {
19258 fn default() -> PresentTimesInfoGOOGLE { in default()
19261 p_next: ::std::ptr::null(), in default()
19263 p_times: ::std::ptr::null(), in default()
19268 pub fn builder<'a>() -> PresentTimesInfoGOOGLEBuilder<'a> { in builder()
19271 marker: ::std::marker::PhantomData, in builder()
19278 marker: ::std::marker::PhantomData<&'a ()>,
19282 impl<'a> ::std::ops::Deref for PresentTimesInfoGOOGLEBuilder<'a> {
19284 fn deref(&self) -> &Self::Target { in deref()
19288 impl<'a> ::std::ops::DerefMut for PresentTimesInfoGOOGLEBuilder<'a> {
19289 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
19294 pub fn times(mut self, times: &'a [PresentTimeGOOGLE]) -> Self { in times()
19299 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
19302 pub fn build(self) -> PresentTimesInfoGOOGLE { in build() method
19308 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPresentTimeGOOGLE…
19314 pub fn builder<'a>() -> PresentTimeGOOGLEBuilder<'a> { in builder()
19317 marker: ::std::marker::PhantomData, in builder()
19324 marker: ::std::marker::PhantomData<&'a ()>,
19326 impl<'a> ::std::ops::Deref for PresentTimeGOOGLEBuilder<'a> {
19328 fn deref(&self) -> &Self::Target { in deref()
19332 impl<'a> ::std::ops::DerefMut for PresentTimeGOOGLEBuilder<'a> {
19333 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
19338 pub fn present_id(mut self, present_id: u32) -> Self { in present_id()
19342 pub fn desired_present_time(mut self, desired_present_time: u64) -> Self { in desired_present_time()
19346 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
19349 pub fn build(self) -> PresentTimeGOOGLE { in build() method
19355 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkIOSSurfaceCreateI…
19362 impl ::std::default::Default for IOSSurfaceCreateInfoMVK {
19363 fn default() -> IOSSurfaceCreateInfoMVK { in default()
19366 p_next: ::std::ptr::null(), in default()
19368 p_view: ::std::ptr::null(), in default()
19373 pub fn builder<'a>() -> IOSSurfaceCreateInfoMVKBuilder<'a> { in builder()
19376 marker: ::std::marker::PhantomData, in builder()
19383 marker: ::std::marker::PhantomData<&'a ()>,
19385 impl<'a> ::std::ops::Deref for IOSSurfaceCreateInfoMVKBuilder<'a> {
19387 fn deref(&self) -> &Self::Target { in deref()
19391 impl<'a> ::std::ops::DerefMut for IOSSurfaceCreateInfoMVKBuilder<'a> {
19392 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
19397 pub fn flags(mut self, flags: IOSSurfaceCreateFlagsMVK) -> Self { in flags()
19401 pub fn view(mut self, view: *const c_void) -> Self { in view()
19405 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
19408 pub fn build(self) -> IOSSurfaceCreateInfoMVK { in build() method
19414 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMacOSSurfaceCreat…
19421 impl ::std::default::Default for MacOSSurfaceCreateInfoMVK {
19422 fn default() -> MacOSSurfaceCreateInfoMVK { in default()
19425 p_next: ::std::ptr::null(), in default()
19427 p_view: ::std::ptr::null(), in default()
19432 pub fn builder<'a>() -> MacOSSurfaceCreateInfoMVKBuilder<'a> { in builder()
19435 marker: ::std::marker::PhantomData, in builder()
19442 marker: ::std::marker::PhantomData<&'a ()>,
19444 impl<'a> ::std::ops::Deref for MacOSSurfaceCreateInfoMVKBuilder<'a> {
19446 fn deref(&self) -> &Self::Target { in deref()
19450 impl<'a> ::std::ops::DerefMut for MacOSSurfaceCreateInfoMVKBuilder<'a> {
19451 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
19456 pub fn flags(mut self, flags: MacOSSurfaceCreateFlagsMVK) -> Self { in flags()
19460 pub fn view(mut self, view: *const c_void) -> Self { in view()
19464 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
19467 pub fn build(self) -> MacOSSurfaceCreateInfoMVK { in build() method
19473 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMetalSurfaceCreat…
19480 impl ::std::default::Default for MetalSurfaceCreateInfoEXT {
19481 fn default() -> MetalSurfaceCreateInfoEXT { in default()
19484 p_next: ::std::ptr::null(), in default()
19486 p_layer: ::std::ptr::null(), in default()
19491 pub fn builder<'a>() -> MetalSurfaceCreateInfoEXTBuilder<'a> { in builder()
19494 marker: ::std::marker::PhantomData, in builder()
19501 marker: ::std::marker::PhantomData<&'a ()>,
19503 impl<'a> ::std::ops::Deref for MetalSurfaceCreateInfoEXTBuilder<'a> {
19505 fn deref(&self) -> &Self::Target { in deref()
19509 impl<'a> ::std::ops::DerefMut for MetalSurfaceCreateInfoEXTBuilder<'a> {
19510 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
19515 pub fn flags(mut self, flags: MetalSurfaceCreateFlagsEXT) -> Self { in flags()
19519 pub fn layer(mut self, layer: *const CAMetalLayer) -> Self { in layer()
19523 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
19526 pub fn build(self) -> MetalSurfaceCreateInfoEXT { in build() method
19532 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkViewportWScalingN…
19538 pub fn builder<'a>() -> ViewportWScalingNVBuilder<'a> { in builder()
19541 marker: ::std::marker::PhantomData, in builder()
19548 marker: ::std::marker::PhantomData<&'a ()>,
19550 impl<'a> ::std::ops::Deref for ViewportWScalingNVBuilder<'a> {
19552 fn deref(&self) -> &Self::Target { in deref()
19556 impl<'a> ::std::ops::DerefMut for ViewportWScalingNVBuilder<'a> {
19557 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
19562 pub fn xcoeff(mut self, xcoeff: f32) -> Self { in xcoeff()
19566 pub fn ycoeff(mut self, ycoeff: f32) -> Self { in ycoeff()
19570 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
19573 pub fn build(self) -> ViewportWScalingNV { in build() method
19579 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineViewportW…
19587 impl ::std::default::Default for PipelineViewportWScalingStateCreateInfoNV {
19588 fn default() -> PipelineViewportWScalingStateCreateInfoNV { in default()
19591 p_next: ::std::ptr::null(), in default()
19594 p_viewport_w_scalings: ::std::ptr::null(), in default()
19599 pub fn builder<'a>() -> PipelineViewportWScalingStateCreateInfoNVBuilder<'a> { in builder()
19602 marker: ::std::marker::PhantomData, in builder()
19609 marker: ::std::marker::PhantomData<&'a ()>,
19616 impl<'a> ::std::ops::Deref for PipelineViewportWScalingStateCreateInfoNVBuilder<'a> {
19618 fn deref(&self) -> &Self::Target { in deref()
19622 impl<'a> ::std::ops::DerefMut for PipelineViewportWScalingStateCreateInfoNVBuilder<'a> {
19623 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
19628 pub fn viewport_w_scaling_enable(mut self, viewport_w_scaling_enable: bool) -> Self { in viewport_w_scaling_enable()
19632 pub fn viewport_w_scalings(mut self, viewport_w_scalings: &'a [ViewportWScalingNV]) -> Self { in viewport_w_scalings()
19637 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
19640 pub fn build(self) -> PipelineViewportWScalingStateCreateInfoNV { in build() method
19646 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkViewportSwizzleNV…
19654 pub fn builder<'a>() -> ViewportSwizzleNVBuilder<'a> { in builder()
19657 marker: ::std::marker::PhantomData, in builder()
19664 marker: ::std::marker::PhantomData<&'a ()>,
19666 impl<'a> ::std::ops::Deref for ViewportSwizzleNVBuilder<'a> {
19668 fn deref(&self) -> &Self::Target { in deref()
19672 impl<'a> ::std::ops::DerefMut for ViewportSwizzleNVBuilder<'a> {
19673 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
19678 pub fn x(mut self, x: ViewportCoordinateSwizzleNV) -> Self { in x()
19682 pub fn y(mut self, y: ViewportCoordinateSwizzleNV) -> Self { in y()
19686 pub fn z(mut self, z: ViewportCoordinateSwizzleNV) -> Self { in z()
19690 pub fn w(mut self, w: ViewportCoordinateSwizzleNV) -> Self { in w()
19694 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
19697 pub fn build(self) -> ViewportSwizzleNV { in build() method
19703 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineViewportS…
19711 impl ::std::default::Default for PipelineViewportSwizzleStateCreateInfoNV {
19712 fn default() -> PipelineViewportSwizzleStateCreateInfoNV { in default()
19715 p_next: ::std::ptr::null(), in default()
19718 p_viewport_swizzles: ::std::ptr::null(), in default()
19723 pub fn builder<'a>() -> PipelineViewportSwizzleStateCreateInfoNVBuilder<'a> { in builder()
19726 marker: ::std::marker::PhantomData, in builder()
19733 marker: ::std::marker::PhantomData<&'a ()>,
19740 impl<'a> ::std::ops::Deref for PipelineViewportSwizzleStateCreateInfoNVBuilder<'a> {
19742 fn deref(&self) -> &Self::Target { in deref()
19746 impl<'a> ::std::ops::DerefMut for PipelineViewportSwizzleStateCreateInfoNVBuilder<'a> {
19747 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
19752 pub fn flags(mut self, flags: PipelineViewportSwizzleStateCreateFlagsNV) -> Self { in flags()
19756 pub fn viewport_swizzles(mut self, viewport_swizzles: &'a [ViewportSwizzleNV]) -> Self { in viewport_swizzles()
19761 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
19764 pub fn build(self) -> PipelineViewportSwizzleStateCreateInfoNV { in build() method
19770 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceDis…
19776 impl ::std::default::Default for PhysicalDeviceDiscardRectanglePropertiesEXT {
19777 fn default() -> PhysicalDeviceDiscardRectanglePropertiesEXT { in default()
19780 p_next: ::std::ptr::null_mut(), in default()
19786 pub fn builder<'a>() -> PhysicalDeviceDiscardRectanglePropertiesEXTBuilder<'a> { in builder()
19789 marker: ::std::marker::PhantomData, in builder()
19796 marker: ::std::marker::PhantomData<&'a ()>,
19803 impl<'a> ::std::ops::Deref for PhysicalDeviceDiscardRectanglePropertiesEXTBuilder<'a> {
19805 fn deref(&self) -> &Self::Target { in deref()
19809 impl<'a> ::std::ops::DerefMut for PhysicalDeviceDiscardRectanglePropertiesEXTBuilder<'a> {
19810 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
19815 pub fn max_discard_rectangles(mut self, max_discard_rectangles: u32) -> Self { in max_discard_rectangles()
19819 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
19822 pub fn build(self) -> PhysicalDeviceDiscardRectanglePropertiesEXT { in build() method
19828 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineDiscardRe…
19837 impl ::std::default::Default for PipelineDiscardRectangleStateCreateInfoEXT {
19838 fn default() -> PipelineDiscardRectangleStateCreateInfoEXT { in default()
19841 p_next: ::std::ptr::null(), in default()
19845 p_discard_rectangles: ::std::ptr::null(), in default()
19850 pub fn builder<'a>() -> PipelineDiscardRectangleStateCreateInfoEXTBuilder<'a> { in builder()
19853 marker: ::std::marker::PhantomData, in builder()
19860 marker: ::std::marker::PhantomData<&'a ()>,
19867 impl<'a> ::std::ops::Deref for PipelineDiscardRectangleStateCreateInfoEXTBuilder<'a> {
19869 fn deref(&self) -> &Self::Target { in deref()
19873 impl<'a> ::std::ops::DerefMut for PipelineDiscardRectangleStateCreateInfoEXTBuilder<'a> {
19874 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
19879 pub fn flags(mut self, flags: PipelineDiscardRectangleStateCreateFlagsEXT) -> Self { in flags()
19886 ) -> Self { in discard_rectangle_mode()
19890 pub fn discard_rectangles(mut self, discard_rectangles: &'a [Rect2D]) -> Self { in discard_rectangles()
19895 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
19898 pub fn build(self) -> PipelineDiscardRectangleStateCreateInfoEXT { in build() method
19904 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceMul…
19910 impl ::std::default::Default for PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX {
19911 fn default() -> PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX { in default()
19914 p_next: ::std::ptr::null_mut(), in default()
19920 pub fn builder<'a>() -> PhysicalDeviceMultiviewPerViewAttributesPropertiesNVXBuilder<'a> { in builder()
19923 marker: ::std::marker::PhantomData, in builder()
19930 marker: ::std::marker::PhantomData<&'a ()>,
19940 impl<'a> ::std::ops::Deref for PhysicalDeviceMultiviewPerViewAttributesPropertiesNVXBuilder<'a> {
19942 fn deref(&self) -> &Self::Target { in deref()
19946 impl<'a> ::std::ops::DerefMut for PhysicalDeviceMultiviewPerViewAttributesPropertiesNVXBuilder<'a> {
19947 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
19955 ) -> Self { in per_view_position_all_components()
19959 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
19962 pub fn build(self) -> PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX { in build() method
19968 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkInputAttachmentAs…
19975 pub fn builder<'a>() -> InputAttachmentAspectReferenceBuilder<'a> { in builder()
19978 marker: ::std::marker::PhantomData, in builder()
19985 marker: ::std::marker::PhantomData<&'a ()>,
19987 impl<'a> ::std::ops::Deref for InputAttachmentAspectReferenceBuilder<'a> {
19989 fn deref(&self) -> &Self::Target { in deref()
19993 impl<'a> ::std::ops::DerefMut for InputAttachmentAspectReferenceBuilder<'a> {
19994 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
19999 pub fn subpass(mut self, subpass: u32) -> Self { in subpass()
20003 pub fn input_attachment_index(mut self, input_attachment_index: u32) -> Self { in input_attachment_index()
20007 pub fn aspect_mask(mut self, aspect_mask: ImageAspectFlags) -> Self { in aspect_mask()
20011 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
20014 pub fn build(self) -> InputAttachmentAspectReference { in build() method
20020 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkRenderPassInputAt…
20027 impl ::std::default::Default for RenderPassInputAttachmentAspectCreateInfo {
20028 fn default() -> RenderPassInputAttachmentAspectCreateInfo { in default()
20031 p_next: ::std::ptr::null(), in default()
20033 p_aspect_references: ::std::ptr::null(), in default()
20038 pub fn builder<'a>() -> RenderPassInputAttachmentAspectCreateInfoBuilder<'a> { in builder()
20041 marker: ::std::marker::PhantomData, in builder()
20048 marker: ::std::marker::PhantomData<&'a ()>,
20052 impl<'a> ::std::ops::Deref for RenderPassInputAttachmentAspectCreateInfoBuilder<'a> {
20054 fn deref(&self) -> &Self::Target { in deref()
20058 impl<'a> ::std::ops::DerefMut for RenderPassInputAttachmentAspectCreateInfoBuilder<'a> {
20059 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
20067 ) -> Self { in aspect_references()
20072 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
20075 pub fn build(self) -> RenderPassInputAttachmentAspectCreateInfo { in build() method
20081 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSur…
20087 impl ::std::default::Default for PhysicalDeviceSurfaceInfo2KHR {
20088 fn default() -> PhysicalDeviceSurfaceInfo2KHR { in default()
20091 p_next: ::std::ptr::null(), in default()
20097 pub fn builder<'a>() -> PhysicalDeviceSurfaceInfo2KHRBuilder<'a> { in builder()
20100 marker: ::std::marker::PhantomData, in builder()
20107 marker: ::std::marker::PhantomData<&'a ()>,
20110 impl<'a> ::std::ops::Deref for PhysicalDeviceSurfaceInfo2KHRBuilder<'a> {
20112 fn deref(&self) -> &Self::Target { in deref()
20116 impl<'a> ::std::ops::DerefMut for PhysicalDeviceSurfaceInfo2KHRBuilder<'a> {
20117 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
20122 pub fn surface(mut self, surface: SurfaceKHR) -> Self { in surface()
20129 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
20130 #[doc = r" chain will look like `A -> D -> B -> C`."]
20131 pub fn push_next<T: ExtendsPhysicalDeviceSurfaceInfo2KHR>(mut self, next: &'a mut T) -> Self { in push_next()
20140 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
20143 pub fn build(self) -> PhysicalDeviceSurfaceInfo2KHR { in build() method
20149 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSurfaceCapabiliti…
20155 impl ::std::default::Default for SurfaceCapabilities2KHR {
20156 fn default() -> SurfaceCapabilities2KHR { in default()
20159 p_next: ::std::ptr::null_mut(), in default()
20165 pub fn builder<'a>() -> SurfaceCapabilities2KHRBuilder<'a> { in builder()
20168 marker: ::std::marker::PhantomData, in builder()
20175 marker: ::std::marker::PhantomData<&'a ()>,
20178 impl<'a> ::std::ops::Deref for SurfaceCapabilities2KHRBuilder<'a> {
20180 fn deref(&self) -> &Self::Target { in deref()
20184 impl<'a> ::std::ops::DerefMut for SurfaceCapabilities2KHRBuilder<'a> {
20185 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
20190 pub fn surface_capabilities(mut self, surface_capabilities: SurfaceCapabilitiesKHR) -> Self { in surface_capabilities()
20197 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
20198 #[doc = r" chain will look like `A -> D -> B -> C`."]
20199 pub fn push_next<T: ExtendsSurfaceCapabilities2KHR>(mut self, next: &'a mut T) -> Self { in push_next()
20208 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
20211 pub fn build(self) -> SurfaceCapabilities2KHR { in build() method
20217 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSurfaceFormat2KHR…
20223 impl ::std::default::Default for SurfaceFormat2KHR {
20224 fn default() -> SurfaceFormat2KHR { in default()
20227 p_next: ::std::ptr::null_mut(), in default()
20233 pub fn builder<'a>() -> SurfaceFormat2KHRBuilder<'a> { in builder()
20236 marker: ::std::marker::PhantomData, in builder()
20243 marker: ::std::marker::PhantomData<&'a ()>,
20245 impl<'a> ::std::ops::Deref for SurfaceFormat2KHRBuilder<'a> {
20247 fn deref(&self) -> &Self::Target { in deref()
20251 impl<'a> ::std::ops::DerefMut for SurfaceFormat2KHRBuilder<'a> {
20252 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
20257 pub fn surface_format(mut self, surface_format: SurfaceFormatKHR) -> Self { in surface_format()
20261 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
20264 pub fn build(self) -> SurfaceFormat2KHR { in build() method
20270 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDisplayProperties…
20276 impl ::std::default::Default for DisplayProperties2KHR {
20277 fn default() -> DisplayProperties2KHR { in default()
20280 p_next: ::std::ptr::null_mut(), in default()
20286 pub fn builder<'a>() -> DisplayProperties2KHRBuilder<'a> { in builder()
20289 marker: ::std::marker::PhantomData, in builder()
20296 marker: ::std::marker::PhantomData<&'a ()>,
20298 impl<'a> ::std::ops::Deref for DisplayProperties2KHRBuilder<'a> {
20300 fn deref(&self) -> &Self::Target { in deref()
20304 impl<'a> ::std::ops::DerefMut for DisplayProperties2KHRBuilder<'a> {
20305 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
20310 pub fn display_properties(mut self, display_properties: DisplayPropertiesKHR) -> Self { in display_properties()
20314 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
20317 pub fn build(self) -> DisplayProperties2KHR { in build() method
20323 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDisplayPlanePrope…
20329 impl ::std::default::Default for DisplayPlaneProperties2KHR {
20330 fn default() -> DisplayPlaneProperties2KHR { in default()
20333 p_next: ::std::ptr::null_mut(), in default()
20339 pub fn builder<'a>() -> DisplayPlaneProperties2KHRBuilder<'a> { in builder()
20342 marker: ::std::marker::PhantomData, in builder()
20349 marker: ::std::marker::PhantomData<&'a ()>,
20351 impl<'a> ::std::ops::Deref for DisplayPlaneProperties2KHRBuilder<'a> {
20353 fn deref(&self) -> &Self::Target { in deref()
20357 impl<'a> ::std::ops::DerefMut for DisplayPlaneProperties2KHRBuilder<'a> {
20358 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
20366 ) -> Self { in display_plane_properties()
20370 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
20373 pub fn build(self) -> DisplayPlaneProperties2KHR { in build() method
20379 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDisplayModeProper…
20385 impl ::std::default::Default for DisplayModeProperties2KHR {
20386 fn default() -> DisplayModeProperties2KHR { in default()
20389 p_next: ::std::ptr::null_mut(), in default()
20395 pub fn builder<'a>() -> DisplayModeProperties2KHRBuilder<'a> { in builder()
20398 marker: ::std::marker::PhantomData, in builder()
20405 marker: ::std::marker::PhantomData<&'a ()>,
20407 impl<'a> ::std::ops::Deref for DisplayModeProperties2KHRBuilder<'a> {
20409 fn deref(&self) -> &Self::Target { in deref()
20413 impl<'a> ::std::ops::DerefMut for DisplayModeProperties2KHRBuilder<'a> {
20414 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
20422 ) -> Self { in display_mode_properties()
20426 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
20429 pub fn build(self) -> DisplayModeProperties2KHR { in build() method
20435 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDisplayPlaneInfo2…
20442 impl ::std::default::Default for DisplayPlaneInfo2KHR {
20443 fn default() -> DisplayPlaneInfo2KHR { in default()
20446 p_next: ::std::ptr::null(), in default()
20453 pub fn builder<'a>() -> DisplayPlaneInfo2KHRBuilder<'a> { in builder()
20456 marker: ::std::marker::PhantomData, in builder()
20463 marker: ::std::marker::PhantomData<&'a ()>,
20465 impl<'a> ::std::ops::Deref for DisplayPlaneInfo2KHRBuilder<'a> {
20467 fn deref(&self) -> &Self::Target { in deref()
20471 impl<'a> ::std::ops::DerefMut for DisplayPlaneInfo2KHRBuilder<'a> {
20472 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
20477 pub fn mode(mut self, mode: DisplayModeKHR) -> Self { in mode()
20481 pub fn plane_index(mut self, plane_index: u32) -> Self { in plane_index()
20485 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
20488 pub fn build(self) -> DisplayPlaneInfo2KHR { in build() method
20494 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDisplayPlaneCapab…
20500 impl ::std::default::Default for DisplayPlaneCapabilities2KHR {
20501 fn default() -> DisplayPlaneCapabilities2KHR { in default()
20504 p_next: ::std::ptr::null_mut(), in default()
20510 pub fn builder<'a>() -> DisplayPlaneCapabilities2KHRBuilder<'a> { in builder()
20513 marker: ::std::marker::PhantomData, in builder()
20520 marker: ::std::marker::PhantomData<&'a ()>,
20522 impl<'a> ::std::ops::Deref for DisplayPlaneCapabilities2KHRBuilder<'a> {
20524 fn deref(&self) -> &Self::Target { in deref()
20528 impl<'a> ::std::ops::DerefMut for DisplayPlaneCapabilities2KHRBuilder<'a> {
20529 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
20534 pub fn capabilities(mut self, capabilities: DisplayPlaneCapabilitiesKHR) -> Self { in capabilities()
20538 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
20541 pub fn build(self) -> DisplayPlaneCapabilities2KHR { in build() method
20547 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSharedPresentSurf…
20553 impl ::std::default::Default for SharedPresentSurfaceCapabilitiesKHR {
20554 fn default() -> SharedPresentSurfaceCapabilitiesKHR { in default()
20557 p_next: ::std::ptr::null_mut(), in default()
20563 pub fn builder<'a>() -> SharedPresentSurfaceCapabilitiesKHRBuilder<'a> { in builder()
20566 marker: ::std::marker::PhantomData, in builder()
20573 marker: ::std::marker::PhantomData<&'a ()>,
20577 impl<'a> ::std::ops::Deref for SharedPresentSurfaceCapabilitiesKHRBuilder<'a> {
20579 fn deref(&self) -> &Self::Target { in deref()
20583 impl<'a> ::std::ops::DerefMut for SharedPresentSurfaceCapabilitiesKHRBuilder<'a> {
20584 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
20592 ) -> Self { in shared_present_supported_usage_flags()
20596 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
20599 pub fn build(self) -> SharedPresentSurfaceCapabilitiesKHR { in build() method
20605 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDevice16B…
20614 impl ::std::default::Default for PhysicalDevice16BitStorageFeatures {
20615 fn default() -> PhysicalDevice16BitStorageFeatures { in default()
20618 p_next: ::std::ptr::null_mut(), in default()
20627 pub fn builder<'a>() -> PhysicalDevice16BitStorageFeaturesBuilder<'a> { in builder()
20630 marker: ::std::marker::PhantomData, in builder()
20637 marker: ::std::marker::PhantomData<&'a ()>,
20643 impl<'a> ::std::ops::Deref for PhysicalDevice16BitStorageFeaturesBuilder<'a> {
20645 fn deref(&self) -> &Self::Target { in deref()
20649 impl<'a> ::std::ops::DerefMut for PhysicalDevice16BitStorageFeaturesBuilder<'a> {
20650 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
20655 pub fn storage_buffer16_bit_access(mut self, storage_buffer16_bit_access: bool) -> Self { in storage_buffer16_bit_access()
20662 ) -> Self { in uniform_and_storage_buffer16_bit_access()
20667 pub fn storage_push_constant16(mut self, storage_push_constant16: bool) -> Self { in storage_push_constant16()
20671 pub fn storage_input_output16(mut self, storage_input_output16: bool) -> Self { in storage_input_output16()
20675 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
20678 pub fn build(self) -> PhysicalDevice16BitStorageFeatures { in build() method
20684 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSub…
20693 impl ::std::default::Default for PhysicalDeviceSubgroupProperties {
20694 fn default() -> PhysicalDeviceSubgroupProperties { in default()
20697 p_next: ::std::ptr::null_mut(), in default()
20706 pub fn builder<'a>() -> PhysicalDeviceSubgroupPropertiesBuilder<'a> { in builder()
20709 marker: ::std::marker::PhantomData, in builder()
20716 marker: ::std::marker::PhantomData<&'a ()>,
20720 impl<'a> ::std::ops::Deref for PhysicalDeviceSubgroupPropertiesBuilder<'a> {
20722 fn deref(&self) -> &Self::Target { in deref()
20726 impl<'a> ::std::ops::DerefMut for PhysicalDeviceSubgroupPropertiesBuilder<'a> {
20727 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
20732 pub fn subgroup_size(mut self, subgroup_size: u32) -> Self { in subgroup_size()
20736 pub fn supported_stages(mut self, supported_stages: ShaderStageFlags) -> Self { in supported_stages()
20740 pub fn supported_operations(mut self, supported_operations: SubgroupFeatureFlags) -> Self { in supported_operations()
20744 pub fn quad_operations_in_all_stages(mut self, quad_operations_in_all_stages: bool) -> Self { in quad_operations_in_all_stages()
20748 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
20751 pub fn build(self) -> PhysicalDeviceSubgroupProperties { in build() method
20757 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSha…
20763 impl ::std::default::Default for PhysicalDeviceShaderSubgroupExtendedTypesFeatures {
20764 fn default() -> PhysicalDeviceShaderSubgroupExtendedTypesFeatures { in default()
20767 p_next: ::std::ptr::null_mut(), in default()
20773 pub fn builder<'a>() -> PhysicalDeviceShaderSubgroupExtendedTypesFeaturesBuilder<'a> { in builder()
20776 marker: ::std::marker::PhantomData, in builder()
20783 marker: ::std::marker::PhantomData<&'a ()>,
20795 impl<'a> ::std::ops::Deref for PhysicalDeviceShaderSubgroupExtendedTypesFeaturesBuilder<'a> {
20797 fn deref(&self) -> &Self::Target { in deref()
20801 impl<'a> ::std::ops::DerefMut for PhysicalDeviceShaderSubgroupExtendedTypesFeaturesBuilder<'a> {
20802 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
20807 pub fn shader_subgroup_extended_types(mut self, shader_subgroup_extended_types: bool) -> Self { in shader_subgroup_extended_types()
20811 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
20814 pub fn build(self) -> PhysicalDeviceShaderSubgroupExtendedTypesFeatures { in build() method
20820 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBufferMemoryRequi…
20826 impl ::std::default::Default for BufferMemoryRequirementsInfo2 {
20827 fn default() -> BufferMemoryRequirementsInfo2 { in default()
20830 p_next: ::std::ptr::null(), in default()
20836 pub fn builder<'a>() -> BufferMemoryRequirementsInfo2Builder<'a> { in builder()
20839 marker: ::std::marker::PhantomData, in builder()
20846 marker: ::std::marker::PhantomData<&'a ()>,
20848 impl<'a> ::std::ops::Deref for BufferMemoryRequirementsInfo2Builder<'a> {
20850 fn deref(&self) -> &Self::Target { in deref()
20854 impl<'a> ::std::ops::DerefMut for BufferMemoryRequirementsInfo2Builder<'a> {
20855 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
20860 pub fn buffer(mut self, buffer: Buffer) -> Self { in buffer()
20864 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
20867 pub fn build(self) -> BufferMemoryRequirementsInfo2 { in build() method
20873 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageMemoryRequir…
20879 impl ::std::default::Default for ImageMemoryRequirementsInfo2 {
20880 fn default() -> ImageMemoryRequirementsInfo2 { in default()
20883 p_next: ::std::ptr::null(), in default()
20889 pub fn builder<'a>() -> ImageMemoryRequirementsInfo2Builder<'a> { in builder()
20892 marker: ::std::marker::PhantomData, in builder()
20899 marker: ::std::marker::PhantomData<&'a ()>,
20902 impl<'a> ::std::ops::Deref for ImageMemoryRequirementsInfo2Builder<'a> {
20904 fn deref(&self) -> &Self::Target { in deref()
20908 impl<'a> ::std::ops::DerefMut for ImageMemoryRequirementsInfo2Builder<'a> {
20909 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
20914 pub fn image(mut self, image: Image) -> Self { in image()
20921 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
20922 #[doc = r" chain will look like `A -> D -> B -> C`."]
20923 pub fn push_next<T: ExtendsImageMemoryRequirementsInfo2>(mut self, next: &'a mut T) -> Self { in push_next()
20932 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
20935 pub fn build(self) -> ImageMemoryRequirementsInfo2 { in build() method
20941 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageSparseMemory…
20947 impl ::std::default::Default for ImageSparseMemoryRequirementsInfo2 {
20948 fn default() -> ImageSparseMemoryRequirementsInfo2 { in default()
20951 p_next: ::std::ptr::null(), in default()
20957 pub fn builder<'a>() -> ImageSparseMemoryRequirementsInfo2Builder<'a> { in builder()
20960 marker: ::std::marker::PhantomData, in builder()
20967 marker: ::std::marker::PhantomData<&'a ()>,
20969 impl<'a> ::std::ops::Deref for ImageSparseMemoryRequirementsInfo2Builder<'a> {
20971 fn deref(&self) -> &Self::Target { in deref()
20975 impl<'a> ::std::ops::DerefMut for ImageSparseMemoryRequirementsInfo2Builder<'a> {
20976 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
20981 pub fn image(mut self, image: Image) -> Self { in image()
20985 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
20988 pub fn build(self) -> ImageSparseMemoryRequirementsInfo2 { in build() method
20994 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMemoryRequirement…
21000 impl ::std::default::Default for MemoryRequirements2 {
21001 fn default() -> MemoryRequirements2 { in default()
21004 p_next: ::std::ptr::null_mut(), in default()
21010 pub fn builder<'a>() -> MemoryRequirements2Builder<'a> { in builder()
21013 marker: ::std::marker::PhantomData, in builder()
21020 marker: ::std::marker::PhantomData<&'a ()>,
21023 impl<'a> ::std::ops::Deref for MemoryRequirements2Builder<'a> {
21025 fn deref(&self) -> &Self::Target { in deref()
21029 impl<'a> ::std::ops::DerefMut for MemoryRequirements2Builder<'a> {
21030 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
21035 pub fn memory_requirements(mut self, memory_requirements: MemoryRequirements) -> Self { in memory_requirements()
21042 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
21043 #[doc = r" chain will look like `A -> D -> B -> C`."]
21044 pub fn push_next<T: ExtendsMemoryRequirements2>(mut self, next: &'a mut T) -> Self { in push_next()
21053 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
21056 pub fn build(self) -> MemoryRequirements2 { in build() method
21062 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSparseImageMemory…
21068 impl ::std::default::Default for SparseImageMemoryRequirements2 {
21069 fn default() -> SparseImageMemoryRequirements2 { in default()
21072 p_next: ::std::ptr::null_mut(), in default()
21078 pub fn builder<'a>() -> SparseImageMemoryRequirements2Builder<'a> { in builder()
21081 marker: ::std::marker::PhantomData, in builder()
21088 marker: ::std::marker::PhantomData<&'a ()>,
21090 impl<'a> ::std::ops::Deref for SparseImageMemoryRequirements2Builder<'a> {
21092 fn deref(&self) -> &Self::Target { in deref()
21096 impl<'a> ::std::ops::DerefMut for SparseImageMemoryRequirements2Builder<'a> {
21097 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
21105 ) -> Self { in memory_requirements()
21109 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
21112 pub fn build(self) -> SparseImageMemoryRequirements2 { in build() method
21118 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDevicePoi…
21124 impl ::std::default::Default for PhysicalDevicePointClippingProperties {
21125 fn default() -> PhysicalDevicePointClippingProperties { in default()
21128 p_next: ::std::ptr::null_mut(), in default()
21134 pub fn builder<'a>() -> PhysicalDevicePointClippingPropertiesBuilder<'a> { in builder()
21137 marker: ::std::marker::PhantomData, in builder()
21144 marker: ::std::marker::PhantomData<&'a ()>,
21148 impl<'a> ::std::ops::Deref for PhysicalDevicePointClippingPropertiesBuilder<'a> {
21150 fn deref(&self) -> &Self::Target { in deref()
21154 impl<'a> ::std::ops::DerefMut for PhysicalDevicePointClippingPropertiesBuilder<'a> {
21155 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
21163 ) -> Self { in point_clipping_behavior()
21167 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
21170 pub fn build(self) -> PhysicalDevicePointClippingProperties { in build() method
21176 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMemoryDedicatedRe…
21183 impl ::std::default::Default for MemoryDedicatedRequirements {
21184 fn default() -> MemoryDedicatedRequirements { in default()
21187 p_next: ::std::ptr::null_mut(), in default()
21194 pub fn builder<'a>() -> MemoryDedicatedRequirementsBuilder<'a> { in builder()
21197 marker: ::std::marker::PhantomData, in builder()
21204 marker: ::std::marker::PhantomData<&'a ()>,
21208 impl<'a> ::std::ops::Deref for MemoryDedicatedRequirementsBuilder<'a> {
21210 fn deref(&self) -> &Self::Target { in deref()
21214 impl<'a> ::std::ops::DerefMut for MemoryDedicatedRequirementsBuilder<'a> {
21215 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
21220 pub fn prefers_dedicated_allocation(mut self, prefers_dedicated_allocation: bool) -> Self { in prefers_dedicated_allocation()
21224 pub fn requires_dedicated_allocation(mut self, requires_dedicated_allocation: bool) -> Self { in requires_dedicated_allocation()
21228 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
21231 pub fn build(self) -> MemoryDedicatedRequirements { in build() method
21237 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMemoryDedicatedAl…
21244 impl ::std::default::Default for MemoryDedicatedAllocateInfo {
21245 fn default() -> MemoryDedicatedAllocateInfo { in default()
21248 p_next: ::std::ptr::null(), in default()
21255 pub fn builder<'a>() -> MemoryDedicatedAllocateInfoBuilder<'a> { in builder()
21258 marker: ::std::marker::PhantomData, in builder()
21265 marker: ::std::marker::PhantomData<&'a ()>,
21269 impl<'a> ::std::ops::Deref for MemoryDedicatedAllocateInfoBuilder<'a> {
21271 fn deref(&self) -> &Self::Target { in deref()
21275 impl<'a> ::std::ops::DerefMut for MemoryDedicatedAllocateInfoBuilder<'a> {
21276 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
21281 pub fn image(mut self, image: Image) -> Self { in image()
21285 pub fn buffer(mut self, buffer: Buffer) -> Self { in buffer()
21289 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
21292 pub fn build(self) -> MemoryDedicatedAllocateInfo { in build() method
21298 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageViewUsageCre…
21304 impl ::std::default::Default for ImageViewUsageCreateInfo {
21305 fn default() -> ImageViewUsageCreateInfo { in default()
21308 p_next: ::std::ptr::null(), in default()
21314 pub fn builder<'a>() -> ImageViewUsageCreateInfoBuilder<'a> { in builder()
21317 marker: ::std::marker::PhantomData, in builder()
21324 marker: ::std::marker::PhantomData<&'a ()>,
21328 impl<'a> ::std::ops::Deref for ImageViewUsageCreateInfoBuilder<'a> {
21330 fn deref(&self) -> &Self::Target { in deref()
21334 impl<'a> ::std::ops::DerefMut for ImageViewUsageCreateInfoBuilder<'a> {
21335 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
21340 pub fn usage(mut self, usage: ImageUsageFlags) -> Self { in usage()
21344 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
21347 pub fn build(self) -> ImageViewUsageCreateInfo { in build() method
21353 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineTessellat…
21359 impl ::std::default::Default for PipelineTessellationDomainOriginStateCreateInfo {
21360 fn default() -> PipelineTessellationDomainOriginStateCreateInfo { in default()
21363 p_next: ::std::ptr::null(), in default()
21369 pub fn builder<'a>() -> PipelineTessellationDomainOriginStateCreateInfoBuilder<'a> { in builder()
21372 marker: ::std::marker::PhantomData, in builder()
21379 marker: ::std::marker::PhantomData<&'a ()>,
21389 impl<'a> ::std::ops::Deref for PipelineTessellationDomainOriginStateCreateInfoBuilder<'a> {
21391 fn deref(&self) -> &Self::Target { in deref()
21395 impl<'a> ::std::ops::DerefMut for PipelineTessellationDomainOriginStateCreateInfoBuilder<'a> {
21396 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
21401 pub fn domain_origin(mut self, domain_origin: TessellationDomainOrigin) -> Self { in domain_origin()
21405 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
21408 pub fn build(self) -> PipelineTessellationDomainOriginStateCreateInfo { in build() method
21414 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSamplerYcbcrConve…
21420 impl ::std::default::Default for SamplerYcbcrConversionInfo {
21421 fn default() -> SamplerYcbcrConversionInfo { in default()
21424 p_next: ::std::ptr::null(), in default()
21430 pub fn builder<'a>() -> SamplerYcbcrConversionInfoBuilder<'a> { in builder()
21433 marker: ::std::marker::PhantomData, in builder()
21440 marker: ::std::marker::PhantomData<&'a ()>,
21446 impl<'a> ::std::ops::Deref for SamplerYcbcrConversionInfoBuilder<'a> {
21448 fn deref(&self) -> &Self::Target { in deref()
21452 impl<'a> ::std::ops::DerefMut for SamplerYcbcrConversionInfoBuilder<'a> {
21453 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
21458 pub fn conversion(mut self, conversion: SamplerYcbcrConversion) -> Self { in conversion()
21462 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
21465 pub fn build(self) -> SamplerYcbcrConversionInfo { in build() method
21471 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSamplerYcbcrConve…
21484 impl ::std::default::Default for SamplerYcbcrConversionCreateInfo {
21485 fn default() -> SamplerYcbcrConversionCreateInfo { in default()
21488 p_next: ::std::ptr::null(), in default()
21501 pub fn builder<'a>() -> SamplerYcbcrConversionCreateInfoBuilder<'a> { in builder()
21504 marker: ::std::marker::PhantomData, in builder()
21511 marker: ::std::marker::PhantomData<&'a ()>,
21514 impl<'a> ::std::ops::Deref for SamplerYcbcrConversionCreateInfoBuilder<'a> {
21516 fn deref(&self) -> &Self::Target { in deref()
21520 impl<'a> ::std::ops::DerefMut for SamplerYcbcrConversionCreateInfoBuilder<'a> {
21521 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
21526 pub fn format(mut self, format: Format) -> Self { in format()
21530 pub fn ycbcr_model(mut self, ycbcr_model: SamplerYcbcrModelConversion) -> Self { in ycbcr_model()
21534 pub fn ycbcr_range(mut self, ycbcr_range: SamplerYcbcrRange) -> Self { in ycbcr_range()
21538 pub fn components(mut self, components: ComponentMapping) -> Self { in components()
21542 pub fn x_chroma_offset(mut self, x_chroma_offset: ChromaLocation) -> Self { in x_chroma_offset()
21546 pub fn y_chroma_offset(mut self, y_chroma_offset: ChromaLocation) -> Self { in y_chroma_offset()
21550 pub fn chroma_filter(mut self, chroma_filter: Filter) -> Self { in chroma_filter()
21554 pub fn force_explicit_reconstruction(mut self, force_explicit_reconstruction: bool) -> Self { in force_explicit_reconstruction()
21561 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
21562 #[doc = r" chain will look like `A -> D -> B -> C`."]
21566 ) -> Self { in push_next()
21575 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
21578 pub fn build(self) -> SamplerYcbcrConversionCreateInfo { in build() method
21584 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBindImagePlaneMem…
21590 impl ::std::default::Default for BindImagePlaneMemoryInfo {
21591 fn default() -> BindImagePlaneMemoryInfo { in default()
21594 p_next: ::std::ptr::null(), in default()
21600 pub fn builder<'a>() -> BindImagePlaneMemoryInfoBuilder<'a> { in builder()
21603 marker: ::std::marker::PhantomData, in builder()
21610 marker: ::std::marker::PhantomData<&'a ()>,
21614 impl<'a> ::std::ops::Deref for BindImagePlaneMemoryInfoBuilder<'a> {
21616 fn deref(&self) -> &Self::Target { in deref()
21620 impl<'a> ::std::ops::DerefMut for BindImagePlaneMemoryInfoBuilder<'a> {
21621 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
21626 pub fn plane_aspect(mut self, plane_aspect: ImageAspectFlags) -> Self { in plane_aspect()
21630 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
21633 pub fn build(self) -> BindImagePlaneMemoryInfo { in build() method
21639 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImagePlaneMemoryR…
21645 impl ::std::default::Default for ImagePlaneMemoryRequirementsInfo {
21646 fn default() -> ImagePlaneMemoryRequirementsInfo { in default()
21649 p_next: ::std::ptr::null(), in default()
21655 pub fn builder<'a>() -> ImagePlaneMemoryRequirementsInfoBuilder<'a> { in builder()
21658 marker: ::std::marker::PhantomData, in builder()
21665 marker: ::std::marker::PhantomData<&'a ()>,
21669 impl<'a> ::std::ops::Deref for ImagePlaneMemoryRequirementsInfoBuilder<'a> {
21671 fn deref(&self) -> &Self::Target { in deref()
21675 impl<'a> ::std::ops::DerefMut for ImagePlaneMemoryRequirementsInfoBuilder<'a> {
21676 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
21681 pub fn plane_aspect(mut self, plane_aspect: ImageAspectFlags) -> Self { in plane_aspect()
21685 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
21688 pub fn build(self) -> ImagePlaneMemoryRequirementsInfo { in build() method
21694 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSam…
21700 impl ::std::default::Default for PhysicalDeviceSamplerYcbcrConversionFeatures {
21701 fn default() -> PhysicalDeviceSamplerYcbcrConversionFeatures { in default()
21704 p_next: ::std::ptr::null_mut(), in default()
21710 pub fn builder<'a>() -> PhysicalDeviceSamplerYcbcrConversionFeaturesBuilder<'a> { in builder()
21713 marker: ::std::marker::PhantomData, in builder()
21720 marker: ::std::marker::PhantomData<&'a ()>,
21729 impl<'a> ::std::ops::Deref for PhysicalDeviceSamplerYcbcrConversionFeaturesBuilder<'a> {
21731 fn deref(&self) -> &Self::Target { in deref()
21735 impl<'a> ::std::ops::DerefMut for PhysicalDeviceSamplerYcbcrConversionFeaturesBuilder<'a> {
21736 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
21741 pub fn sampler_ycbcr_conversion(mut self, sampler_ycbcr_conversion: bool) -> Self { in sampler_ycbcr_conversion()
21745 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
21748 pub fn build(self) -> PhysicalDeviceSamplerYcbcrConversionFeatures { in build() method
21754 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSamplerYcbcrConve…
21760 impl ::std::default::Default for SamplerYcbcrConversionImageFormatProperties {
21761 fn default() -> SamplerYcbcrConversionImageFormatProperties { in default()
21764 p_next: ::std::ptr::null_mut(), in default()
21770 pub fn builder<'a>() -> SamplerYcbcrConversionImageFormatPropertiesBuilder<'a> { in builder()
21773 marker: ::std::marker::PhantomData, in builder()
21780 marker: ::std::marker::PhantomData<&'a ()>,
21787 impl<'a> ::std::ops::Deref for SamplerYcbcrConversionImageFormatPropertiesBuilder<'a> {
21789 fn deref(&self) -> &Self::Target { in deref()
21793 impl<'a> ::std::ops::DerefMut for SamplerYcbcrConversionImageFormatPropertiesBuilder<'a> {
21794 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
21802 ) -> Self { in combined_image_sampler_descriptor_count()
21807 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
21810 pub fn build(self) -> SamplerYcbcrConversionImageFormatProperties { in build() method
21816 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkTextureLODGatherF…
21822 impl ::std::default::Default for TextureLODGatherFormatPropertiesAMD {
21823 fn default() -> TextureLODGatherFormatPropertiesAMD { in default()
21826 p_next: ::std::ptr::null_mut(), in default()
21832 pub fn builder<'a>() -> TextureLODGatherFormatPropertiesAMDBuilder<'a> { in builder()
21835 marker: ::std::marker::PhantomData, in builder()
21842 marker: ::std::marker::PhantomData<&'a ()>,
21846 impl<'a> ::std::ops::Deref for TextureLODGatherFormatPropertiesAMDBuilder<'a> {
21848 fn deref(&self) -> &Self::Target { in deref()
21852 impl<'a> ::std::ops::DerefMut for TextureLODGatherFormatPropertiesAMDBuilder<'a> {
21853 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
21861 ) -> Self { in supports_texture_gather_lod_bias_amd()
21866 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
21869 pub fn build(self) -> TextureLODGatherFormatPropertiesAMD { in build() method
21875 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkConditionalRender…
21883 impl ::std::default::Default for ConditionalRenderingBeginInfoEXT {
21884 fn default() -> ConditionalRenderingBeginInfoEXT { in default()
21887 p_next: ::std::ptr::null(), in default()
21895 pub fn builder<'a>() -> ConditionalRenderingBeginInfoEXTBuilder<'a> { in builder()
21898 marker: ::std::marker::PhantomData, in builder()
21905 marker: ::std::marker::PhantomData<&'a ()>,
21907 impl<'a> ::std::ops::Deref for ConditionalRenderingBeginInfoEXTBuilder<'a> {
21909 fn deref(&self) -> &Self::Target { in deref()
21913 impl<'a> ::std::ops::DerefMut for ConditionalRenderingBeginInfoEXTBuilder<'a> {
21914 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
21919 pub fn buffer(mut self, buffer: Buffer) -> Self { in buffer()
21923 pub fn offset(mut self, offset: DeviceSize) -> Self { in offset()
21927 pub fn flags(mut self, flags: ConditionalRenderingFlagsEXT) -> Self { in flags()
21931 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
21934 pub fn build(self) -> ConditionalRenderingBeginInfoEXT { in build() method
21940 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkProtectedSubmitIn…
21946 impl ::std::default::Default for ProtectedSubmitInfo {
21947 fn default() -> ProtectedSubmitInfo { in default()
21950 p_next: ::std::ptr::null(), in default()
21956 pub fn builder<'a>() -> ProtectedSubmitInfoBuilder<'a> { in builder()
21959 marker: ::std::marker::PhantomData, in builder()
21966 marker: ::std::marker::PhantomData<&'a ()>,
21970 impl<'a> ::std::ops::Deref for ProtectedSubmitInfoBuilder<'a> {
21972 fn deref(&self) -> &Self::Target { in deref()
21976 impl<'a> ::std::ops::DerefMut for ProtectedSubmitInfoBuilder<'a> {
21977 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
21982 pub fn protected_submit(mut self, protected_submit: bool) -> Self { in protected_submit()
21986 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
21989 pub fn build(self) -> ProtectedSubmitInfo { in build() method
21995 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDevicePro…
22001 impl ::std::default::Default for PhysicalDeviceProtectedMemoryFeatures {
22002 fn default() -> PhysicalDeviceProtectedMemoryFeatures { in default()
22005 p_next: ::std::ptr::null_mut(), in default()
22011 pub fn builder<'a>() -> PhysicalDeviceProtectedMemoryFeaturesBuilder<'a> { in builder()
22014 marker: ::std::marker::PhantomData, in builder()
22021 marker: ::std::marker::PhantomData<&'a ()>,
22027 impl<'a> ::std::ops::Deref for PhysicalDeviceProtectedMemoryFeaturesBuilder<'a> {
22029 fn deref(&self) -> &Self::Target { in deref()
22033 impl<'a> ::std::ops::DerefMut for PhysicalDeviceProtectedMemoryFeaturesBuilder<'a> {
22034 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
22039 pub fn protected_memory(mut self, protected_memory: bool) -> Self { in protected_memory()
22043 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
22046 pub fn build(self) -> PhysicalDeviceProtectedMemoryFeatures { in build() method
22052 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDevicePro…
22058 impl ::std::default::Default for PhysicalDeviceProtectedMemoryProperties {
22059 fn default() -> PhysicalDeviceProtectedMemoryProperties { in default()
22062 p_next: ::std::ptr::null_mut(), in default()
22068 pub fn builder<'a>() -> PhysicalDeviceProtectedMemoryPropertiesBuilder<'a> { in builder()
22071 marker: ::std::marker::PhantomData, in builder()
22078 marker: ::std::marker::PhantomData<&'a ()>,
22085 impl<'a> ::std::ops::Deref for PhysicalDeviceProtectedMemoryPropertiesBuilder<'a> {
22087 fn deref(&self) -> &Self::Target { in deref()
22091 impl<'a> ::std::ops::DerefMut for PhysicalDeviceProtectedMemoryPropertiesBuilder<'a> {
22092 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
22097 pub fn protected_no_fault(mut self, protected_no_fault: bool) -> Self { in protected_no_fault()
22101 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
22104 pub fn build(self) -> PhysicalDeviceProtectedMemoryProperties { in build() method
22110 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceQueueInfo2.…
22118 impl ::std::default::Default for DeviceQueueInfo2 {
22119 fn default() -> DeviceQueueInfo2 { in default()
22122 p_next: ::std::ptr::null(), in default()
22130 pub fn builder<'a>() -> DeviceQueueInfo2Builder<'a> { in builder()
22133 marker: ::std::marker::PhantomData, in builder()
22140 marker: ::std::marker::PhantomData<&'a ()>,
22142 impl<'a> ::std::ops::Deref for DeviceQueueInfo2Builder<'a> {
22144 fn deref(&self) -> &Self::Target { in deref()
22148 impl<'a> ::std::ops::DerefMut for DeviceQueueInfo2Builder<'a> {
22149 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
22154 pub fn flags(mut self, flags: DeviceQueueCreateFlags) -> Self { in flags()
22158 pub fn queue_family_index(mut self, queue_family_index: u32) -> Self { in queue_family_index()
22162 pub fn queue_index(mut self, queue_index: u32) -> Self { in queue_index()
22166 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
22169 pub fn build(self) -> DeviceQueueInfo2 { in build() method
22175 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineCoverageT…
22183 impl ::std::default::Default for PipelineCoverageToColorStateCreateInfoNV {
22184 fn default() -> PipelineCoverageToColorStateCreateInfoNV { in default()
22187 p_next: ::std::ptr::null(), in default()
22195 pub fn builder<'a>() -> PipelineCoverageToColorStateCreateInfoNVBuilder<'a> { in builder()
22198 marker: ::std::marker::PhantomData, in builder()
22205 marker: ::std::marker::PhantomData<&'a ()>,
22212 impl<'a> ::std::ops::Deref for PipelineCoverageToColorStateCreateInfoNVBuilder<'a> {
22214 fn deref(&self) -> &Self::Target { in deref()
22218 impl<'a> ::std::ops::DerefMut for PipelineCoverageToColorStateCreateInfoNVBuilder<'a> {
22219 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
22224 pub fn flags(mut self, flags: PipelineCoverageToColorStateCreateFlagsNV) -> Self { in flags()
22228 pub fn coverage_to_color_enable(mut self, coverage_to_color_enable: bool) -> Self { in coverage_to_color_enable()
22232 pub fn coverage_to_color_location(mut self, coverage_to_color_location: u32) -> Self { in coverage_to_color_location()
22236 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
22239 pub fn build(self) -> PipelineCoverageToColorStateCreateInfoNV { in build() method
22245 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSam…
22252 impl ::std::default::Default for PhysicalDeviceSamplerFilterMinmaxProperties {
22253 fn default() -> PhysicalDeviceSamplerFilterMinmaxProperties { in default()
22256 p_next: ::std::ptr::null_mut(), in default()
22263 pub fn builder<'a>() -> PhysicalDeviceSamplerFilterMinmaxPropertiesBuilder<'a> { in builder()
22266 marker: ::std::marker::PhantomData, in builder()
22273 marker: ::std::marker::PhantomData<&'a ()>,
22280 impl<'a> ::std::ops::Deref for PhysicalDeviceSamplerFilterMinmaxPropertiesBuilder<'a> {
22282 fn deref(&self) -> &Self::Target { in deref()
22286 impl<'a> ::std::ops::DerefMut for PhysicalDeviceSamplerFilterMinmaxPropertiesBuilder<'a> {
22287 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
22295 ) -> Self { in filter_minmax_single_component_formats()
22303 ) -> Self { in filter_minmax_image_component_mapping()
22308 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
22311 pub fn build(self) -> PhysicalDeviceSamplerFilterMinmaxProperties { in build() method
22317 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSampleLocationEXT…
22323 pub fn builder<'a>() -> SampleLocationEXTBuilder<'a> { in builder()
22326 marker: ::std::marker::PhantomData, in builder()
22333 marker: ::std::marker::PhantomData<&'a ()>,
22335 impl<'a> ::std::ops::Deref for SampleLocationEXTBuilder<'a> {
22337 fn deref(&self) -> &Self::Target { in deref()
22341 impl<'a> ::std::ops::DerefMut for SampleLocationEXTBuilder<'a> {
22342 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
22347 pub fn x(mut self, x: f32) -> Self { in x()
22351 pub fn y(mut self, y: f32) -> Self { in y()
22355 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
22358 pub fn build(self) -> SampleLocationEXT { in build() method
22364 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSampleLocationsIn…
22373 impl ::std::default::Default for SampleLocationsInfoEXT {
22374 fn default() -> SampleLocationsInfoEXT { in default()
22377 p_next: ::std::ptr::null(), in default()
22381 p_sample_locations: ::std::ptr::null(), in default()
22386 pub fn builder<'a>() -> SampleLocationsInfoEXTBuilder<'a> { in builder()
22389 marker: ::std::marker::PhantomData, in builder()
22396 marker: ::std::marker::PhantomData<&'a ()>,
22402 impl<'a> ::std::ops::Deref for SampleLocationsInfoEXTBuilder<'a> {
22404 fn deref(&self) -> &Self::Target { in deref()
22408 impl<'a> ::std::ops::DerefMut for SampleLocationsInfoEXTBuilder<'a> {
22409 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
22417 ) -> Self { in sample_locations_per_pixel()
22421 pub fn sample_location_grid_size(mut self, sample_location_grid_size: Extent2D) -> Self { in sample_location_grid_size()
22425 pub fn sample_locations(mut self, sample_locations: &'a [SampleLocationEXT]) -> Self { in sample_locations()
22430 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
22433 pub fn build(self) -> SampleLocationsInfoEXT { in build() method
22439 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAttachmentSampleL…
22445 pub fn builder<'a>() -> AttachmentSampleLocationsEXTBuilder<'a> { in builder()
22448 marker: ::std::marker::PhantomData, in builder()
22455 marker: ::std::marker::PhantomData<&'a ()>,
22457 impl<'a> ::std::ops::Deref for AttachmentSampleLocationsEXTBuilder<'a> {
22459 fn deref(&self) -> &Self::Target { in deref()
22463 impl<'a> ::std::ops::DerefMut for AttachmentSampleLocationsEXTBuilder<'a> {
22464 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
22469 pub fn attachment_index(mut self, attachment_index: u32) -> Self { in attachment_index()
22473 pub fn sample_locations_info(mut self, sample_locations_info: SampleLocationsInfoEXT) -> Self { in sample_locations_info()
22477 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
22480 pub fn build(self) -> AttachmentSampleLocationsEXT { in build() method
22486 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSubpassSampleLoca…
22492 pub fn builder<'a>() -> SubpassSampleLocationsEXTBuilder<'a> { in builder()
22495 marker: ::std::marker::PhantomData, in builder()
22502 marker: ::std::marker::PhantomData<&'a ()>,
22504 impl<'a> ::std::ops::Deref for SubpassSampleLocationsEXTBuilder<'a> {
22506 fn deref(&self) -> &Self::Target { in deref()
22510 impl<'a> ::std::ops::DerefMut for SubpassSampleLocationsEXTBuilder<'a> {
22511 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
22516 pub fn subpass_index(mut self, subpass_index: u32) -> Self { in subpass_index()
22520 pub fn sample_locations_info(mut self, sample_locations_info: SampleLocationsInfoEXT) -> Self { in sample_locations_info()
22524 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
22527 pub fn build(self) -> SubpassSampleLocationsEXT { in build() method
22533 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkRenderPassSampleL…
22542 impl ::std::default::Default for RenderPassSampleLocationsBeginInfoEXT {
22543 fn default() -> RenderPassSampleLocationsBeginInfoEXT { in default()
22546 p_next: ::std::ptr::null(), in default()
22548 p_attachment_initial_sample_locations: ::std::ptr::null(), in default()
22550 p_post_subpass_sample_locations: ::std::ptr::null(), in default()
22555 pub fn builder<'a>() -> RenderPassSampleLocationsBeginInfoEXTBuilder<'a> { in builder()
22558 marker: ::std::marker::PhantomData, in builder()
22565 marker: ::std::marker::PhantomData<&'a ()>,
22569 impl<'a> ::std::ops::Deref for RenderPassSampleLocationsBeginInfoEXTBuilder<'a> {
22571 fn deref(&self) -> &Self::Target { in deref()
22575 impl<'a> ::std::ops::DerefMut for RenderPassSampleLocationsBeginInfoEXTBuilder<'a> {
22576 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
22584 ) -> Self { in attachment_initial_sample_locations()
22594 ) -> Self { in post_subpass_sample_locations()
22599 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
22602 pub fn build(self) -> RenderPassSampleLocationsBeginInfoEXT { in build() method
22608 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineSampleLoc…
22615 impl ::std::default::Default for PipelineSampleLocationsStateCreateInfoEXT {
22616 fn default() -> PipelineSampleLocationsStateCreateInfoEXT { in default()
22619 p_next: ::std::ptr::null(), in default()
22626 pub fn builder<'a>() -> PipelineSampleLocationsStateCreateInfoEXTBuilder<'a> { in builder()
22629 marker: ::std::marker::PhantomData, in builder()
22636 marker: ::std::marker::PhantomData<&'a ()>,
22646 impl<'a> ::std::ops::Deref for PipelineSampleLocationsStateCreateInfoEXTBuilder<'a> {
22648 fn deref(&self) -> &Self::Target { in deref()
22652 impl<'a> ::std::ops::DerefMut for PipelineSampleLocationsStateCreateInfoEXTBuilder<'a> {
22653 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
22658 pub fn sample_locations_enable(mut self, sample_locations_enable: bool) -> Self { in sample_locations_enable()
22662 pub fn sample_locations_info(mut self, sample_locations_info: SampleLocationsInfoEXT) -> Self { in sample_locations_info()
22666 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
22669 pub fn build(self) -> PipelineSampleLocationsStateCreateInfoEXT { in build() method
22675 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSam…
22685 impl ::std::default::Default for PhysicalDeviceSampleLocationsPropertiesEXT {
22686 fn default() -> PhysicalDeviceSampleLocationsPropertiesEXT { in default()
22689 p_next: ::std::ptr::null_mut(), in default()
22692 sample_location_coordinate_range: unsafe { ::std::mem::zeroed() }, in default()
22699 pub fn builder<'a>() -> PhysicalDeviceSampleLocationsPropertiesEXTBuilder<'a> { in builder()
22702 marker: ::std::marker::PhantomData, in builder()
22709 marker: ::std::marker::PhantomData<&'a ()>,
22716 impl<'a> ::std::ops::Deref for PhysicalDeviceSampleLocationsPropertiesEXTBuilder<'a> {
22718 fn deref(&self) -> &Self::Target { in deref()
22722 impl<'a> ::std::ops::DerefMut for PhysicalDeviceSampleLocationsPropertiesEXTBuilder<'a> {
22723 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
22731 ) -> Self { in sample_location_sample_counts()
22738 ) -> Self { in max_sample_location_grid_size()
22745 ) -> Self {
22749 pub fn sample_location_sub_pixel_bits(mut self, sample_location_sub_pixel_bits: u32) -> Self { in sample_location_sub_pixel_bits()
22753 pub fn variable_sample_locations(mut self, variable_sample_locations: bool) -> Self { in variable_sample_locations()
22757 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
22760 pub fn build(self) -> PhysicalDeviceSampleLocationsPropertiesEXT { in build() method
22766 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMultisampleProper…
22772 impl ::std::default::Default for MultisamplePropertiesEXT {
22773 fn default() -> MultisamplePropertiesEXT { in default()
22776 p_next: ::std::ptr::null_mut(), in default()
22782 pub fn builder<'a>() -> MultisamplePropertiesEXTBuilder<'a> { in builder()
22785 marker: ::std::marker::PhantomData, in builder()
22792 marker: ::std::marker::PhantomData<&'a ()>,
22794 impl<'a> ::std::ops::Deref for MultisamplePropertiesEXTBuilder<'a> {
22796 fn deref(&self) -> &Self::Target { in deref()
22800 impl<'a> ::std::ops::DerefMut for MultisamplePropertiesEXTBuilder<'a> {
22801 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
22809 ) -> Self { in max_sample_location_grid_size()
22813 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
22816 pub fn build(self) -> MultisamplePropertiesEXT { in build() method
22822 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSamplerReductionM…
22828 impl ::std::default::Default for SamplerReductionModeCreateInfo {
22829 fn default() -> SamplerReductionModeCreateInfo { in default()
22832 p_next: ::std::ptr::null(), in default()
22838 pub fn builder<'a>() -> SamplerReductionModeCreateInfoBuilder<'a> { in builder()
22841 marker: ::std::marker::PhantomData, in builder()
22848 marker: ::std::marker::PhantomData<&'a ()>,
22852 impl<'a> ::std::ops::Deref for SamplerReductionModeCreateInfoBuilder<'a> {
22854 fn deref(&self) -> &Self::Target { in deref()
22858 impl<'a> ::std::ops::DerefMut for SamplerReductionModeCreateInfoBuilder<'a> {
22859 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
22864 pub fn reduction_mode(mut self, reduction_mode: SamplerReductionMode) -> Self { in reduction_mode()
22868 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
22871 pub fn build(self) -> SamplerReductionModeCreateInfo { in build() method
22877 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceBle…
22883 impl ::std::default::Default for PhysicalDeviceBlendOperationAdvancedFeaturesEXT {
22884 fn default() -> PhysicalDeviceBlendOperationAdvancedFeaturesEXT { in default()
22887 p_next: ::std::ptr::null_mut(), in default()
22893 pub fn builder<'a>() -> PhysicalDeviceBlendOperationAdvancedFeaturesEXTBuilder<'a> { in builder()
22896 marker: ::std::marker::PhantomData, in builder()
22903 marker: ::std::marker::PhantomData<&'a ()>,
22912 impl<'a> ::std::ops::Deref for PhysicalDeviceBlendOperationAdvancedFeaturesEXTBuilder<'a> {
22914 fn deref(&self) -> &Self::Target { in deref()
22918 impl<'a> ::std::ops::DerefMut for PhysicalDeviceBlendOperationAdvancedFeaturesEXTBuilder<'a> {
22919 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
22927 ) -> Self { in advanced_blend_coherent_operations()
22931 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
22934 pub fn build(self) -> PhysicalDeviceBlendOperationAdvancedFeaturesEXT { in build() method
22940 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceMul…
22946 impl ::std::default::Default for PhysicalDeviceMultiDrawFeaturesEXT {
22947 fn default() -> PhysicalDeviceMultiDrawFeaturesEXT { in default()
22950 p_next: ::std::ptr::null_mut(), in default()
22956 pub fn builder<'a>() -> PhysicalDeviceMultiDrawFeaturesEXTBuilder<'a> { in builder()
22959 marker: ::std::marker::PhantomData, in builder()
22966 marker: ::std::marker::PhantomData<&'a ()>,
22972 impl<'a> ::std::ops::Deref for PhysicalDeviceMultiDrawFeaturesEXTBuilder<'a> {
22974 fn deref(&self) -> &Self::Target { in deref()
22978 impl<'a> ::std::ops::DerefMut for PhysicalDeviceMultiDrawFeaturesEXTBuilder<'a> {
22979 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
22984 pub fn multi_draw(mut self, multi_draw: bool) -> Self { in multi_draw()
22988 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
22991 pub fn build(self) -> PhysicalDeviceMultiDrawFeaturesEXT { in build() method
22997 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceBle…
23008 impl ::std::default::Default for PhysicalDeviceBlendOperationAdvancedPropertiesEXT {
23009 fn default() -> PhysicalDeviceBlendOperationAdvancedPropertiesEXT { in default()
23012 p_next: ::std::ptr::null_mut(), in default()
23023 pub fn builder<'a>() -> PhysicalDeviceBlendOperationAdvancedPropertiesEXTBuilder<'a> { in builder()
23026 marker: ::std::marker::PhantomData, in builder()
23033 marker: ::std::marker::PhantomData<&'a ()>,
23040 impl<'a> ::std::ops::Deref for PhysicalDeviceBlendOperationAdvancedPropertiesEXTBuilder<'a> {
23042 fn deref(&self) -> &Self::Target { in deref()
23046 impl<'a> ::std::ops::DerefMut for PhysicalDeviceBlendOperationAdvancedPropertiesEXTBuilder<'a> {
23047 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
23055 ) -> Self { in advanced_blend_max_color_attachments()
23062 ) -> Self { in advanced_blend_independent_blend()
23069 ) -> Self { in advanced_blend_non_premultiplied_src_color()
23077 ) -> Self { in advanced_blend_non_premultiplied_dst_color()
23085 ) -> Self { in advanced_blend_correlated_overlap()
23089 pub fn advanced_blend_all_operations(mut self, advanced_blend_all_operations: bool) -> Self { in advanced_blend_all_operations()
23093 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
23096 pub fn build(self) -> PhysicalDeviceBlendOperationAdvancedPropertiesEXT { in build() method
23102 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineColorBlen…
23110 impl ::std::default::Default for PipelineColorBlendAdvancedStateCreateInfoEXT {
23111 fn default() -> PipelineColorBlendAdvancedStateCreateInfoEXT { in default()
23114 p_next: ::std::ptr::null(), in default()
23122 pub fn builder<'a>() -> PipelineColorBlendAdvancedStateCreateInfoEXTBuilder<'a> { in builder()
23125 marker: ::std::marker::PhantomData, in builder()
23132 marker: ::std::marker::PhantomData<&'a ()>,
23142 impl<'a> ::std::ops::Deref for PipelineColorBlendAdvancedStateCreateInfoEXTBuilder<'a> {
23144 fn deref(&self) -> &Self::Target { in deref()
23148 impl<'a> ::std::ops::DerefMut for PipelineColorBlendAdvancedStateCreateInfoEXTBuilder<'a> {
23149 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
23154 pub fn src_premultiplied(mut self, src_premultiplied: bool) -> Self { in src_premultiplied()
23158 pub fn dst_premultiplied(mut self, dst_premultiplied: bool) -> Self { in dst_premultiplied()
23162 pub fn blend_overlap(mut self, blend_overlap: BlendOverlapEXT) -> Self { in blend_overlap()
23166 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
23169 pub fn build(self) -> PipelineColorBlendAdvancedStateCreateInfoEXT { in build() method
23175 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceInl…
23182 impl ::std::default::Default for PhysicalDeviceInlineUniformBlockFeaturesEXT {
23183 fn default() -> PhysicalDeviceInlineUniformBlockFeaturesEXT { in default()
23186 p_next: ::std::ptr::null_mut(), in default()
23193 pub fn builder<'a>() -> PhysicalDeviceInlineUniformBlockFeaturesEXTBuilder<'a> { in builder()
23196 marker: ::std::marker::PhantomData, in builder()
23203 marker: ::std::marker::PhantomData<&'a ()>,
23212 impl<'a> ::std::ops::Deref for PhysicalDeviceInlineUniformBlockFeaturesEXTBuilder<'a> {
23214 fn deref(&self) -> &Self::Target { in deref()
23218 impl<'a> ::std::ops::DerefMut for PhysicalDeviceInlineUniformBlockFeaturesEXTBuilder<'a> {
23219 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
23224 pub fn inline_uniform_block(mut self, inline_uniform_block: bool) -> Self { in inline_uniform_block()
23231 ) -> Self { in descriptor_binding_inline_uniform_block_update_after_bind()
23237 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
23240 pub fn build(self) -> PhysicalDeviceInlineUniformBlockFeaturesEXT { in build() method
23246 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceInl…
23256 impl ::std::default::Default for PhysicalDeviceInlineUniformBlockPropertiesEXT {
23257 fn default() -> PhysicalDeviceInlineUniformBlockPropertiesEXT { in default()
23260 p_next: ::std::ptr::null_mut(), in default()
23270 pub fn builder<'a>() -> PhysicalDeviceInlineUniformBlockPropertiesEXTBuilder<'a> { in builder()
23273 marker: ::std::marker::PhantomData, in builder()
23280 marker: ::std::marker::PhantomData<&'a ()>,
23287 impl<'a> ::std::ops::Deref for PhysicalDeviceInlineUniformBlockPropertiesEXTBuilder<'a> {
23289 fn deref(&self) -> &Self::Target { in deref()
23293 impl<'a> ::std::ops::DerefMut for PhysicalDeviceInlineUniformBlockPropertiesEXTBuilder<'a> {
23294 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
23299 pub fn max_inline_uniform_block_size(mut self, max_inline_uniform_block_size: u32) -> Self { in max_inline_uniform_block_size()
23306 ) -> Self { in max_per_stage_descriptor_inline_uniform_blocks()
23314 ) -> Self { in max_per_stage_descriptor_update_after_bind_inline_uniform_blocks()
23323 ) -> Self { in max_descriptor_set_inline_uniform_blocks()
23331 ) -> Self { in max_descriptor_set_update_after_bind_inline_uniform_blocks()
23337 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
23340 pub fn build(self) -> PhysicalDeviceInlineUniformBlockPropertiesEXT { in build() method
23346 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkWriteDescriptorSe…
23353 impl ::std::default::Default for WriteDescriptorSetInlineUniformBlockEXT {
23354 fn default() -> WriteDescriptorSetInlineUniformBlockEXT { in default()
23357 p_next: ::std::ptr::null(), in default()
23359 p_data: ::std::ptr::null(), in default()
23364 pub fn builder<'a>() -> WriteDescriptorSetInlineUniformBlockEXTBuilder<'a> { in builder()
23367 marker: ::std::marker::PhantomData, in builder()
23374 marker: ::std::marker::PhantomData<&'a ()>,
23378 impl<'a> ::std::ops::Deref for WriteDescriptorSetInlineUniformBlockEXTBuilder<'a> {
23380 fn deref(&self) -> &Self::Target { in deref()
23384 impl<'a> ::std::ops::DerefMut for WriteDescriptorSetInlineUniformBlockEXTBuilder<'a> {
23385 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
23390 pub fn data(mut self, data: &'a [u8]) -> Self { in data()
23395 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
23398 pub fn build(self) -> WriteDescriptorSetInlineUniformBlockEXT { in build() method
23404 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDescriptorPoolInl…
23410 impl ::std::default::Default for DescriptorPoolInlineUniformBlockCreateInfoEXT {
23411 fn default() -> DescriptorPoolInlineUniformBlockCreateInfoEXT { in default()
23414 p_next: ::std::ptr::null(), in default()
23420 pub fn builder<'a>() -> DescriptorPoolInlineUniformBlockCreateInfoEXTBuilder<'a> { in builder()
23423 marker: ::std::marker::PhantomData, in builder()
23430 marker: ::std::marker::PhantomData<&'a ()>,
23437 impl<'a> ::std::ops::Deref for DescriptorPoolInlineUniformBlockCreateInfoEXTBuilder<'a> {
23439 fn deref(&self) -> &Self::Target { in deref()
23443 impl<'a> ::std::ops::DerefMut for DescriptorPoolInlineUniformBlockCreateInfoEXTBuilder<'a> {
23444 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
23452 ) -> Self { in max_inline_uniform_block_bindings()
23456 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
23459 pub fn build(self) -> DescriptorPoolInlineUniformBlockCreateInfoEXT { in build() method
23465 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineCoverageM…
23475 impl ::std::default::Default for PipelineCoverageModulationStateCreateInfoNV {
23476 fn default() -> PipelineCoverageModulationStateCreateInfoNV { in default()
23479 p_next: ::std::ptr::null(), in default()
23484 p_coverage_modulation_table: ::std::ptr::null(), in default()
23489 pub fn builder<'a>() -> PipelineCoverageModulationStateCreateInfoNVBuilder<'a> { in builder()
23492 marker: ::std::marker::PhantomData, in builder()
23499 marker: ::std::marker::PhantomData<&'a ()>,
23509 impl<'a> ::std::ops::Deref for PipelineCoverageModulationStateCreateInfoNVBuilder<'a> {
23511 fn deref(&self) -> &Self::Target { in deref()
23515 impl<'a> ::std::ops::DerefMut for PipelineCoverageModulationStateCreateInfoNVBuilder<'a> {
23516 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
23521 pub fn flags(mut self, flags: PipelineCoverageModulationStateCreateFlagsNV) -> Self { in flags()
23528 ) -> Self { in coverage_modulation_mode()
23535 ) -> Self { in coverage_modulation_table_enable()
23539 pub fn coverage_modulation_table(mut self, coverage_modulation_table: &'a [f32]) -> Self { in coverage_modulation_table()
23544 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
23547 pub fn build(self) -> PipelineCoverageModulationStateCreateInfoNV { in build() method
23553 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageFormatListCr…
23560 impl ::std::default::Default for ImageFormatListCreateInfo {
23561 fn default() -> ImageFormatListCreateInfo { in default()
23564 p_next: ::std::ptr::null(), in default()
23566 p_view_formats: ::std::ptr::null(), in default()
23571 pub fn builder<'a>() -> ImageFormatListCreateInfoBuilder<'a> { in builder()
23574 marker: ::std::marker::PhantomData, in builder()
23581 marker: ::std::marker::PhantomData<&'a ()>,
23589 impl<'a> ::std::ops::Deref for ImageFormatListCreateInfoBuilder<'a> {
23591 fn deref(&self) -> &Self::Target { in deref()
23595 impl<'a> ::std::ops::DerefMut for ImageFormatListCreateInfoBuilder<'a> {
23596 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
23601 pub fn view_formats(mut self, view_formats: &'a [Format]) -> Self { in view_formats()
23606 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
23609 pub fn build(self) -> ImageFormatListCreateInfo { in build() method
23615 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkValidationCacheCr…
23623 impl ::std::default::Default for ValidationCacheCreateInfoEXT {
23624 fn default() -> ValidationCacheCreateInfoEXT { in default()
23627 p_next: ::std::ptr::null(), in default()
23630 p_initial_data: ::std::ptr::null(), in default()
23635 pub fn builder<'a>() -> ValidationCacheCreateInfoEXTBuilder<'a> { in builder()
23638 marker: ::std::marker::PhantomData, in builder()
23645 marker: ::std::marker::PhantomData<&'a ()>,
23647 impl<'a> ::std::ops::Deref for ValidationCacheCreateInfoEXTBuilder<'a> {
23649 fn deref(&self) -> &Self::Target { in deref()
23653 impl<'a> ::std::ops::DerefMut for ValidationCacheCreateInfoEXTBuilder<'a> {
23654 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
23659 pub fn flags(mut self, flags: ValidationCacheCreateFlagsEXT) -> Self { in flags()
23663 pub fn initial_data(mut self, initial_data: &'a [u8]) -> Self { in initial_data()
23668 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
23671 pub fn build(self) -> ValidationCacheCreateInfoEXT { in build() method
23677 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkShaderModuleValid…
23683 impl ::std::default::Default for ShaderModuleValidationCacheCreateInfoEXT {
23684 fn default() -> ShaderModuleValidationCacheCreateInfoEXT { in default()
23687 p_next: ::std::ptr::null(), in default()
23693 pub fn builder<'a>() -> ShaderModuleValidationCacheCreateInfoEXTBuilder<'a> { in builder()
23696 marker: ::std::marker::PhantomData, in builder()
23703 marker: ::std::marker::PhantomData<&'a ()>,
23707 impl<'a> ::std::ops::Deref for ShaderModuleValidationCacheCreateInfoEXTBuilder<'a> {
23709 fn deref(&self) -> &Self::Target { in deref()
23713 impl<'a> ::std::ops::DerefMut for ShaderModuleValidationCacheCreateInfoEXTBuilder<'a> {
23714 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
23719 pub fn validation_cache(mut self, validation_cache: ValidationCacheEXT) -> Self { in validation_cache()
23723 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
23726 pub fn build(self) -> ShaderModuleValidationCacheCreateInfoEXT { in build() method
23732 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceMai…
23739 impl ::std::default::Default for PhysicalDeviceMaintenance3Properties {
23740 fn default() -> PhysicalDeviceMaintenance3Properties { in default()
23743 p_next: ::std::ptr::null_mut(), in default()
23750 pub fn builder<'a>() -> PhysicalDeviceMaintenance3PropertiesBuilder<'a> { in builder()
23753 marker: ::std::marker::PhantomData, in builder()
23760 marker: ::std::marker::PhantomData<&'a ()>,
23764 impl<'a> ::std::ops::Deref for PhysicalDeviceMaintenance3PropertiesBuilder<'a> {
23766 fn deref(&self) -> &Self::Target { in deref()
23770 impl<'a> ::std::ops::DerefMut for PhysicalDeviceMaintenance3PropertiesBuilder<'a> {
23771 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
23776 pub fn max_per_set_descriptors(mut self, max_per_set_descriptors: u32) -> Self { in max_per_set_descriptors()
23780 pub fn max_memory_allocation_size(mut self, max_memory_allocation_size: DeviceSize) -> Self { in max_memory_allocation_size()
23784 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
23787 pub fn build(self) -> PhysicalDeviceMaintenance3Properties { in build() method
23793 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDescriptorSetLayo…
23799 impl ::std::default::Default for DescriptorSetLayoutSupport {
23800 fn default() -> DescriptorSetLayoutSupport { in default()
23803 p_next: ::std::ptr::null_mut(), in default()
23809 pub fn builder<'a>() -> DescriptorSetLayoutSupportBuilder<'a> { in builder()
23812 marker: ::std::marker::PhantomData, in builder()
23819 marker: ::std::marker::PhantomData<&'a ()>,
23822 impl<'a> ::std::ops::Deref for DescriptorSetLayoutSupportBuilder<'a> {
23824 fn deref(&self) -> &Self::Target { in deref()
23828 impl<'a> ::std::ops::DerefMut for DescriptorSetLayoutSupportBuilder<'a> {
23829 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
23834 pub fn supported(mut self, supported: bool) -> Self { in supported()
23841 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
23842 #[doc = r" chain will look like `A -> D -> B -> C`."]
23843 pub fn push_next<T: ExtendsDescriptorSetLayoutSupport>(mut self, next: &'a mut T) -> Self { in push_next()
23852 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
23855 pub fn build(self) -> DescriptorSetLayoutSupport { in build() method
23861 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSha…
23867 impl ::std::default::Default for PhysicalDeviceShaderDrawParametersFeatures {
23868 fn default() -> PhysicalDeviceShaderDrawParametersFeatures { in default()
23871 p_next: ::std::ptr::null_mut(), in default()
23877 pub fn builder<'a>() -> PhysicalDeviceShaderDrawParametersFeaturesBuilder<'a> { in builder()
23880 marker: ::std::marker::PhantomData, in builder()
23887 marker: ::std::marker::PhantomData<&'a ()>,
23896 impl<'a> ::std::ops::Deref for PhysicalDeviceShaderDrawParametersFeaturesBuilder<'a> {
23898 fn deref(&self) -> &Self::Target { in deref()
23902 impl<'a> ::std::ops::DerefMut for PhysicalDeviceShaderDrawParametersFeaturesBuilder<'a> {
23903 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
23908 pub fn shader_draw_parameters(mut self, shader_draw_parameters: bool) -> Self { in shader_draw_parameters()
23912 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
23915 pub fn build(self) -> PhysicalDeviceShaderDrawParametersFeatures { in build() method
23921 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSha…
23928 impl ::std::default::Default for PhysicalDeviceShaderFloat16Int8Features {
23929 fn default() -> PhysicalDeviceShaderFloat16Int8Features { in default()
23932 p_next: ::std::ptr::null_mut(), in default()
23939 pub fn builder<'a>() -> PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a> { in builder()
23942 marker: ::std::marker::PhantomData, in builder()
23949 marker: ::std::marker::PhantomData<&'a ()>,
23955 impl<'a> ::std::ops::Deref for PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a> {
23957 fn deref(&self) -> &Self::Target { in deref()
23961 impl<'a> ::std::ops::DerefMut for PhysicalDeviceShaderFloat16Int8FeaturesBuilder<'a> {
23962 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
23967 pub fn shader_float16(mut self, shader_float16: bool) -> Self { in shader_float16()
23971 pub fn shader_int8(mut self, shader_int8: bool) -> Self { in shader_int8()
23975 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
23978 pub fn build(self) -> PhysicalDeviceShaderFloat16Int8Features { in build() method
23984 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceFlo…
24006 impl ::std::default::Default for PhysicalDeviceFloatControlsProperties {
24007 fn default() -> PhysicalDeviceFloatControlsProperties { in default()
24010 p_next: ::std::ptr::null_mut(), in default()
24032 pub fn builder<'a>() -> PhysicalDeviceFloatControlsPropertiesBuilder<'a> { in builder()
24035 marker: ::std::marker::PhantomData, in builder()
24042 marker: ::std::marker::PhantomData<&'a ()>,
24046 impl<'a> ::std::ops::Deref for PhysicalDeviceFloatControlsPropertiesBuilder<'a> {
24048 fn deref(&self) -> &Self::Target { in deref()
24052 impl<'a> ::std::ops::DerefMut for PhysicalDeviceFloatControlsPropertiesBuilder<'a> {
24053 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
24061 ) -> Self { in denorm_behavior_independence()
24068 ) -> Self { in rounding_mode_independence()
24075 ) -> Self { in shader_signed_zero_inf_nan_preserve_float16()
24083 ) -> Self { in shader_signed_zero_inf_nan_preserve_float32()
24091 ) -> Self { in shader_signed_zero_inf_nan_preserve_float64()
24096 pub fn shader_denorm_preserve_float16(mut self, shader_denorm_preserve_float16: bool) -> Self { in shader_denorm_preserve_float16()
24100 pub fn shader_denorm_preserve_float32(mut self, shader_denorm_preserve_float32: bool) -> Self { in shader_denorm_preserve_float32()
24104 pub fn shader_denorm_preserve_float64(mut self, shader_denorm_preserve_float64: bool) -> Self { in shader_denorm_preserve_float64()
24111 ) -> Self { in shader_denorm_flush_to_zero_float16()
24118 ) -> Self { in shader_denorm_flush_to_zero_float32()
24125 ) -> Self { in shader_denorm_flush_to_zero_float64()
24132 ) -> Self { in shader_rounding_mode_rte_float16()
24139 ) -> Self { in shader_rounding_mode_rte_float32()
24146 ) -> Self { in shader_rounding_mode_rte_float64()
24153 ) -> Self { in shader_rounding_mode_rtz_float16()
24160 ) -> Self { in shader_rounding_mode_rtz_float32()
24167 ) -> Self { in shader_rounding_mode_rtz_float64()
24171 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
24174 pub fn build(self) -> PhysicalDeviceFloatControlsProperties { in build() method
24180 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceHos…
24186 impl ::std::default::Default for PhysicalDeviceHostQueryResetFeatures {
24187 fn default() -> PhysicalDeviceHostQueryResetFeatures { in default()
24190 p_next: ::std::ptr::null_mut(), in default()
24196 pub fn builder<'a>() -> PhysicalDeviceHostQueryResetFeaturesBuilder<'a> { in builder()
24199 marker: ::std::marker::PhantomData, in builder()
24206 marker: ::std::marker::PhantomData<&'a ()>,
24212 impl<'a> ::std::ops::Deref for PhysicalDeviceHostQueryResetFeaturesBuilder<'a> {
24214 fn deref(&self) -> &Self::Target { in deref()
24218 impl<'a> ::std::ops::DerefMut for PhysicalDeviceHostQueryResetFeaturesBuilder<'a> {
24219 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
24224 pub fn host_query_reset(mut self, host_query_reset: bool) -> Self { in host_query_reset()
24228 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
24231 pub fn build(self) -> PhysicalDeviceHostQueryResetFeatures { in build() method
24237 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkNativeBufferUsage…
24243 pub fn builder<'a>() -> NativeBufferUsage2ANDROIDBuilder<'a> { in builder()
24246 marker: ::std::marker::PhantomData, in builder()
24253 marker: ::std::marker::PhantomData<&'a ()>,
24255 impl<'a> ::std::ops::Deref for NativeBufferUsage2ANDROIDBuilder<'a> {
24257 fn deref(&self) -> &Self::Target { in deref()
24261 impl<'a> ::std::ops::DerefMut for NativeBufferUsage2ANDROIDBuilder<'a> {
24262 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
24267 pub fn consumer(mut self, consumer: u64) -> Self { in consumer()
24271 pub fn producer(mut self, producer: u64) -> Self { in producer()
24275 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
24278 pub fn build(self) -> NativeBufferUsage2ANDROID { in build() method
24284 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkNativeBufferANDRO…
24294 impl ::std::default::Default for NativeBufferANDROID {
24295 fn default() -> NativeBufferANDROID { in default()
24298 p_next: ::std::ptr::null(), in default()
24299 handle: ::std::ptr::null(), in default()
24308 pub fn builder<'a>() -> NativeBufferANDROIDBuilder<'a> { in builder()
24311 marker: ::std::marker::PhantomData, in builder()
24318 marker: ::std::marker::PhantomData<&'a ()>,
24320 impl<'a> ::std::ops::Deref for NativeBufferANDROIDBuilder<'a> {
24322 fn deref(&self) -> &Self::Target { in deref()
24326 impl<'a> ::std::ops::DerefMut for NativeBufferANDROIDBuilder<'a> {
24327 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
24332 pub fn handle(mut self, handle: *const c_void) -> Self { in handle()
24336 pub fn stride(mut self, stride: c_int) -> Self { in stride()
24340 pub fn format(mut self, format: c_int) -> Self { in format()
24344 pub fn usage(mut self, usage: c_int) -> Self { in usage()
24348 pub fn usage2(mut self, usage2: NativeBufferUsage2ANDROID) -> Self { in usage2()
24352 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
24355 pub fn build(self) -> NativeBufferANDROID { in build() method
24361 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSwapchainImageCre…
24367 impl ::std::default::Default for SwapchainImageCreateInfoANDROID {
24368 fn default() -> SwapchainImageCreateInfoANDROID { in default()
24371 p_next: ::std::ptr::null(), in default()
24377 pub fn builder<'a>() -> SwapchainImageCreateInfoANDROIDBuilder<'a> { in builder()
24380 marker: ::std::marker::PhantomData, in builder()
24387 marker: ::std::marker::PhantomData<&'a ()>,
24389 impl<'a> ::std::ops::Deref for SwapchainImageCreateInfoANDROIDBuilder<'a> {
24391 fn deref(&self) -> &Self::Target { in deref()
24395 impl<'a> ::std::ops::DerefMut for SwapchainImageCreateInfoANDROIDBuilder<'a> {
24396 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
24401 pub fn usage(mut self, usage: SwapchainImageUsageFlagsANDROID) -> Self { in usage()
24405 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
24408 pub fn build(self) -> SwapchainImageCreateInfoANDROID { in build() method
24414 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDevicePre…
24420 impl ::std::default::Default for PhysicalDevicePresentationPropertiesANDROID {
24421 fn default() -> PhysicalDevicePresentationPropertiesANDROID { in default()
24424 p_next: ::std::ptr::null(), in default()
24430 pub fn builder<'a>() -> PhysicalDevicePresentationPropertiesANDROIDBuilder<'a> { in builder()
24433 marker: ::std::marker::PhantomData, in builder()
24440 marker: ::std::marker::PhantomData<&'a ()>,
24442 impl<'a> ::std::ops::Deref for PhysicalDevicePresentationPropertiesANDROIDBuilder<'a> {
24444 fn deref(&self) -> &Self::Target { in deref()
24448 impl<'a> ::std::ops::DerefMut for PhysicalDevicePresentationPropertiesANDROIDBuilder<'a> {
24449 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
24454 pub fn shared_image(mut self, shared_image: bool) -> Self { in shared_image()
24458 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
24461 pub fn build(self) -> PhysicalDevicePresentationPropertiesANDROID { in build() method
24467 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkShaderResourceUsa…
24476 pub fn builder<'a>() -> ShaderResourceUsageAMDBuilder<'a> { in builder()
24479 marker: ::std::marker::PhantomData, in builder()
24486 marker: ::std::marker::PhantomData<&'a ()>,
24488 impl<'a> ::std::ops::Deref for ShaderResourceUsageAMDBuilder<'a> {
24490 fn deref(&self) -> &Self::Target { in deref()
24494 impl<'a> ::std::ops::DerefMut for ShaderResourceUsageAMDBuilder<'a> {
24495 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
24500 pub fn num_used_vgprs(mut self, num_used_vgprs: u32) -> Self { in num_used_vgprs()
24504 pub fn num_used_sgprs(mut self, num_used_sgprs: u32) -> Self { in num_used_sgprs()
24508 pub fn lds_size_per_local_work_group(mut self, lds_size_per_local_work_group: u32) -> Self { in lds_size_per_local_work_group()
24512 pub fn lds_usage_size_in_bytes(mut self, lds_usage_size_in_bytes: usize) -> Self { in lds_usage_size_in_bytes()
24516 pub fn scratch_mem_usage_in_bytes(mut self, scratch_mem_usage_in_bytes: usize) -> Self { in scratch_mem_usage_in_bytes()
24520 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
24523 pub fn build(self) -> ShaderResourceUsageAMD { in build() method
24529 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkShaderStatisticsI…
24539 impl ::std::default::Default for ShaderStatisticsInfoAMD {
24540 fn default() -> ShaderStatisticsInfoAMD { in default()
24548 compute_work_group_size: unsafe { ::std::mem::zeroed() }, in default()
24553 pub fn builder<'a>() -> ShaderStatisticsInfoAMDBuilder<'a> { in builder()
24556 marker: ::std::marker::PhantomData, in builder()
24563 marker: ::std::marker::PhantomData<&'a ()>,
24565 impl<'a> ::std::ops::Deref for ShaderStatisticsInfoAMDBuilder<'a> {
24567 fn deref(&self) -> &Self::Target { in deref()
24571 impl<'a> ::std::ops::DerefMut for ShaderStatisticsInfoAMDBuilder<'a> {
24572 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
24577 pub fn shader_stage_mask(mut self, shader_stage_mask: ShaderStageFlags) -> Self { in shader_stage_mask()
24581 pub fn resource_usage(mut self, resource_usage: ShaderResourceUsageAMD) -> Self { in resource_usage()
24585 pub fn num_physical_vgprs(mut self, num_physical_vgprs: u32) -> Self { in num_physical_vgprs()
24589 pub fn num_physical_sgprs(mut self, num_physical_sgprs: u32) -> Self { in num_physical_sgprs()
24593 pub fn num_available_vgprs(mut self, num_available_vgprs: u32) -> Self { in num_available_vgprs()
24597 pub fn num_available_sgprs(mut self, num_available_sgprs: u32) -> Self { in num_available_sgprs()
24601 pub fn compute_work_group_size(mut self, compute_work_group_size: [u32; 3]) -> Self { in compute_work_group_size()
24605 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
24608 pub fn build(self) -> ShaderStatisticsInfoAMD { in build() method
24614 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceQueueGlobal…
24620 impl ::std::default::Default for DeviceQueueGlobalPriorityCreateInfoEXT {
24621 fn default() -> DeviceQueueGlobalPriorityCreateInfoEXT { in default()
24624 p_next: ::std::ptr::null(), in default()
24630 pub fn builder<'a>() -> DeviceQueueGlobalPriorityCreateInfoEXTBuilder<'a> { in builder()
24633 marker: ::std::marker::PhantomData, in builder()
24640 marker: ::std::marker::PhantomData<&'a ()>,
24644 impl<'a> ::std::ops::Deref for DeviceQueueGlobalPriorityCreateInfoEXTBuilder<'a> {
24646 fn deref(&self) -> &Self::Target { in deref()
24650 impl<'a> ::std::ops::DerefMut for DeviceQueueGlobalPriorityCreateInfoEXTBuilder<'a> {
24651 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
24656 pub fn global_priority(mut self, global_priority: QueueGlobalPriorityEXT) -> Self { in global_priority()
24660 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
24663 pub fn build(self) -> DeviceQueueGlobalPriorityCreateInfoEXT { in build() method
24669 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceGlo…
24675 impl ::std::default::Default for PhysicalDeviceGlobalPriorityQueryFeaturesEXT {
24676 fn default() -> PhysicalDeviceGlobalPriorityQueryFeaturesEXT { in default()
24679 p_next: ::std::ptr::null_mut(), in default()
24685 pub fn builder<'a>() -> PhysicalDeviceGlobalPriorityQueryFeaturesEXTBuilder<'a> { in builder()
24688 marker: ::std::marker::PhantomData, in builder()
24695 marker: ::std::marker::PhantomData<&'a ()>,
24704 impl<'a> ::std::ops::Deref for PhysicalDeviceGlobalPriorityQueryFeaturesEXTBuilder<'a> {
24706 fn deref(&self) -> &Self::Target { in deref()
24710 impl<'a> ::std::ops::DerefMut for PhysicalDeviceGlobalPriorityQueryFeaturesEXTBuilder<'a> {
24711 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
24716 pub fn global_priority_query(mut self, global_priority_query: bool) -> Self { in global_priority_query()
24720 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
24723 pub fn build(self) -> PhysicalDeviceGlobalPriorityQueryFeaturesEXT { in build() method
24729 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkQueueFamilyGlobal…
24736 impl ::std::default::Default for QueueFamilyGlobalPriorityPropertiesEXT {
24737 fn default() -> QueueFamilyGlobalPriorityPropertiesEXT { in default()
24740 p_next: ::std::ptr::null_mut(), in default()
24742 priorities: unsafe { ::std::mem::zeroed() }, in default()
24747 pub fn builder<'a>() -> QueueFamilyGlobalPriorityPropertiesEXTBuilder<'a> { in builder()
24750 marker: ::std::marker::PhantomData, in builder()
24757 marker: ::std::marker::PhantomData<&'a ()>,
24761 impl<'a> ::std::ops::Deref for QueueFamilyGlobalPriorityPropertiesEXTBuilder<'a> {
24763 fn deref(&self) -> &Self::Target { in deref()
24767 impl<'a> ::std::ops::DerefMut for QueueFamilyGlobalPriorityPropertiesEXTBuilder<'a> {
24768 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
24773 pub fn priority_count(mut self, priority_count: u32) -> Self { in priority_count()
24780 ) -> Self {
24784 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
24787 pub fn build(self) -> QueueFamilyGlobalPriorityPropertiesEXT { in build() method
24793 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDebugUtilsObjectN…
24801 impl ::std::default::Default for DebugUtilsObjectNameInfoEXT {
24802 fn default() -> DebugUtilsObjectNameInfoEXT { in default()
24805 p_next: ::std::ptr::null(), in default()
24808 p_object_name: ::std::ptr::null(), in default()
24813 pub fn builder<'a>() -> DebugUtilsObjectNameInfoEXTBuilder<'a> { in builder()
24816 marker: ::std::marker::PhantomData, in builder()
24823 marker: ::std::marker::PhantomData<&'a ()>,
24825 impl<'a> ::std::ops::Deref for DebugUtilsObjectNameInfoEXTBuilder<'a> {
24827 fn deref(&self) -> &Self::Target { in deref()
24831 impl<'a> ::std::ops::DerefMut for DebugUtilsObjectNameInfoEXTBuilder<'a> {
24832 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
24837 pub fn object_type(mut self, object_type: ObjectType) -> Self { in object_type()
24841 pub fn object_handle(mut self, object_handle: u64) -> Self { in object_handle()
24845 pub fn object_name(mut self, object_name: &'a ::std::ffi::CStr) -> Self { in object_name()
24849 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
24852 pub fn build(self) -> DebugUtilsObjectNameInfoEXT { in build() method
24858 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDebugUtilsObjectT…
24868 impl ::std::default::Default for DebugUtilsObjectTagInfoEXT {
24869 fn default() -> DebugUtilsObjectTagInfoEXT { in default()
24872 p_next: ::std::ptr::null(), in default()
24877 p_tag: ::std::ptr::null(), in default()
24882 pub fn builder<'a>() -> DebugUtilsObjectTagInfoEXTBuilder<'a> { in builder()
24885 marker: ::std::marker::PhantomData, in builder()
24892 marker: ::std::marker::PhantomData<&'a ()>,
24894 impl<'a> ::std::ops::Deref for DebugUtilsObjectTagInfoEXTBuilder<'a> {
24896 fn deref(&self) -> &Self::Target { in deref()
24900 impl<'a> ::std::ops::DerefMut for DebugUtilsObjectTagInfoEXTBuilder<'a> {
24901 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
24906 pub fn object_type(mut self, object_type: ObjectType) -> Self { in object_type()
24910 pub fn object_handle(mut self, object_handle: u64) -> Self { in object_handle()
24914 pub fn tag_name(mut self, tag_name: u64) -> Self { in tag_name()
24918 pub fn tag(mut self, tag: &'a [u8]) -> Self { in tag()
24923 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
24926 pub fn build(self) -> DebugUtilsObjectTagInfoEXT { in build() method
24932 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDebugUtilsLabelEX…
24939 impl ::std::default::Default for DebugUtilsLabelEXT {
24940 fn default() -> DebugUtilsLabelEXT { in default()
24943 p_next: ::std::ptr::null(), in default()
24944 p_label_name: ::std::ptr::null(), in default()
24945 color: unsafe { ::std::mem::zeroed() }, in default()
24950 pub fn builder<'a>() -> DebugUtilsLabelEXTBuilder<'a> { in builder()
24953 marker: ::std::marker::PhantomData, in builder()
24960 marker: ::std::marker::PhantomData<&'a ()>,
24962 impl<'a> ::std::ops::Deref for DebugUtilsLabelEXTBuilder<'a> {
24964 fn deref(&self) -> &Self::Target { in deref()
24968 impl<'a> ::std::ops::DerefMut for DebugUtilsLabelEXTBuilder<'a> {
24969 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
24974 pub fn label_name(mut self, label_name: &'a ::std::ffi::CStr) -> Self { in label_name()
24978 pub fn color(mut self, color: [f32; 4]) -> Self { in color()
24982 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
24985 pub fn build(self) -> DebugUtilsLabelEXT { in build() method
24991 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDebugUtilsMesseng…
25002 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
25017 impl ::std::default::Default for DebugUtilsMessengerCreateInfoEXT {
25018 fn default() -> DebugUtilsMessengerCreateInfoEXT { in default()
25021 p_next: ::std::ptr::null(), in default()
25026 p_user_data: ::std::ptr::null_mut(), in default()
25031 pub fn builder<'a>() -> DebugUtilsMessengerCreateInfoEXTBuilder<'a> { in builder()
25034 marker: ::std::marker::PhantomData, in builder()
25041 marker: ::std::marker::PhantomData<&'a ()>,
25045 impl<'a> ::std::ops::Deref for DebugUtilsMessengerCreateInfoEXTBuilder<'a> {
25047 fn deref(&self) -> &Self::Target { in deref()
25051 impl<'a> ::std::ops::DerefMut for DebugUtilsMessengerCreateInfoEXTBuilder<'a> {
25052 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
25057 pub fn flags(mut self, flags: DebugUtilsMessengerCreateFlagsEXT) -> Self { in flags()
25061 pub fn message_severity(mut self, message_severity: DebugUtilsMessageSeverityFlagsEXT) -> Self { in message_severity()
25065 pub fn message_type(mut self, message_type: DebugUtilsMessageTypeFlagsEXT) -> Self { in message_type()
25072 ) -> Self { in pfn_user_callback()
25076 pub fn user_data(mut self, user_data: *mut c_void) -> Self { in user_data()
25080 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
25083 pub fn build(self) -> DebugUtilsMessengerCreateInfoEXT { in build() method
25089 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDebugUtilsMesseng…
25104 impl ::std::default::Default for DebugUtilsMessengerCallbackDataEXT {
25105 fn default() -> DebugUtilsMessengerCallbackDataEXT { in default()
25108 p_next: ::std::ptr::null(), in default()
25110 p_message_id_name: ::std::ptr::null(), in default()
25112 p_message: ::std::ptr::null(), in default()
25114 p_queue_labels: ::std::ptr::null(), in default()
25116 p_cmd_buf_labels: ::std::ptr::null(), in default()
25118 p_objects: ::std::ptr::null(), in default()
25123 pub fn builder<'a>() -> DebugUtilsMessengerCallbackDataEXTBuilder<'a> { in builder()
25126 marker: ::std::marker::PhantomData, in builder()
25133 marker: ::std::marker::PhantomData<&'a ()>,
25135 impl<'a> ::std::ops::Deref for DebugUtilsMessengerCallbackDataEXTBuilder<'a> {
25137 fn deref(&self) -> &Self::Target { in deref()
25141 impl<'a> ::std::ops::DerefMut for DebugUtilsMessengerCallbackDataEXTBuilder<'a> {
25142 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
25147 pub fn flags(mut self, flags: DebugUtilsMessengerCallbackDataFlagsEXT) -> Self { in flags()
25151 pub fn message_id_name(mut self, message_id_name: &'a ::std::ffi::CStr) -> Self { in message_id_name()
25155 pub fn message_id_number(mut self, message_id_number: i32) -> Self { in message_id_number()
25159 pub fn message(mut self, message: &'a ::std::ffi::CStr) -> Self { in message()
25163 pub fn queue_labels(mut self, queue_labels: &'a [DebugUtilsLabelEXT]) -> Self { in queue_labels()
25168 pub fn cmd_buf_labels(mut self, cmd_buf_labels: &'a [DebugUtilsLabelEXT]) -> Self { in cmd_buf_labels()
25173 pub fn objects(mut self, objects: &'a [DebugUtilsObjectNameInfoEXT]) -> Self { in objects()
25178 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
25181 pub fn build(self) -> DebugUtilsMessengerCallbackDataEXT { in build() method
25187 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceDev…
25193 impl ::std::default::Default for PhysicalDeviceDeviceMemoryReportFeaturesEXT {
25194 fn default() -> PhysicalDeviceDeviceMemoryReportFeaturesEXT { in default()
25197 p_next: ::std::ptr::null_mut(), in default()
25203 pub fn builder<'a>() -> PhysicalDeviceDeviceMemoryReportFeaturesEXTBuilder<'a> { in builder()
25206 marker: ::std::marker::PhantomData, in builder()
25213 marker: ::std::marker::PhantomData<&'a ()>,
25222 impl<'a> ::std::ops::Deref for PhysicalDeviceDeviceMemoryReportFeaturesEXTBuilder<'a> {
25224 fn deref(&self) -> &Self::Target { in deref()
25228 impl<'a> ::std::ops::DerefMut for PhysicalDeviceDeviceMemoryReportFeaturesEXTBuilder<'a> {
25229 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
25234 pub fn device_memory_report(mut self, device_memory_report: bool) -> Self { in device_memory_report()
25238 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
25241 pub fn build(self) -> PhysicalDeviceDeviceMemoryReportFeaturesEXT { in build() method
25247 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceDeviceMemor…
25256 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
25269 impl ::std::default::Default for DeviceDeviceMemoryReportCreateInfoEXT {
25270 fn default() -> DeviceDeviceMemoryReportCreateInfoEXT { in default()
25273 p_next: ::std::ptr::null(), in default()
25276 p_user_data: ::std::ptr::null_mut(), in default()
25281 pub fn builder<'a>() -> DeviceDeviceMemoryReportCreateInfoEXTBuilder<'a> { in builder()
25284 marker: ::std::marker::PhantomData, in builder()
25291 marker: ::std::marker::PhantomData<&'a ()>,
25295 impl<'a> ::std::ops::Deref for DeviceDeviceMemoryReportCreateInfoEXTBuilder<'a> {
25297 fn deref(&self) -> &Self::Target { in deref()
25301 impl<'a> ::std::ops::DerefMut for DeviceDeviceMemoryReportCreateInfoEXTBuilder<'a> {
25302 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
25307 pub fn flags(mut self, flags: DeviceMemoryReportFlagsEXT) -> Self { in flags()
25314 ) -> Self { in pfn_user_callback()
25318 pub fn user_data(mut self, user_data: *mut c_void) -> Self { in user_data()
25322 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
25325 pub fn build(self) -> DeviceDeviceMemoryReportCreateInfoEXT { in build() method
25331 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceMemoryRepor…
25343 impl ::std::default::Default for DeviceMemoryReportCallbackDataEXT {
25344 fn default() -> DeviceMemoryReportCallbackDataEXT { in default()
25347 p_next: ::std::ptr::null_mut(), in default()
25359 pub fn builder<'a>() -> DeviceMemoryReportCallbackDataEXTBuilder<'a> { in builder()
25362 marker: ::std::marker::PhantomData, in builder()
25369 marker: ::std::marker::PhantomData<&'a ()>,
25371 impl<'a> ::std::ops::Deref for DeviceMemoryReportCallbackDataEXTBuilder<'a> {
25373 fn deref(&self) -> &Self::Target { in deref()
25377 impl<'a> ::std::ops::DerefMut for DeviceMemoryReportCallbackDataEXTBuilder<'a> {
25378 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
25383 pub fn flags(mut self, flags: DeviceMemoryReportFlagsEXT) -> Self { in flags()
25387 pub fn ty(mut self, ty: DeviceMemoryReportEventTypeEXT) -> Self { in ty()
25391 pub fn memory_object_id(mut self, memory_object_id: u64) -> Self { in memory_object_id()
25395 pub fn size(mut self, size: DeviceSize) -> Self { in size()
25399 pub fn object_type(mut self, object_type: ObjectType) -> Self { in object_type()
25403 pub fn object_handle(mut self, object_handle: u64) -> Self { in object_handle()
25407 pub fn heap_index(mut self, heap_index: u32) -> Self { in heap_index()
25411 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
25414 pub fn build(self) -> DeviceMemoryReportCallbackDataEXT { in build() method
25420 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImportMemoryHostP…
25427 impl ::std::default::Default for ImportMemoryHostPointerInfoEXT {
25428 fn default() -> ImportMemoryHostPointerInfoEXT { in default()
25431 p_next: ::std::ptr::null(), in default()
25433 p_host_pointer: ::std::ptr::null_mut(), in default()
25438 pub fn builder<'a>() -> ImportMemoryHostPointerInfoEXTBuilder<'a> { in builder()
25441 marker: ::std::marker::PhantomData, in builder()
25448 marker: ::std::marker::PhantomData<&'a ()>,
25452 impl<'a> ::std::ops::Deref for ImportMemoryHostPointerInfoEXTBuilder<'a> {
25454 fn deref(&self) -> &Self::Target { in deref()
25458 impl<'a> ::std::ops::DerefMut for ImportMemoryHostPointerInfoEXTBuilder<'a> {
25459 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
25464 pub fn handle_type(mut self, handle_type: ExternalMemoryHandleTypeFlags) -> Self { in handle_type()
25468 pub fn host_pointer(mut self, host_pointer: *mut c_void) -> Self { in host_pointer()
25472 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
25475 pub fn build(self) -> ImportMemoryHostPointerInfoEXT { in build() method
25481 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMemoryHostPointer…
25487 impl ::std::default::Default for MemoryHostPointerPropertiesEXT {
25488 fn default() -> MemoryHostPointerPropertiesEXT { in default()
25491 p_next: ::std::ptr::null_mut(), in default()
25497 pub fn builder<'a>() -> MemoryHostPointerPropertiesEXTBuilder<'a> { in builder()
25500 marker: ::std::marker::PhantomData, in builder()
25507 marker: ::std::marker::PhantomData<&'a ()>,
25509 impl<'a> ::std::ops::Deref for MemoryHostPointerPropertiesEXTBuilder<'a> {
25511 fn deref(&self) -> &Self::Target { in deref()
25515 impl<'a> ::std::ops::DerefMut for MemoryHostPointerPropertiesEXTBuilder<'a> {
25516 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
25521 pub fn memory_type_bits(mut self, memory_type_bits: u32) -> Self { in memory_type_bits()
25525 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
25528 pub fn build(self) -> MemoryHostPointerPropertiesEXT { in build() method
25534 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceExt…
25540 impl ::std::default::Default for PhysicalDeviceExternalMemoryHostPropertiesEXT {
25541 fn default() -> PhysicalDeviceExternalMemoryHostPropertiesEXT { in default()
25544 p_next: ::std::ptr::null_mut(), in default()
25550 pub fn builder<'a>() -> PhysicalDeviceExternalMemoryHostPropertiesEXTBuilder<'a> { in builder()
25553 marker: ::std::marker::PhantomData, in builder()
25560 marker: ::std::marker::PhantomData<&'a ()>,
25567 impl<'a> ::std::ops::Deref for PhysicalDeviceExternalMemoryHostPropertiesEXTBuilder<'a> {
25569 fn deref(&self) -> &Self::Target { in deref()
25573 impl<'a> ::std::ops::DerefMut for PhysicalDeviceExternalMemoryHostPropertiesEXTBuilder<'a> {
25574 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
25582 ) -> Self { in min_imported_host_pointer_alignment()
25586 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
25589 pub fn build(self) -> PhysicalDeviceExternalMemoryHostPropertiesEXT { in build() method
25595 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceCon…
25609 impl ::std::default::Default for PhysicalDeviceConservativeRasterizationPropertiesEXT {
25610 fn default() -> PhysicalDeviceConservativeRasterizationPropertiesEXT { in default()
25613 p_next: ::std::ptr::null_mut(), in default()
25627 pub fn builder<'a>() -> PhysicalDeviceConservativeRasterizationPropertiesEXTBuilder<'a> { in builder()
25630 marker: ::std::marker::PhantomData, in builder()
25637 marker: ::std::marker::PhantomData<&'a ()>,
25647 impl<'a> ::std::ops::Deref for PhysicalDeviceConservativeRasterizationPropertiesEXTBuilder<'a> {
25649 fn deref(&self) -> &Self::Target { in deref()
25653 impl<'a> ::std::ops::DerefMut for PhysicalDeviceConservativeRasterizationPropertiesEXTBuilder<'a> {
25654 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
25659 pub fn primitive_overestimation_size(mut self, primitive_overestimation_size: f32) -> Self { in primitive_overestimation_size()
25666 ) -> Self { in max_extra_primitive_overestimation_size()
25674 ) -> Self { in extra_primitive_overestimation_size_granularity()
25679 pub fn primitive_underestimation(mut self, primitive_underestimation: bool) -> Self { in primitive_underestimation()
25686 ) -> Self { in conservative_point_and_line_rasterization()
25694 ) -> Self { in degenerate_triangles_rasterized()
25698 pub fn degenerate_lines_rasterized(mut self, degenerate_lines_rasterized: bool) -> Self { in degenerate_lines_rasterized()
25705 ) -> Self { in fully_covered_fragment_shader_input_variable()
25713 ) -> Self { in conservative_rasterization_post_depth_coverage()
25718 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
25721 pub fn build(self) -> PhysicalDeviceConservativeRasterizationPropertiesEXT { in build() method
25727 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCalibratedTimesta…
25733 impl ::std::default::Default for CalibratedTimestampInfoEXT {
25734 fn default() -> CalibratedTimestampInfoEXT { in default()
25737 p_next: ::std::ptr::null(), in default()
25743 pub fn builder<'a>() -> CalibratedTimestampInfoEXTBuilder<'a> { in builder()
25746 marker: ::std::marker::PhantomData, in builder()
25753 marker: ::std::marker::PhantomData<&'a ()>,
25755 impl<'a> ::std::ops::Deref for CalibratedTimestampInfoEXTBuilder<'a> {
25757 fn deref(&self) -> &Self::Target { in deref()
25761 impl<'a> ::std::ops::DerefMut for CalibratedTimestampInfoEXTBuilder<'a> {
25762 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
25767 pub fn time_domain(mut self, time_domain: TimeDomainEXT) -> Self { in time_domain()
25771 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
25774 pub fn build(self) -> CalibratedTimestampInfoEXT { in build() method
25780 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSha…
25799 impl ::std::default::Default for PhysicalDeviceShaderCorePropertiesAMD {
25800 fn default() -> PhysicalDeviceShaderCorePropertiesAMD { in default()
25803 p_next: ::std::ptr::null_mut(), in default()
25822 pub fn builder<'a>() -> PhysicalDeviceShaderCorePropertiesAMDBuilder<'a> { in builder()
25825 marker: ::std::marker::PhantomData, in builder()
25832 marker: ::std::marker::PhantomData<&'a ()>,
25836 impl<'a> ::std::ops::Deref for PhysicalDeviceShaderCorePropertiesAMDBuilder<'a> {
25838 fn deref(&self) -> &Self::Target { in deref()
25842 impl<'a> ::std::ops::DerefMut for PhysicalDeviceShaderCorePropertiesAMDBuilder<'a> {
25843 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
25848 pub fn shader_engine_count(mut self, shader_engine_count: u32) -> Self { in shader_engine_count()
25852 pub fn shader_arrays_per_engine_count(mut self, shader_arrays_per_engine_count: u32) -> Self { in shader_arrays_per_engine_count()
25856 pub fn compute_units_per_shader_array(mut self, compute_units_per_shader_array: u32) -> Self { in compute_units_per_shader_array()
25860 pub fn simd_per_compute_unit(mut self, simd_per_compute_unit: u32) -> Self { in simd_per_compute_unit()
25864 pub fn wavefronts_per_simd(mut self, wavefronts_per_simd: u32) -> Self { in wavefronts_per_simd()
25868 pub fn wavefront_size(mut self, wavefront_size: u32) -> Self { in wavefront_size()
25872 pub fn sgprs_per_simd(mut self, sgprs_per_simd: u32) -> Self { in sgprs_per_simd()
25876 pub fn min_sgpr_allocation(mut self, min_sgpr_allocation: u32) -> Self { in min_sgpr_allocation()
25880 pub fn max_sgpr_allocation(mut self, max_sgpr_allocation: u32) -> Self { in max_sgpr_allocation()
25884 pub fn sgpr_allocation_granularity(mut self, sgpr_allocation_granularity: u32) -> Self { in sgpr_allocation_granularity()
25888 pub fn vgprs_per_simd(mut self, vgprs_per_simd: u32) -> Self { in vgprs_per_simd()
25892 pub fn min_vgpr_allocation(mut self, min_vgpr_allocation: u32) -> Self { in min_vgpr_allocation()
25896 pub fn max_vgpr_allocation(mut self, max_vgpr_allocation: u32) -> Self { in max_vgpr_allocation()
25900 pub fn vgpr_allocation_granularity(mut self, vgpr_allocation_granularity: u32) -> Self { in vgpr_allocation_granularity()
25904 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
25907 pub fn build(self) -> PhysicalDeviceShaderCorePropertiesAMD { in build() method
25913 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSha…
25920 impl ::std::default::Default for PhysicalDeviceShaderCoreProperties2AMD {
25921 fn default() -> PhysicalDeviceShaderCoreProperties2AMD { in default()
25924 p_next: ::std::ptr::null_mut(), in default()
25931 pub fn builder<'a>() -> PhysicalDeviceShaderCoreProperties2AMDBuilder<'a> { in builder()
25934 marker: ::std::marker::PhantomData, in builder()
25941 marker: ::std::marker::PhantomData<&'a ()>,
25945 impl<'a> ::std::ops::Deref for PhysicalDeviceShaderCoreProperties2AMDBuilder<'a> {
25947 fn deref(&self) -> &Self::Target { in deref()
25951 impl<'a> ::std::ops::DerefMut for PhysicalDeviceShaderCoreProperties2AMDBuilder<'a> {
25952 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
25960 ) -> Self { in shader_core_features()
25964 pub fn active_compute_unit_count(mut self, active_compute_unit_count: u32) -> Self { in active_compute_unit_count()
25968 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
25971 pub fn build(self) -> PhysicalDeviceShaderCoreProperties2AMD { in build() method
25977 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineRasteriza…
25985 impl ::std::default::Default for PipelineRasterizationConservativeStateCreateInfoEXT {
25986 fn default() -> PipelineRasterizationConservativeStateCreateInfoEXT { in default()
25989 p_next: ::std::ptr::null(), in default()
25997 pub fn builder<'a>() -> PipelineRasterizationConservativeStateCreateInfoEXTBuilder<'a> { in builder()
26000 marker: ::std::marker::PhantomData, in builder()
26007 marker: ::std::marker::PhantomData<&'a ()>,
26017 impl<'a> ::std::ops::Deref for PipelineRasterizationConservativeStateCreateInfoEXTBuilder<'a> {
26019 fn deref(&self) -> &Self::Target { in deref()
26023 impl<'a> ::std::ops::DerefMut for PipelineRasterizationConservativeStateCreateInfoEXTBuilder<'a> {
26024 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
26029 pub fn flags(mut self, flags: PipelineRasterizationConservativeStateCreateFlagsEXT) -> Self { in flags()
26036 ) -> Self { in conservative_rasterization_mode()
26043 ) -> Self { in extra_primitive_overestimation_size()
26047 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
26050 pub fn build(self) -> PipelineRasterizationConservativeStateCreateInfoEXT { in build() method
26056 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceDes…
26081 impl ::std::default::Default for PhysicalDeviceDescriptorIndexingFeatures {
26082 fn default() -> PhysicalDeviceDescriptorIndexingFeatures { in default()
26085 p_next: ::std::ptr::null_mut(), in default()
26110 pub fn builder<'a>() -> PhysicalDeviceDescriptorIndexingFeaturesBuilder<'a> { in builder()
26113 marker: ::std::marker::PhantomData, in builder()
26120 marker: ::std::marker::PhantomData<&'a ()>,
26126 impl<'a> ::std::ops::Deref for PhysicalDeviceDescriptorIndexingFeaturesBuilder<'a> {
26128 fn deref(&self) -> &Self::Target { in deref()
26132 impl<'a> ::std::ops::DerefMut for PhysicalDeviceDescriptorIndexingFeaturesBuilder<'a> {
26133 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
26141 ) -> Self { in shader_input_attachment_array_dynamic_indexing()
26149 ) -> Self { in shader_uniform_texel_buffer_array_dynamic_indexing()
26158 ) -> Self { in shader_storage_texel_buffer_array_dynamic_indexing()
26167 ) -> Self { in shader_uniform_buffer_array_non_uniform_indexing()
26175 ) -> Self { in shader_sampled_image_array_non_uniform_indexing()
26183 ) -> Self { in shader_storage_buffer_array_non_uniform_indexing()
26191 ) -> Self { in shader_storage_image_array_non_uniform_indexing()
26199 ) -> Self { in shader_input_attachment_array_non_uniform_indexing()
26208 ) -> Self { in shader_uniform_texel_buffer_array_non_uniform_indexing()
26217 ) -> Self { in shader_storage_texel_buffer_array_non_uniform_indexing()
26226 ) -> Self { in descriptor_binding_uniform_buffer_update_after_bind()
26235 ) -> Self { in descriptor_binding_sampled_image_update_after_bind()
26244 ) -> Self { in descriptor_binding_storage_image_update_after_bind()
26253 ) -> Self { in descriptor_binding_storage_buffer_update_after_bind()
26262 ) -> Self { in descriptor_binding_uniform_texel_buffer_update_after_bind()
26271 ) -> Self { in descriptor_binding_storage_texel_buffer_update_after_bind()
26280 ) -> Self { in descriptor_binding_update_unused_while_pending()
26288 ) -> Self { in descriptor_binding_partially_bound()
26295 ) -> Self { in descriptor_binding_variable_descriptor_count()
26300 pub fn runtime_descriptor_array(mut self, runtime_descriptor_array: bool) -> Self { in runtime_descriptor_array()
26304 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
26307 pub fn build(self) -> PhysicalDeviceDescriptorIndexingFeatures { in build() method
26313 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceDes…
26341 impl ::std::default::Default for PhysicalDeviceDescriptorIndexingProperties {
26342 fn default() -> PhysicalDeviceDescriptorIndexingProperties { in default()
26345 p_next: ::std::ptr::null_mut(), in default()
26373 pub fn builder<'a>() -> PhysicalDeviceDescriptorIndexingPropertiesBuilder<'a> { in builder()
26376 marker: ::std::marker::PhantomData, in builder()
26383 marker: ::std::marker::PhantomData<&'a ()>,
26390 impl<'a> ::std::ops::Deref for PhysicalDeviceDescriptorIndexingPropertiesBuilder<'a> {
26392 fn deref(&self) -> &Self::Target { in deref()
26396 impl<'a> ::std::ops::DerefMut for PhysicalDeviceDescriptorIndexingPropertiesBuilder<'a> {
26397 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
26405 ) -> Self { in max_update_after_bind_descriptors_in_all_pools()
26413 ) -> Self { in shader_uniform_buffer_array_non_uniform_indexing_native()
26422 ) -> Self { in shader_sampled_image_array_non_uniform_indexing_native()
26431 ) -> Self { in shader_storage_buffer_array_non_uniform_indexing_native()
26440 ) -> Self { in shader_storage_image_array_non_uniform_indexing_native()
26449 ) -> Self { in shader_input_attachment_array_non_uniform_indexing_native()
26458 ) -> Self { in robust_buffer_access_update_after_bind()
26463 pub fn quad_divergent_implicit_lod(mut self, quad_divergent_implicit_lod: bool) -> Self { in quad_divergent_implicit_lod()
26470 ) -> Self { in max_per_stage_descriptor_update_after_bind_samplers()
26479 ) -> Self { in max_per_stage_descriptor_update_after_bind_uniform_buffers()
26488 ) -> Self { in max_per_stage_descriptor_update_after_bind_storage_buffers()
26497 ) -> Self { in max_per_stage_descriptor_update_after_bind_sampled_images()
26506 ) -> Self { in max_per_stage_descriptor_update_after_bind_storage_images()
26515 ) -> Self { in max_per_stage_descriptor_update_after_bind_input_attachments()
26524 ) -> Self { in max_per_stage_update_after_bind_resources()
26532 ) -> Self { in max_descriptor_set_update_after_bind_samplers()
26540 ) -> Self { in max_descriptor_set_update_after_bind_uniform_buffers()
26549 ) -> Self { in max_descriptor_set_update_after_bind_uniform_buffers_dynamic()
26558 ) -> Self { in max_descriptor_set_update_after_bind_storage_buffers()
26567 ) -> Self { in max_descriptor_set_update_after_bind_storage_buffers_dynamic()
26576 ) -> Self { in max_descriptor_set_update_after_bind_sampled_images()
26585 ) -> Self { in max_descriptor_set_update_after_bind_storage_images()
26594 ) -> Self { in max_descriptor_set_update_after_bind_input_attachments()
26600 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
26603 pub fn build(self) -> PhysicalDeviceDescriptorIndexingProperties { in build() method
26609 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDescriptorSetLayo…
26616 impl ::std::default::Default for DescriptorSetLayoutBindingFlagsCreateInfo {
26617 fn default() -> DescriptorSetLayoutBindingFlagsCreateInfo { in default()
26620 p_next: ::std::ptr::null(), in default()
26622 p_binding_flags: ::std::ptr::null(), in default()
26627 pub fn builder<'a>() -> DescriptorSetLayoutBindingFlagsCreateInfoBuilder<'a> { in builder()
26630 marker: ::std::marker::PhantomData, in builder()
26637 marker: ::std::marker::PhantomData<&'a ()>,
26644 impl<'a> ::std::ops::Deref for DescriptorSetLayoutBindingFlagsCreateInfoBuilder<'a> {
26646 fn deref(&self) -> &Self::Target { in deref()
26650 impl<'a> ::std::ops::DerefMut for DescriptorSetLayoutBindingFlagsCreateInfoBuilder<'a> {
26651 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
26656 pub fn binding_flags(mut self, binding_flags: &'a [DescriptorBindingFlags]) -> Self { in binding_flags()
26661 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
26664 pub fn build(self) -> DescriptorSetLayoutBindingFlagsCreateInfo { in build() method
26670 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDescriptorSetVari…
26677 impl ::std::default::Default for DescriptorSetVariableDescriptorCountAllocateInfo {
26678 fn default() -> DescriptorSetVariableDescriptorCountAllocateInfo { in default()
26681 p_next: ::std::ptr::null(), in default()
26683 p_descriptor_counts: ::std::ptr::null(), in default()
26688 pub fn builder<'a>() -> DescriptorSetVariableDescriptorCountAllocateInfoBuilder<'a> { in builder()
26691 marker: ::std::marker::PhantomData, in builder()
26698 marker: ::std::marker::PhantomData<&'a ()>,
26705 impl<'a> ::std::ops::Deref for DescriptorSetVariableDescriptorCountAllocateInfoBuilder<'a> {
26707 fn deref(&self) -> &Self::Target { in deref()
26711 impl<'a> ::std::ops::DerefMut for DescriptorSetVariableDescriptorCountAllocateInfoBuilder<'a> {
26712 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
26717 pub fn descriptor_counts(mut self, descriptor_counts: &'a [u32]) -> Self { in descriptor_counts()
26722 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
26725 pub fn build(self) -> DescriptorSetVariableDescriptorCountAllocateInfo { in build() method
26731 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDescriptorSetVari…
26737 impl ::std::default::Default for DescriptorSetVariableDescriptorCountLayoutSupport {
26738 fn default() -> DescriptorSetVariableDescriptorCountLayoutSupport { in default()
26741 p_next: ::std::ptr::null_mut(), in default()
26747 pub fn builder<'a>() -> DescriptorSetVariableDescriptorCountLayoutSupportBuilder<'a> { in builder()
26750 marker: ::std::marker::PhantomData, in builder()
26757 marker: ::std::marker::PhantomData<&'a ()>,
26767 impl<'a> ::std::ops::Deref for DescriptorSetVariableDescriptorCountLayoutSupportBuilder<'a> {
26769 fn deref(&self) -> &Self::Target { in deref()
26773 impl<'a> ::std::ops::DerefMut for DescriptorSetVariableDescriptorCountLayoutSupportBuilder<'a> {
26774 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
26779 pub fn max_variable_descriptor_count(mut self, max_variable_descriptor_count: u32) -> Self { in max_variable_descriptor_count()
26783 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
26786 pub fn build(self) -> DescriptorSetVariableDescriptorCountLayoutSupport { in build() method
26792 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAttachmentDescrip…
26806 impl ::std::default::Default for AttachmentDescription2 {
26807 fn default() -> AttachmentDescription2 { in default()
26810 p_next: ::std::ptr::null(), in default()
26824 pub fn builder<'a>() -> AttachmentDescription2Builder<'a> { in builder()
26827 marker: ::std::marker::PhantomData, in builder()
26834 marker: ::std::marker::PhantomData<&'a ()>,
26837 impl<'a> ::std::ops::Deref for AttachmentDescription2Builder<'a> {
26839 fn deref(&self) -> &Self::Target { in deref()
26843 impl<'a> ::std::ops::DerefMut for AttachmentDescription2Builder<'a> {
26844 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
26849 pub fn flags(mut self, flags: AttachmentDescriptionFlags) -> Self { in flags()
26853 pub fn format(mut self, format: Format) -> Self { in format()
26857 pub fn samples(mut self, samples: SampleCountFlags) -> Self { in samples()
26861 pub fn load_op(mut self, load_op: AttachmentLoadOp) -> Self { in load_op()
26865 pub fn store_op(mut self, store_op: AttachmentStoreOp) -> Self { in store_op()
26869 pub fn stencil_load_op(mut self, stencil_load_op: AttachmentLoadOp) -> Self { in stencil_load_op()
26873 pub fn stencil_store_op(mut self, stencil_store_op: AttachmentStoreOp) -> Self { in stencil_store_op()
26877 pub fn initial_layout(mut self, initial_layout: ImageLayout) -> Self { in initial_layout()
26881 pub fn final_layout(mut self, final_layout: ImageLayout) -> Self { in final_layout()
26888 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
26889 #[doc = r" chain will look like `A -> D -> B -> C`."]
26890 pub fn push_next<T: ExtendsAttachmentDescription2>(mut self, next: &'a mut T) -> Self { in push_next()
26899 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
26902 pub fn build(self) -> AttachmentDescription2 { in build() method
26908 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAttachmentReferen…
26916 impl ::std::default::Default for AttachmentReference2 {
26917 fn default() -> AttachmentReference2 { in default()
26920 p_next: ::std::ptr::null(), in default()
26928 pub fn builder<'a>() -> AttachmentReference2Builder<'a> { in builder()
26931 marker: ::std::marker::PhantomData, in builder()
26938 marker: ::std::marker::PhantomData<&'a ()>,
26941 impl<'a> ::std::ops::Deref for AttachmentReference2Builder<'a> {
26943 fn deref(&self) -> &Self::Target { in deref()
26947 impl<'a> ::std::ops::DerefMut for AttachmentReference2Builder<'a> {
26948 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
26953 pub fn attachment(mut self, attachment: u32) -> Self { in attachment()
26957 pub fn layout(mut self, layout: ImageLayout) -> Self { in layout()
26961 pub fn aspect_mask(mut self, aspect_mask: ImageAspectFlags) -> Self { in aspect_mask()
26968 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
26969 #[doc = r" chain will look like `A -> D -> B -> C`."]
26970 pub fn push_next<T: ExtendsAttachmentReference2>(mut self, next: &'a mut T) -> Self { in push_next()
26979 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
26982 pub fn build(self) -> AttachmentReference2 { in build() method
26988 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSubpassDescriptio…
27004 impl ::std::default::Default for SubpassDescription2 {
27005 fn default() -> SubpassDescription2 { in default()
27008 p_next: ::std::ptr::null(), in default()
27013 p_input_attachments: ::std::ptr::null(), in default()
27015 p_color_attachments: ::std::ptr::null(), in default()
27016 p_resolve_attachments: ::std::ptr::null(), in default()
27017 p_depth_stencil_attachment: ::std::ptr::null(), in default()
27019 p_preserve_attachments: ::std::ptr::null(), in default()
27024 pub fn builder<'a>() -> SubpassDescription2Builder<'a> { in builder()
27027 marker: ::std::marker::PhantomData, in builder()
27034 marker: ::std::marker::PhantomData<&'a ()>,
27037 impl<'a> ::std::ops::Deref for SubpassDescription2Builder<'a> {
27039 fn deref(&self) -> &Self::Target { in deref()
27043 impl<'a> ::std::ops::DerefMut for SubpassDescription2Builder<'a> {
27044 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
27049 pub fn flags(mut self, flags: SubpassDescriptionFlags) -> Self { in flags()
27053 pub fn pipeline_bind_point(mut self, pipeline_bind_point: PipelineBindPoint) -> Self { in pipeline_bind_point()
27057 pub fn view_mask(mut self, view_mask: u32) -> Self { in view_mask()
27061 pub fn input_attachments(mut self, input_attachments: &'a [AttachmentReference2]) -> Self { in input_attachments()
27066 pub fn color_attachments(mut self, color_attachments: &'a [AttachmentReference2]) -> Self { in color_attachments()
27071 pub fn resolve_attachments(mut self, resolve_attachments: &'a [AttachmentReference2]) -> Self { in resolve_attachments()
27079 ) -> Self { in depth_stencil_attachment()
27083 pub fn preserve_attachments(mut self, preserve_attachments: &'a [u32]) -> Self { in preserve_attachments()
27091 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
27092 #[doc = r" chain will look like `A -> D -> B -> C`."]
27093 pub fn push_next<T: ExtendsSubpassDescription2>(mut self, next: &'a mut T) -> Self { in push_next()
27102 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
27105 pub fn build(self) -> SubpassDescription2 { in build() method
27111 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSubpassDependency…
27124 impl ::std::default::Default for SubpassDependency2 {
27125 fn default() -> SubpassDependency2 { in default()
27128 p_next: ::std::ptr::null(), in default()
27141 pub fn builder<'a>() -> SubpassDependency2Builder<'a> { in builder()
27144 marker: ::std::marker::PhantomData, in builder()
27151 marker: ::std::marker::PhantomData<&'a ()>,
27154 impl<'a> ::std::ops::Deref for SubpassDependency2Builder<'a> {
27156 fn deref(&self) -> &Self::Target { in deref()
27160 impl<'a> ::std::ops::DerefMut for SubpassDependency2Builder<'a> {
27161 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
27166 pub fn src_subpass(mut self, src_subpass: u32) -> Self { in src_subpass()
27170 pub fn dst_subpass(mut self, dst_subpass: u32) -> Self { in dst_subpass()
27174 pub fn src_stage_mask(mut self, src_stage_mask: PipelineStageFlags) -> Self { in src_stage_mask()
27178 pub fn dst_stage_mask(mut self, dst_stage_mask: PipelineStageFlags) -> Self { in dst_stage_mask()
27182 pub fn src_access_mask(mut self, src_access_mask: AccessFlags) -> Self { in src_access_mask()
27186 pub fn dst_access_mask(mut self, dst_access_mask: AccessFlags) -> Self { in dst_access_mask()
27190 pub fn dependency_flags(mut self, dependency_flags: DependencyFlags) -> Self { in dependency_flags()
27194 pub fn view_offset(mut self, view_offset: i32) -> Self { in view_offset()
27201 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
27202 #[doc = r" chain will look like `A -> D -> B -> C`."]
27203 pub fn push_next<T: ExtendsSubpassDependency2>(mut self, next: &'a mut T) -> Self { in push_next()
27212 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
27215 pub fn build(self) -> SubpassDependency2 { in build() method
27221 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkRenderPassCreateI…
27235 impl ::std::default::Default for RenderPassCreateInfo2 {
27236 fn default() -> RenderPassCreateInfo2 { in default()
27239 p_next: ::std::ptr::null(), in default()
27242 p_attachments: ::std::ptr::null(), in default()
27244 p_subpasses: ::std::ptr::null(), in default()
27246 p_dependencies: ::std::ptr::null(), in default()
27248 p_correlated_view_masks: ::std::ptr::null(), in default()
27253 pub fn builder<'a>() -> RenderPassCreateInfo2Builder<'a> { in builder()
27256 marker: ::std::marker::PhantomData, in builder()
27263 marker: ::std::marker::PhantomData<&'a ()>,
27266 impl<'a> ::std::ops::Deref for RenderPassCreateInfo2Builder<'a> {
27268 fn deref(&self) -> &Self::Target { in deref()
27272 impl<'a> ::std::ops::DerefMut for RenderPassCreateInfo2Builder<'a> {
27273 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
27278 pub fn flags(mut self, flags: RenderPassCreateFlags) -> Self { in flags()
27282 pub fn attachments(mut self, attachments: &'a [AttachmentDescription2]) -> Self { in attachments()
27287 pub fn subpasses(mut self, subpasses: &'a [SubpassDescription2]) -> Self { in subpasses()
27292 pub fn dependencies(mut self, dependencies: &'a [SubpassDependency2]) -> Self { in dependencies()
27297 pub fn correlated_view_masks(mut self, correlated_view_masks: &'a [u32]) -> Self { in correlated_view_masks()
27305 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
27306 #[doc = r" chain will look like `A -> D -> B -> C`."]
27307 pub fn push_next<T: ExtendsRenderPassCreateInfo2>(mut self, next: &'a mut T) -> Self { in push_next()
27316 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
27319 pub fn build(self) -> RenderPassCreateInfo2 { in build() method
27325 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSubpassBeginInfo.…
27331 impl ::std::default::Default for SubpassBeginInfo {
27332 fn default() -> SubpassBeginInfo { in default()
27335 p_next: ::std::ptr::null(), in default()
27341 pub fn builder<'a>() -> SubpassBeginInfoBuilder<'a> { in builder()
27344 marker: ::std::marker::PhantomData, in builder()
27351 marker: ::std::marker::PhantomData<&'a ()>,
27353 impl<'a> ::std::ops::Deref for SubpassBeginInfoBuilder<'a> {
27355 fn deref(&self) -> &Self::Target { in deref()
27359 impl<'a> ::std::ops::DerefMut for SubpassBeginInfoBuilder<'a> {
27360 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
27365 pub fn contents(mut self, contents: SubpassContents) -> Self { in contents()
27369 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
27372 pub fn build(self) -> SubpassBeginInfo { in build() method
27378 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSubpassEndInfo.ht…
27383 impl ::std::default::Default for SubpassEndInfo {
27384 fn default() -> SubpassEndInfo { in default()
27387 p_next: ::std::ptr::null(), in default()
27392 pub fn builder<'a>() -> SubpassEndInfoBuilder<'a> { in builder()
27395 marker: ::std::marker::PhantomData, in builder()
27402 marker: ::std::marker::PhantomData<&'a ()>,
27404 impl<'a> ::std::ops::Deref for SubpassEndInfoBuilder<'a> {
27406 fn deref(&self) -> &Self::Target { in deref()
27410 impl<'a> ::std::ops::DerefMut for SubpassEndInfoBuilder<'a> {
27411 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
27416 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
27419 pub fn build(self) -> SubpassEndInfo { in build() method
27425 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceTim…
27431 impl ::std::default::Default for PhysicalDeviceTimelineSemaphoreFeatures {
27432 fn default() -> PhysicalDeviceTimelineSemaphoreFeatures { in default()
27435 p_next: ::std::ptr::null_mut(), in default()
27441 pub fn builder<'a>() -> PhysicalDeviceTimelineSemaphoreFeaturesBuilder<'a> { in builder()
27444 marker: ::std::marker::PhantomData, in builder()
27451 marker: ::std::marker::PhantomData<&'a ()>,
27457 impl<'a> ::std::ops::Deref for PhysicalDeviceTimelineSemaphoreFeaturesBuilder<'a> {
27459 fn deref(&self) -> &Self::Target { in deref()
27463 impl<'a> ::std::ops::DerefMut for PhysicalDeviceTimelineSemaphoreFeaturesBuilder<'a> {
27464 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
27469 pub fn timeline_semaphore(mut self, timeline_semaphore: bool) -> Self { in timeline_semaphore()
27473 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
27476 pub fn build(self) -> PhysicalDeviceTimelineSemaphoreFeatures { in build() method
27482 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceTim…
27488 impl ::std::default::Default for PhysicalDeviceTimelineSemaphoreProperties {
27489 fn default() -> PhysicalDeviceTimelineSemaphoreProperties { in default()
27492 p_next: ::std::ptr::null_mut(), in default()
27498 pub fn builder<'a>() -> PhysicalDeviceTimelineSemaphorePropertiesBuilder<'a> { in builder()
27501 marker: ::std::marker::PhantomData, in builder()
27508 marker: ::std::marker::PhantomData<&'a ()>,
27515 impl<'a> ::std::ops::Deref for PhysicalDeviceTimelineSemaphorePropertiesBuilder<'a> {
27517 fn deref(&self) -> &Self::Target { in deref()
27521 impl<'a> ::std::ops::DerefMut for PhysicalDeviceTimelineSemaphorePropertiesBuilder<'a> {
27522 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
27530 ) -> Self { in max_timeline_semaphore_value_difference()
27535 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
27538 pub fn build(self) -> PhysicalDeviceTimelineSemaphoreProperties { in build() method
27544 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSemaphoreTypeCrea…
27551 impl ::std::default::Default for SemaphoreTypeCreateInfo {
27552 fn default() -> SemaphoreTypeCreateInfo { in default()
27555 p_next: ::std::ptr::null(), in default()
27562 pub fn builder<'a>() -> SemaphoreTypeCreateInfoBuilder<'a> { in builder()
27565 marker: ::std::marker::PhantomData, in builder()
27572 marker: ::std::marker::PhantomData<&'a ()>,
27578 impl<'a> ::std::ops::Deref for SemaphoreTypeCreateInfoBuilder<'a> {
27580 fn deref(&self) -> &Self::Target { in deref()
27584 impl<'a> ::std::ops::DerefMut for SemaphoreTypeCreateInfoBuilder<'a> {
27585 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
27590 pub fn semaphore_type(mut self, semaphore_type: SemaphoreType) -> Self { in semaphore_type()
27594 pub fn initial_value(mut self, initial_value: u64) -> Self { in initial_value()
27598 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
27601 pub fn build(self) -> SemaphoreTypeCreateInfo { in build() method
27607 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkTimelineSemaphore…
27616 impl ::std::default::Default for TimelineSemaphoreSubmitInfo {
27617 fn default() -> TimelineSemaphoreSubmitInfo { in default()
27620 p_next: ::std::ptr::null(), in default()
27622 p_wait_semaphore_values: ::std::ptr::null(), in default()
27624 p_signal_semaphore_values: ::std::ptr::null(), in default()
27629 pub fn builder<'a>() -> TimelineSemaphoreSubmitInfoBuilder<'a> { in builder()
27632 marker: ::std::marker::PhantomData, in builder()
27639 marker: ::std::marker::PhantomData<&'a ()>,
27645 impl<'a> ::std::ops::Deref for TimelineSemaphoreSubmitInfoBuilder<'a> {
27647 fn deref(&self) -> &Self::Target { in deref()
27651 impl<'a> ::std::ops::DerefMut for TimelineSemaphoreSubmitInfoBuilder<'a> {
27652 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
27657 pub fn wait_semaphore_values(mut self, wait_semaphore_values: &'a [u64]) -> Self { in wait_semaphore_values()
27662 pub fn signal_semaphore_values(mut self, signal_semaphore_values: &'a [u64]) -> Self { in signal_semaphore_values()
27667 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
27670 pub fn build(self) -> TimelineSemaphoreSubmitInfo { in build() method
27676 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSemaphoreWaitInfo…
27685 impl ::std::default::Default for SemaphoreWaitInfo {
27686 fn default() -> SemaphoreWaitInfo { in default()
27689 p_next: ::std::ptr::null(), in default()
27692 p_semaphores: ::std::ptr::null(), in default()
27693 p_values: ::std::ptr::null(), in default()
27698 pub fn builder<'a>() -> SemaphoreWaitInfoBuilder<'a> { in builder()
27701 marker: ::std::marker::PhantomData, in builder()
27708 marker: ::std::marker::PhantomData<&'a ()>,
27710 impl<'a> ::std::ops::Deref for SemaphoreWaitInfoBuilder<'a> {
27712 fn deref(&self) -> &Self::Target { in deref()
27716 impl<'a> ::std::ops::DerefMut for SemaphoreWaitInfoBuilder<'a> {
27717 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
27722 pub fn flags(mut self, flags: SemaphoreWaitFlags) -> Self { in flags()
27726 pub fn semaphores(mut self, semaphores: &'a [Semaphore]) -> Self { in semaphores()
27731 pub fn values(mut self, values: &'a [u64]) -> Self { in values()
27736 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
27739 pub fn build(self) -> SemaphoreWaitInfo { in build() method
27745 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSemaphoreSignalIn…
27752 impl ::std::default::Default for SemaphoreSignalInfo {
27753 fn default() -> SemaphoreSignalInfo { in default()
27756 p_next: ::std::ptr::null(), in default()
27763 pub fn builder<'a>() -> SemaphoreSignalInfoBuilder<'a> { in builder()
27766 marker: ::std::marker::PhantomData, in builder()
27773 marker: ::std::marker::PhantomData<&'a ()>,
27775 impl<'a> ::std::ops::Deref for SemaphoreSignalInfoBuilder<'a> {
27777 fn deref(&self) -> &Self::Target { in deref()
27781 impl<'a> ::std::ops::DerefMut for SemaphoreSignalInfoBuilder<'a> {
27782 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
27787 pub fn semaphore(mut self, semaphore: Semaphore) -> Self { in semaphore()
27791 pub fn value(mut self, value: u64) -> Self { in value()
27795 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
27798 pub fn build(self) -> SemaphoreSignalInfo { in build() method
27804 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVertexInputBindin…
27810 pub fn builder<'a>() -> VertexInputBindingDivisorDescriptionEXTBuilder<'a> { in builder()
27813 marker: ::std::marker::PhantomData, in builder()
27820 marker: ::std::marker::PhantomData<&'a ()>,
27822 impl<'a> ::std::ops::Deref for VertexInputBindingDivisorDescriptionEXTBuilder<'a> {
27824 fn deref(&self) -> &Self::Target { in deref()
27828 impl<'a> ::std::ops::DerefMut for VertexInputBindingDivisorDescriptionEXTBuilder<'a> {
27829 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
27834 pub fn binding(mut self, binding: u32) -> Self { in binding()
27838 pub fn divisor(mut self, divisor: u32) -> Self { in divisor()
27842 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
27845 pub fn build(self) -> VertexInputBindingDivisorDescriptionEXT { in build() method
27851 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineVertexInp…
27858 impl ::std::default::Default for PipelineVertexInputDivisorStateCreateInfoEXT {
27859 fn default() -> PipelineVertexInputDivisorStateCreateInfoEXT { in default()
27862 p_next: ::std::ptr::null(), in default()
27864 p_vertex_binding_divisors: ::std::ptr::null(), in default()
27869 pub fn builder<'a>() -> PipelineVertexInputDivisorStateCreateInfoEXTBuilder<'a> { in builder()
27872 marker: ::std::marker::PhantomData, in builder()
27879 marker: ::std::marker::PhantomData<&'a ()>,
27889 impl<'a> ::std::ops::Deref for PipelineVertexInputDivisorStateCreateInfoEXTBuilder<'a> {
27891 fn deref(&self) -> &Self::Target { in deref()
27895 impl<'a> ::std::ops::DerefMut for PipelineVertexInputDivisorStateCreateInfoEXTBuilder<'a> {
27896 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
27904 ) -> Self { in vertex_binding_divisors()
27909 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
27912 pub fn build(self) -> PipelineVertexInputDivisorStateCreateInfoEXT { in build() method
27918 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceVer…
27924 impl ::std::default::Default for PhysicalDeviceVertexAttributeDivisorPropertiesEXT {
27925 fn default() -> PhysicalDeviceVertexAttributeDivisorPropertiesEXT { in default()
27928 p_next: ::std::ptr::null_mut(), in default()
27934 pub fn builder<'a>() -> PhysicalDeviceVertexAttributeDivisorPropertiesEXTBuilder<'a> { in builder()
27937 marker: ::std::marker::PhantomData, in builder()
27944 marker: ::std::marker::PhantomData<&'a ()>,
27951 impl<'a> ::std::ops::Deref for PhysicalDeviceVertexAttributeDivisorPropertiesEXTBuilder<'a> {
27953 fn deref(&self) -> &Self::Target { in deref()
27957 impl<'a> ::std::ops::DerefMut for PhysicalDeviceVertexAttributeDivisorPropertiesEXTBuilder<'a> {
27958 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
27963 pub fn max_vertex_attrib_divisor(mut self, max_vertex_attrib_divisor: u32) -> Self { in max_vertex_attrib_divisor()
27967 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
27970 pub fn build(self) -> PhysicalDeviceVertexAttributeDivisorPropertiesEXT { in build() method
27976 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDevicePCI…
27985 impl ::std::default::Default for PhysicalDevicePCIBusInfoPropertiesEXT {
27986 fn default() -> PhysicalDevicePCIBusInfoPropertiesEXT { in default()
27989 p_next: ::std::ptr::null_mut(), in default()
27998 pub fn builder<'a>() -> PhysicalDevicePCIBusInfoPropertiesEXTBuilder<'a> { in builder()
28001 marker: ::std::marker::PhantomData, in builder()
28008 marker: ::std::marker::PhantomData<&'a ()>,
28012 impl<'a> ::std::ops::Deref for PhysicalDevicePCIBusInfoPropertiesEXTBuilder<'a> {
28014 fn deref(&self) -> &Self::Target { in deref()
28018 impl<'a> ::std::ops::DerefMut for PhysicalDevicePCIBusInfoPropertiesEXTBuilder<'a> {
28019 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
28024 pub fn pci_domain(mut self, pci_domain: u32) -> Self { in pci_domain()
28028 pub fn pci_bus(mut self, pci_bus: u32) -> Self { in pci_bus()
28032 pub fn pci_device(mut self, pci_device: u32) -> Self { in pci_device()
28036 pub fn pci_function(mut self, pci_function: u32) -> Self { in pci_function()
28040 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
28043 pub fn build(self) -> PhysicalDevicePCIBusInfoPropertiesEXT { in build() method
28049 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImportAndroidHard…
28055 impl ::std::default::Default for ImportAndroidHardwareBufferInfoANDROID {
28056 fn default() -> ImportAndroidHardwareBufferInfoANDROID { in default()
28059 p_next: ::std::ptr::null(), in default()
28060 buffer: ::std::ptr::null_mut(), in default()
28065 pub fn builder<'a>() -> ImportAndroidHardwareBufferInfoANDROIDBuilder<'a> { in builder()
28068 marker: ::std::marker::PhantomData, in builder()
28075 marker: ::std::marker::PhantomData<&'a ()>,
28079 impl<'a> ::std::ops::Deref for ImportAndroidHardwareBufferInfoANDROIDBuilder<'a> {
28081 fn deref(&self) -> &Self::Target { in deref()
28085 impl<'a> ::std::ops::DerefMut for ImportAndroidHardwareBufferInfoANDROIDBuilder<'a> {
28086 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
28091 pub fn buffer(mut self, buffer: *mut AHardwareBuffer) -> Self { in buffer()
28095 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
28098 pub fn build(self) -> ImportAndroidHardwareBufferInfoANDROID { in build() method
28104 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAndroidHardwareBu…
28110 impl ::std::default::Default for AndroidHardwareBufferUsageANDROID {
28111 fn default() -> AndroidHardwareBufferUsageANDROID { in default()
28114 p_next: ::std::ptr::null_mut(), in default()
28120 pub fn builder<'a>() -> AndroidHardwareBufferUsageANDROIDBuilder<'a> { in builder()
28123 marker: ::std::marker::PhantomData, in builder()
28130 marker: ::std::marker::PhantomData<&'a ()>,
28134 impl<'a> ::std::ops::Deref for AndroidHardwareBufferUsageANDROIDBuilder<'a> {
28136 fn deref(&self) -> &Self::Target { in deref()
28140 impl<'a> ::std::ops::DerefMut for AndroidHardwareBufferUsageANDROIDBuilder<'a> {
28141 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
28146 pub fn android_hardware_buffer_usage(mut self, android_hardware_buffer_usage: u64) -> Self { in android_hardware_buffer_usage()
28150 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
28153 pub fn build(self) -> AndroidHardwareBufferUsageANDROID { in build() method
28159 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAndroidHardwareBu…
28166 impl ::std::default::Default for AndroidHardwareBufferPropertiesANDROID {
28167 fn default() -> AndroidHardwareBufferPropertiesANDROID { in default()
28170 p_next: ::std::ptr::null_mut(), in default()
28177 pub fn builder<'a>() -> AndroidHardwareBufferPropertiesANDROIDBuilder<'a> { in builder()
28180 marker: ::std::marker::PhantomData, in builder()
28187 marker: ::std::marker::PhantomData<&'a ()>,
28190 impl<'a> ::std::ops::Deref for AndroidHardwareBufferPropertiesANDROIDBuilder<'a> {
28192 fn deref(&self) -> &Self::Target { in deref()
28196 impl<'a> ::std::ops::DerefMut for AndroidHardwareBufferPropertiesANDROIDBuilder<'a> {
28197 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
28202 pub fn allocation_size(mut self, allocation_size: DeviceSize) -> Self { in allocation_size()
28206 pub fn memory_type_bits(mut self, memory_type_bits: u32) -> Self { in memory_type_bits()
28213 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
28214 #[doc = r" chain will look like `A -> D -> B -> C`."]
28218 ) -> Self { in push_next()
28227 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
28230 pub fn build(self) -> AndroidHardwareBufferPropertiesANDROID { in build() method
28236 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMemoryGetAndroidH…
28242 impl ::std::default::Default for MemoryGetAndroidHardwareBufferInfoANDROID {
28243 fn default() -> MemoryGetAndroidHardwareBufferInfoANDROID { in default()
28246 p_next: ::std::ptr::null(), in default()
28252 pub fn builder<'a>() -> MemoryGetAndroidHardwareBufferInfoANDROIDBuilder<'a> { in builder()
28255 marker: ::std::marker::PhantomData, in builder()
28262 marker: ::std::marker::PhantomData<&'a ()>,
28264 impl<'a> ::std::ops::Deref for MemoryGetAndroidHardwareBufferInfoANDROIDBuilder<'a> {
28266 fn deref(&self) -> &Self::Target { in deref()
28270 impl<'a> ::std::ops::DerefMut for MemoryGetAndroidHardwareBufferInfoANDROIDBuilder<'a> {
28271 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
28276 pub fn memory(mut self, memory: DeviceMemory) -> Self { in memory()
28280 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
28283 pub fn build(self) -> MemoryGetAndroidHardwareBufferInfoANDROID { in build() method
28289 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAndroidHardwareBu…
28302 impl ::std::default::Default for AndroidHardwareBufferFormatPropertiesANDROID {
28303 fn default() -> AndroidHardwareBufferFormatPropertiesANDROID { in default()
28306 p_next: ::std::ptr::null_mut(), in default()
28319 pub fn builder<'a>() -> AndroidHardwareBufferFormatPropertiesANDROIDBuilder<'a> { in builder()
28322 marker: ::std::marker::PhantomData, in builder()
28329 marker: ::std::marker::PhantomData<&'a ()>,
28339 impl<'a> ::std::ops::Deref for AndroidHardwareBufferFormatPropertiesANDROIDBuilder<'a> {
28341 fn deref(&self) -> &Self::Target { in deref()
28345 impl<'a> ::std::ops::DerefMut for AndroidHardwareBufferFormatPropertiesANDROIDBuilder<'a> {
28346 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
28351 pub fn format(mut self, format: Format) -> Self { in format()
28355 pub fn external_format(mut self, external_format: u64) -> Self { in external_format()
28359 pub fn format_features(mut self, format_features: FormatFeatureFlags) -> Self { in format_features()
28366 ) -> Self { in sampler_ycbcr_conversion_components()
28373 ) -> Self { in suggested_ycbcr_model()
28377 pub fn suggested_ycbcr_range(mut self, suggested_ycbcr_range: SamplerYcbcrRange) -> Self { in suggested_ycbcr_range()
28381 pub fn suggested_x_chroma_offset(mut self, suggested_x_chroma_offset: ChromaLocation) -> Self { in suggested_x_chroma_offset()
28385 pub fn suggested_y_chroma_offset(mut self, suggested_y_chroma_offset: ChromaLocation) -> Self { in suggested_y_chroma_offset()
28389 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
28392 pub fn build(self) -> AndroidHardwareBufferFormatPropertiesANDROID { in build() method
28398 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCommandBufferInhe…
28404 impl ::std::default::Default for CommandBufferInheritanceConditionalRenderingInfoEXT {
28405 fn default() -> CommandBufferInheritanceConditionalRenderingInfoEXT { in default()
28408 p_next: ::std::ptr::null(), in default()
28414 pub fn builder<'a>() -> CommandBufferInheritanceConditionalRenderingInfoEXTBuilder<'a> { in builder()
28417 marker: ::std::marker::PhantomData, in builder()
28424 marker: ::std::marker::PhantomData<&'a ()>,
28434 impl<'a> ::std::ops::Deref for CommandBufferInheritanceConditionalRenderingInfoEXTBuilder<'a> {
28436 fn deref(&self) -> &Self::Target { in deref()
28440 impl<'a> ::std::ops::DerefMut for CommandBufferInheritanceConditionalRenderingInfoEXTBuilder<'a> {
28441 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
28446 pub fn conditional_rendering_enable(mut self, conditional_rendering_enable: bool) -> Self { in conditional_rendering_enable()
28450 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
28453 pub fn build(self) -> CommandBufferInheritanceConditionalRenderingInfoEXT { in build() method
28459 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkExternalFormatAND…
28465 impl ::std::default::Default for ExternalFormatANDROID {
28466 fn default() -> ExternalFormatANDROID { in default()
28469 p_next: ::std::ptr::null_mut(), in default()
28475 pub fn builder<'a>() -> ExternalFormatANDROIDBuilder<'a> { in builder()
28478 marker: ::std::marker::PhantomData, in builder()
28485 marker: ::std::marker::PhantomData<&'a ()>,
28491 impl<'a> ::std::ops::Deref for ExternalFormatANDROIDBuilder<'a> {
28493 fn deref(&self) -> &Self::Target { in deref()
28497 impl<'a> ::std::ops::DerefMut for ExternalFormatANDROIDBuilder<'a> {
28498 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
28503 pub fn external_format(mut self, external_format: u64) -> Self { in external_format()
28507 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
28510 pub fn build(self) -> ExternalFormatANDROID { in build() method
28516 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDevice8Bi…
28524 impl ::std::default::Default for PhysicalDevice8BitStorageFeatures {
28525 fn default() -> PhysicalDevice8BitStorageFeatures { in default()
28528 p_next: ::std::ptr::null_mut(), in default()
28536 pub fn builder<'a>() -> PhysicalDevice8BitStorageFeaturesBuilder<'a> { in builder()
28539 marker: ::std::marker::PhantomData, in builder()
28546 marker: ::std::marker::PhantomData<&'a ()>,
28552 impl<'a> ::std::ops::Deref for PhysicalDevice8BitStorageFeaturesBuilder<'a> {
28554 fn deref(&self) -> &Self::Target { in deref()
28558 impl<'a> ::std::ops::DerefMut for PhysicalDevice8BitStorageFeaturesBuilder<'a> {
28559 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
28564 pub fn storage_buffer8_bit_access(mut self, storage_buffer8_bit_access: bool) -> Self { in storage_buffer8_bit_access()
28571 ) -> Self { in uniform_and_storage_buffer8_bit_access()
28576 pub fn storage_push_constant8(mut self, storage_push_constant8: bool) -> Self { in storage_push_constant8()
28580 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
28583 pub fn build(self) -> PhysicalDevice8BitStorageFeatures { in build() method
28589 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceCon…
28596 impl ::std::default::Default for PhysicalDeviceConditionalRenderingFeaturesEXT {
28597 fn default() -> PhysicalDeviceConditionalRenderingFeaturesEXT { in default()
28600 p_next: ::std::ptr::null_mut(), in default()
28607 pub fn builder<'a>() -> PhysicalDeviceConditionalRenderingFeaturesEXTBuilder<'a> { in builder()
28610 marker: ::std::marker::PhantomData, in builder()
28617 marker: ::std::marker::PhantomData<&'a ()>,
28626 impl<'a> ::std::ops::Deref for PhysicalDeviceConditionalRenderingFeaturesEXTBuilder<'a> {
28628 fn deref(&self) -> &Self::Target { in deref()
28632 impl<'a> ::std::ops::DerefMut for PhysicalDeviceConditionalRenderingFeaturesEXTBuilder<'a> {
28633 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
28638 pub fn conditional_rendering(mut self, conditional_rendering: bool) -> Self { in conditional_rendering()
28645 ) -> Self { in inherited_conditional_rendering()
28649 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
28652 pub fn build(self) -> PhysicalDeviceConditionalRenderingFeaturesEXT { in build() method
28658 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceVul…
28666 impl ::std::default::Default for PhysicalDeviceVulkanMemoryModelFeatures {
28667 fn default() -> PhysicalDeviceVulkanMemoryModelFeatures { in default()
28670 p_next: ::std::ptr::null_mut(), in default()
28678 pub fn builder<'a>() -> PhysicalDeviceVulkanMemoryModelFeaturesBuilder<'a> { in builder()
28681 marker: ::std::marker::PhantomData, in builder()
28688 marker: ::std::marker::PhantomData<&'a ()>,
28694 impl<'a> ::std::ops::Deref for PhysicalDeviceVulkanMemoryModelFeaturesBuilder<'a> {
28696 fn deref(&self) -> &Self::Target { in deref()
28700 impl<'a> ::std::ops::DerefMut for PhysicalDeviceVulkanMemoryModelFeaturesBuilder<'a> {
28701 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
28706 pub fn vulkan_memory_model(mut self, vulkan_memory_model: bool) -> Self { in vulkan_memory_model()
28713 ) -> Self { in vulkan_memory_model_device_scope()
28720 ) -> Self { in vulkan_memory_model_availability_visibility_chains()
28726 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
28729 pub fn build(self) -> PhysicalDeviceVulkanMemoryModelFeatures { in build() method
28735 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSha…
28742 impl ::std::default::Default for PhysicalDeviceShaderAtomicInt64Features {
28743 fn default() -> PhysicalDeviceShaderAtomicInt64Features { in default()
28746 p_next: ::std::ptr::null_mut(), in default()
28753 pub fn builder<'a>() -> PhysicalDeviceShaderAtomicInt64FeaturesBuilder<'a> { in builder()
28756 marker: ::std::marker::PhantomData, in builder()
28763 marker: ::std::marker::PhantomData<&'a ()>,
28769 impl<'a> ::std::ops::Deref for PhysicalDeviceShaderAtomicInt64FeaturesBuilder<'a> {
28771 fn deref(&self) -> &Self::Target { in deref()
28775 impl<'a> ::std::ops::DerefMut for PhysicalDeviceShaderAtomicInt64FeaturesBuilder<'a> {
28776 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
28781 pub fn shader_buffer_int64_atomics(mut self, shader_buffer_int64_atomics: bool) -> Self { in shader_buffer_int64_atomics()
28785 pub fn shader_shared_int64_atomics(mut self, shader_shared_int64_atomics: bool) -> Self { in shader_shared_int64_atomics()
28789 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
28792 pub fn build(self) -> PhysicalDeviceShaderAtomicInt64Features { in build() method
28798 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSha…
28815 impl ::std::default::Default for PhysicalDeviceShaderAtomicFloatFeaturesEXT {
28816 fn default() -> PhysicalDeviceShaderAtomicFloatFeaturesEXT { in default()
28819 p_next: ::std::ptr::null_mut(), in default()
28836 pub fn builder<'a>() -> PhysicalDeviceShaderAtomicFloatFeaturesEXTBuilder<'a> { in builder()
28839 marker: ::std::marker::PhantomData, in builder()
28846 marker: ::std::marker::PhantomData<&'a ()>,
28855 impl<'a> ::std::ops::Deref for PhysicalDeviceShaderAtomicFloatFeaturesEXTBuilder<'a> {
28857 fn deref(&self) -> &Self::Target { in deref()
28861 impl<'a> ::std::ops::DerefMut for PhysicalDeviceShaderAtomicFloatFeaturesEXTBuilder<'a> {
28862 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
28867 pub fn shader_buffer_float32_atomics(mut self, shader_buffer_float32_atomics: bool) -> Self { in shader_buffer_float32_atomics()
28874 ) -> Self { in shader_buffer_float32_atomic_add()
28878 pub fn shader_buffer_float64_atomics(mut self, shader_buffer_float64_atomics: bool) -> Self { in shader_buffer_float64_atomics()
28885 ) -> Self { in shader_buffer_float64_atomic_add()
28889 pub fn shader_shared_float32_atomics(mut self, shader_shared_float32_atomics: bool) -> Self { in shader_shared_float32_atomics()
28896 ) -> Self { in shader_shared_float32_atomic_add()
28900 pub fn shader_shared_float64_atomics(mut self, shader_shared_float64_atomics: bool) -> Self { in shader_shared_float64_atomics()
28907 ) -> Self { in shader_shared_float64_atomic_add()
28911 pub fn shader_image_float32_atomics(mut self, shader_image_float32_atomics: bool) -> Self { in shader_image_float32_atomics()
28918 ) -> Self { in shader_image_float32_atomic_add()
28922 pub fn sparse_image_float32_atomics(mut self, sparse_image_float32_atomics: bool) -> Self { in sparse_image_float32_atomics()
28929 ) -> Self { in sparse_image_float32_atomic_add()
28933 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
28936 pub fn build(self) -> PhysicalDeviceShaderAtomicFloatFeaturesEXT { in build() method
28942 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSha…
28959 impl ::std::default::Default for PhysicalDeviceShaderAtomicFloat2FeaturesEXT {
28960 fn default() -> PhysicalDeviceShaderAtomicFloat2FeaturesEXT { in default()
28963 p_next: ::std::ptr::null_mut(), in default()
28980 pub fn builder<'a>() -> PhysicalDeviceShaderAtomicFloat2FeaturesEXTBuilder<'a> { in builder()
28983 marker: ::std::marker::PhantomData, in builder()
28990 marker: ::std::marker::PhantomData<&'a ()>,
28999 impl<'a> ::std::ops::Deref for PhysicalDeviceShaderAtomicFloat2FeaturesEXTBuilder<'a> {
29001 fn deref(&self) -> &Self::Target { in deref()
29005 impl<'a> ::std::ops::DerefMut for PhysicalDeviceShaderAtomicFloat2FeaturesEXTBuilder<'a> {
29006 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
29011 pub fn shader_buffer_float16_atomics(mut self, shader_buffer_float16_atomics: bool) -> Self { in shader_buffer_float16_atomics()
29018 ) -> Self { in shader_buffer_float16_atomic_add()
29025 ) -> Self { in shader_buffer_float16_atomic_min_max()
29033 ) -> Self { in shader_buffer_float32_atomic_min_max()
29041 ) -> Self { in shader_buffer_float64_atomic_min_max()
29046 pub fn shader_shared_float16_atomics(mut self, shader_shared_float16_atomics: bool) -> Self { in shader_shared_float16_atomics()
29053 ) -> Self { in shader_shared_float16_atomic_add()
29060 ) -> Self { in shader_shared_float16_atomic_min_max()
29068 ) -> Self { in shader_shared_float32_atomic_min_max()
29076 ) -> Self { in shader_shared_float64_atomic_min_max()
29084 ) -> Self { in shader_image_float32_atomic_min_max()
29091 ) -> Self { in sparse_image_float32_atomic_min_max()
29095 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
29098 pub fn build(self) -> PhysicalDeviceShaderAtomicFloat2FeaturesEXT { in build() method
29104 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceVer…
29111 impl ::std::default::Default for PhysicalDeviceVertexAttributeDivisorFeaturesEXT {
29112 fn default() -> PhysicalDeviceVertexAttributeDivisorFeaturesEXT { in default()
29115 p_next: ::std::ptr::null_mut(), in default()
29122 pub fn builder<'a>() -> PhysicalDeviceVertexAttributeDivisorFeaturesEXTBuilder<'a> { in builder()
29125 marker: ::std::marker::PhantomData, in builder()
29132 marker: ::std::marker::PhantomData<&'a ()>,
29141 impl<'a> ::std::ops::Deref for PhysicalDeviceVertexAttributeDivisorFeaturesEXTBuilder<'a> {
29143 fn deref(&self) -> &Self::Target { in deref()
29147 impl<'a> ::std::ops::DerefMut for PhysicalDeviceVertexAttributeDivisorFeaturesEXTBuilder<'a> {
29148 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
29156 ) -> Self { in vertex_attribute_instance_rate_divisor()
29164 ) -> Self { in vertex_attribute_instance_rate_zero_divisor()
29169 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
29172 pub fn build(self) -> PhysicalDeviceVertexAttributeDivisorFeaturesEXT { in build() method
29178 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkQueueFamilyCheckp…
29184 impl ::std::default::Default for QueueFamilyCheckpointPropertiesNV {
29185 fn default() -> QueueFamilyCheckpointPropertiesNV { in default()
29188 p_next: ::std::ptr::null_mut(), in default()
29194 pub fn builder<'a>() -> QueueFamilyCheckpointPropertiesNVBuilder<'a> { in builder()
29197 marker: ::std::marker::PhantomData, in builder()
29204 marker: ::std::marker::PhantomData<&'a ()>,
29208 impl<'a> ::std::ops::Deref for QueueFamilyCheckpointPropertiesNVBuilder<'a> {
29210 fn deref(&self) -> &Self::Target { in deref()
29214 impl<'a> ::std::ops::DerefMut for QueueFamilyCheckpointPropertiesNVBuilder<'a> {
29215 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
29223 ) -> Self { in checkpoint_execution_stage_mask()
29227 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
29230 pub fn build(self) -> QueueFamilyCheckpointPropertiesNV { in build() method
29236 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCheckpointDataNV.…
29243 impl ::std::default::Default for CheckpointDataNV {
29244 fn default() -> CheckpointDataNV { in default()
29247 p_next: ::std::ptr::null_mut(), in default()
29249 p_checkpoint_marker: ::std::ptr::null_mut(), in default()
29254 pub fn builder<'a>() -> CheckpointDataNVBuilder<'a> { in builder()
29257 marker: ::std::marker::PhantomData, in builder()
29264 marker: ::std::marker::PhantomData<&'a ()>,
29266 impl<'a> ::std::ops::Deref for CheckpointDataNVBuilder<'a> {
29268 fn deref(&self) -> &Self::Target { in deref()
29272 impl<'a> ::std::ops::DerefMut for CheckpointDataNVBuilder<'a> {
29273 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
29278 pub fn stage(mut self, stage: PipelineStageFlags) -> Self { in stage()
29282 pub fn checkpoint_marker(mut self, checkpoint_marker: *mut c_void) -> Self { in checkpoint_marker()
29286 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
29289 pub fn build(self) -> CheckpointDataNV { in build() method
29295 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceDep…
29304 impl ::std::default::Default for PhysicalDeviceDepthStencilResolveProperties {
29305 fn default() -> PhysicalDeviceDepthStencilResolveProperties { in default()
29308 p_next: ::std::ptr::null_mut(), in default()
29317 pub fn builder<'a>() -> PhysicalDeviceDepthStencilResolvePropertiesBuilder<'a> { in builder()
29320 marker: ::std::marker::PhantomData, in builder()
29327 marker: ::std::marker::PhantomData<&'a ()>,
29334 impl<'a> ::std::ops::Deref for PhysicalDeviceDepthStencilResolvePropertiesBuilder<'a> {
29336 fn deref(&self) -> &Self::Target { in deref()
29340 impl<'a> ::std::ops::DerefMut for PhysicalDeviceDepthStencilResolvePropertiesBuilder<'a> {
29341 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
29349 ) -> Self { in supported_depth_resolve_modes()
29356 ) -> Self { in supported_stencil_resolve_modes()
29360 pub fn independent_resolve_none(mut self, independent_resolve_none: bool) -> Self { in independent_resolve_none()
29364 pub fn independent_resolve(mut self, independent_resolve: bool) -> Self { in independent_resolve()
29368 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
29371 pub fn build(self) -> PhysicalDeviceDepthStencilResolveProperties { in build() method
29377 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSubpassDescriptio…
29385 impl ::std::default::Default for SubpassDescriptionDepthStencilResolve {
29386 fn default() -> SubpassDescriptionDepthStencilResolve { in default()
29389 p_next: ::std::ptr::null(), in default()
29392 p_depth_stencil_resolve_attachment: ::std::ptr::null(), in default()
29397 pub fn builder<'a>() -> SubpassDescriptionDepthStencilResolveBuilder<'a> { in builder()
29400 marker: ::std::marker::PhantomData, in builder()
29407 marker: ::std::marker::PhantomData<&'a ()>,
29411 impl<'a> ::std::ops::Deref for SubpassDescriptionDepthStencilResolveBuilder<'a> {
29413 fn deref(&self) -> &Self::Target { in deref()
29417 impl<'a> ::std::ops::DerefMut for SubpassDescriptionDepthStencilResolveBuilder<'a> {
29418 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
29423 pub fn depth_resolve_mode(mut self, depth_resolve_mode: ResolveModeFlags) -> Self { in depth_resolve_mode()
29427 pub fn stencil_resolve_mode(mut self, stencil_resolve_mode: ResolveModeFlags) -> Self { in stencil_resolve_mode()
29434 ) -> Self { in depth_stencil_resolve_attachment()
29438 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
29441 pub fn build(self) -> SubpassDescriptionDepthStencilResolve { in build() method
29447 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageViewASTCDeco…
29453 impl ::std::default::Default for ImageViewASTCDecodeModeEXT {
29454 fn default() -> ImageViewASTCDecodeModeEXT { in default()
29457 p_next: ::std::ptr::null(), in default()
29463 pub fn builder<'a>() -> ImageViewASTCDecodeModeEXTBuilder<'a> { in builder()
29466 marker: ::std::marker::PhantomData, in builder()
29473 marker: ::std::marker::PhantomData<&'a ()>,
29477 impl<'a> ::std::ops::Deref for ImageViewASTCDecodeModeEXTBuilder<'a> {
29479 fn deref(&self) -> &Self::Target { in deref()
29483 impl<'a> ::std::ops::DerefMut for ImageViewASTCDecodeModeEXTBuilder<'a> {
29484 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
29489 pub fn decode_mode(mut self, decode_mode: Format) -> Self { in decode_mode()
29493 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
29496 pub fn build(self) -> ImageViewASTCDecodeModeEXT { in build() method
29502 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceAST…
29508 impl ::std::default::Default for PhysicalDeviceASTCDecodeFeaturesEXT {
29509 fn default() -> PhysicalDeviceASTCDecodeFeaturesEXT { in default()
29512 p_next: ::std::ptr::null_mut(), in default()
29518 pub fn builder<'a>() -> PhysicalDeviceASTCDecodeFeaturesEXTBuilder<'a> { in builder()
29521 marker: ::std::marker::PhantomData, in builder()
29528 marker: ::std::marker::PhantomData<&'a ()>,
29534 impl<'a> ::std::ops::Deref for PhysicalDeviceASTCDecodeFeaturesEXTBuilder<'a> {
29536 fn deref(&self) -> &Self::Target { in deref()
29540 impl<'a> ::std::ops::DerefMut for PhysicalDeviceASTCDecodeFeaturesEXTBuilder<'a> {
29541 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
29546 pub fn decode_mode_shared_exponent(mut self, decode_mode_shared_exponent: bool) -> Self { in decode_mode_shared_exponent()
29550 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
29553 pub fn build(self) -> PhysicalDeviceASTCDecodeFeaturesEXT { in build() method
29559 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceTra…
29566 impl ::std::default::Default for PhysicalDeviceTransformFeedbackFeaturesEXT {
29567 fn default() -> PhysicalDeviceTransformFeedbackFeaturesEXT { in default()
29570 p_next: ::std::ptr::null_mut(), in default()
29577 pub fn builder<'a>() -> PhysicalDeviceTransformFeedbackFeaturesEXTBuilder<'a> { in builder()
29580 marker: ::std::marker::PhantomData, in builder()
29587 marker: ::std::marker::PhantomData<&'a ()>,
29596 impl<'a> ::std::ops::Deref for PhysicalDeviceTransformFeedbackFeaturesEXTBuilder<'a> {
29598 fn deref(&self) -> &Self::Target { in deref()
29602 impl<'a> ::std::ops::DerefMut for PhysicalDeviceTransformFeedbackFeaturesEXTBuilder<'a> {
29603 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
29608 pub fn transform_feedback(mut self, transform_feedback: bool) -> Self { in transform_feedback()
29612 pub fn geometry_streams(mut self, geometry_streams: bool) -> Self { in geometry_streams()
29616 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
29619 pub fn build(self) -> PhysicalDeviceTransformFeedbackFeaturesEXT { in build() method
29625 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceTra…
29640 impl ::std::default::Default for PhysicalDeviceTransformFeedbackPropertiesEXT {
29641 fn default() -> PhysicalDeviceTransformFeedbackPropertiesEXT { in default()
29644 p_next: ::std::ptr::null_mut(), in default()
29659 pub fn builder<'a>() -> PhysicalDeviceTransformFeedbackPropertiesEXTBuilder<'a> { in builder()
29662 marker: ::std::marker::PhantomData, in builder()
29669 marker: ::std::marker::PhantomData<&'a ()>,
29676 impl<'a> ::std::ops::Deref for PhysicalDeviceTransformFeedbackPropertiesEXTBuilder<'a> {
29678 fn deref(&self) -> &Self::Target { in deref()
29682 impl<'a> ::std::ops::DerefMut for PhysicalDeviceTransformFeedbackPropertiesEXTBuilder<'a> {
29683 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
29688 pub fn max_transform_feedback_streams(mut self, max_transform_feedback_streams: u32) -> Self { in max_transform_feedback_streams()
29692 pub fn max_transform_feedback_buffers(mut self, max_transform_feedback_buffers: u32) -> Self { in max_transform_feedback_buffers()
29699 ) -> Self { in max_transform_feedback_buffer_size()
29706 ) -> Self { in max_transform_feedback_stream_data_size()
29714 ) -> Self { in max_transform_feedback_buffer_data_size()
29722 ) -> Self { in max_transform_feedback_buffer_data_stride()
29727 pub fn transform_feedback_queries(mut self, transform_feedback_queries: bool) -> Self { in transform_feedback_queries()
29734 ) -> Self { in transform_feedback_streams_lines_triangles()
29742 ) -> Self { in transform_feedback_rasterization_stream_select()
29747 pub fn transform_feedback_draw(mut self, transform_feedback_draw: bool) -> Self { in transform_feedback_draw()
29751 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
29754 pub fn build(self) -> PhysicalDeviceTransformFeedbackPropertiesEXT { in build() method
29760 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineRasteriza…
29767 impl ::std::default::Default for PipelineRasterizationStateStreamCreateInfoEXT {
29768 fn default() -> PipelineRasterizationStateStreamCreateInfoEXT { in default()
29771 p_next: ::std::ptr::null(), in default()
29778 pub fn builder<'a>() -> PipelineRasterizationStateStreamCreateInfoEXTBuilder<'a> { in builder()
29781 marker: ::std::marker::PhantomData, in builder()
29788 marker: ::std::marker::PhantomData<&'a ()>,
29798 impl<'a> ::std::ops::Deref for PipelineRasterizationStateStreamCreateInfoEXTBuilder<'a> {
29800 fn deref(&self) -> &Self::Target { in deref()
29804 impl<'a> ::std::ops::DerefMut for PipelineRasterizationStateStreamCreateInfoEXTBuilder<'a> {
29805 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
29810 pub fn flags(mut self, flags: PipelineRasterizationStateStreamCreateFlagsEXT) -> Self { in flags()
29814 pub fn rasterization_stream(mut self, rasterization_stream: u32) -> Self { in rasterization_stream()
29818 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
29821 pub fn build(self) -> PipelineRasterizationStateStreamCreateInfoEXT { in build() method
29827 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceRep…
29833 impl ::std::default::Default for PhysicalDeviceRepresentativeFragmentTestFeaturesNV {
29834 fn default() -> PhysicalDeviceRepresentativeFragmentTestFeaturesNV { in default()
29837 p_next: ::std::ptr::null_mut(), in default()
29843 pub fn builder<'a>() -> PhysicalDeviceRepresentativeFragmentTestFeaturesNVBuilder<'a> { in builder()
29846 marker: ::std::marker::PhantomData, in builder()
29853 marker: ::std::marker::PhantomData<&'a ()>,
29865 impl<'a> ::std::ops::Deref for PhysicalDeviceRepresentativeFragmentTestFeaturesNVBuilder<'a> {
29867 fn deref(&self) -> &Self::Target { in deref()
29871 impl<'a> ::std::ops::DerefMut for PhysicalDeviceRepresentativeFragmentTestFeaturesNVBuilder<'a> {
29872 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
29877 pub fn representative_fragment_test(mut self, representative_fragment_test: bool) -> Self { in representative_fragment_test()
29881 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
29884 pub fn build(self) -> PhysicalDeviceRepresentativeFragmentTestFeaturesNV { in build() method
29890 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineRepresent…
29896 impl ::std::default::Default for PipelineRepresentativeFragmentTestStateCreateInfoNV {
29897 fn default() -> PipelineRepresentativeFragmentTestStateCreateInfoNV { in default()
29900 p_next: ::std::ptr::null(), in default()
29906 pub fn builder<'a>() -> PipelineRepresentativeFragmentTestStateCreateInfoNVBuilder<'a> { in builder()
29909 marker: ::std::marker::PhantomData, in builder()
29916 marker: ::std::marker::PhantomData<&'a ()>,
29926 impl<'a> ::std::ops::Deref for PipelineRepresentativeFragmentTestStateCreateInfoNVBuilder<'a> {
29928 fn deref(&self) -> &Self::Target { in deref()
29932 impl<'a> ::std::ops::DerefMut for PipelineRepresentativeFragmentTestStateCreateInfoNVBuilder<'a> {
29933 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
29941 ) -> Self { in representative_fragment_test_enable()
29945 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
29948 pub fn build(self) -> PipelineRepresentativeFragmentTestStateCreateInfoNV { in build() method
29954 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceExc…
29960 impl ::std::default::Default for PhysicalDeviceExclusiveScissorFeaturesNV {
29961 fn default() -> PhysicalDeviceExclusiveScissorFeaturesNV { in default()
29964 p_next: ::std::ptr::null_mut(), in default()
29970 pub fn builder<'a>() -> PhysicalDeviceExclusiveScissorFeaturesNVBuilder<'a> { in builder()
29973 marker: ::std::marker::PhantomData, in builder()
29980 marker: ::std::marker::PhantomData<&'a ()>,
29986 impl<'a> ::std::ops::Deref for PhysicalDeviceExclusiveScissorFeaturesNVBuilder<'a> {
29988 fn deref(&self) -> &Self::Target { in deref()
29992 impl<'a> ::std::ops::DerefMut for PhysicalDeviceExclusiveScissorFeaturesNVBuilder<'a> {
29993 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
29998 pub fn exclusive_scissor(mut self, exclusive_scissor: bool) -> Self { in exclusive_scissor()
30002 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
30005 pub fn build(self) -> PhysicalDeviceExclusiveScissorFeaturesNV { in build() method
30011 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineViewportE…
30018 impl ::std::default::Default for PipelineViewportExclusiveScissorStateCreateInfoNV {
30019 fn default() -> PipelineViewportExclusiveScissorStateCreateInfoNV { in default()
30022 p_next: ::std::ptr::null(), in default()
30024 p_exclusive_scissors: ::std::ptr::null(), in default()
30029 pub fn builder<'a>() -> PipelineViewportExclusiveScissorStateCreateInfoNVBuilder<'a> { in builder()
30032 marker: ::std::marker::PhantomData, in builder()
30039 marker: ::std::marker::PhantomData<&'a ()>,
30049 impl<'a> ::std::ops::Deref for PipelineViewportExclusiveScissorStateCreateInfoNVBuilder<'a> {
30051 fn deref(&self) -> &Self::Target { in deref()
30055 impl<'a> ::std::ops::DerefMut for PipelineViewportExclusiveScissorStateCreateInfoNVBuilder<'a> {
30056 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
30061 pub fn exclusive_scissors(mut self, exclusive_scissors: &'a [Rect2D]) -> Self { in exclusive_scissors()
30066 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
30069 pub fn build(self) -> PipelineViewportExclusiveScissorStateCreateInfoNV { in build() method
30075 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceCor…
30081 impl ::std::default::Default for PhysicalDeviceCornerSampledImageFeaturesNV {
30082 fn default() -> PhysicalDeviceCornerSampledImageFeaturesNV { in default()
30085 p_next: ::std::ptr::null_mut(), in default()
30091 pub fn builder<'a>() -> PhysicalDeviceCornerSampledImageFeaturesNVBuilder<'a> { in builder()
30094 marker: ::std::marker::PhantomData, in builder()
30101 marker: ::std::marker::PhantomData<&'a ()>,
30110 impl<'a> ::std::ops::Deref for PhysicalDeviceCornerSampledImageFeaturesNVBuilder<'a> {
30112 fn deref(&self) -> &Self::Target { in deref()
30116 impl<'a> ::std::ops::DerefMut for PhysicalDeviceCornerSampledImageFeaturesNVBuilder<'a> {
30117 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
30122 pub fn corner_sampled_image(mut self, corner_sampled_image: bool) -> Self { in corner_sampled_image()
30126 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
30129 pub fn build(self) -> PhysicalDeviceCornerSampledImageFeaturesNV { in build() method
30135 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceCom…
30142 impl ::std::default::Default for PhysicalDeviceComputeShaderDerivativesFeaturesNV {
30143 fn default() -> PhysicalDeviceComputeShaderDerivativesFeaturesNV { in default()
30146 p_next: ::std::ptr::null_mut(), in default()
30153 pub fn builder<'a>() -> PhysicalDeviceComputeShaderDerivativesFeaturesNVBuilder<'a> { in builder()
30156 marker: ::std::marker::PhantomData, in builder()
30163 marker: ::std::marker::PhantomData<&'a ()>,
30175 impl<'a> ::std::ops::Deref for PhysicalDeviceComputeShaderDerivativesFeaturesNVBuilder<'a> {
30177 fn deref(&self) -> &Self::Target { in deref()
30181 impl<'a> ::std::ops::DerefMut for PhysicalDeviceComputeShaderDerivativesFeaturesNVBuilder<'a> {
30182 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
30187 pub fn compute_derivative_group_quads(mut self, compute_derivative_group_quads: bool) -> Self { in compute_derivative_group_quads()
30194 ) -> Self { in compute_derivative_group_linear()
30198 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
30201 pub fn build(self) -> PhysicalDeviceComputeShaderDerivativesFeaturesNV { in build() method
30207 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceFra…
30213 impl ::std::default::Default for PhysicalDeviceFragmentShaderBarycentricFeaturesNV {
30214 fn default() -> PhysicalDeviceFragmentShaderBarycentricFeaturesNV { in default()
30217 p_next: ::std::ptr::null_mut(), in default()
30223 pub fn builder<'a>() -> PhysicalDeviceFragmentShaderBarycentricFeaturesNVBuilder<'a> { in builder()
30226 marker: ::std::marker::PhantomData, in builder()
30233 marker: ::std::marker::PhantomData<&'a ()>,
30245 impl<'a> ::std::ops::Deref for PhysicalDeviceFragmentShaderBarycentricFeaturesNVBuilder<'a> {
30247 fn deref(&self) -> &Self::Target { in deref()
30251 impl<'a> ::std::ops::DerefMut for PhysicalDeviceFragmentShaderBarycentricFeaturesNVBuilder<'a> {
30252 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
30257 pub fn fragment_shader_barycentric(mut self, fragment_shader_barycentric: bool) -> Self { in fragment_shader_barycentric()
30261 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
30264 pub fn build(self) -> PhysicalDeviceFragmentShaderBarycentricFeaturesNV { in build() method
30270 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSha…
30276 impl ::std::default::Default for PhysicalDeviceShaderImageFootprintFeaturesNV {
30277 fn default() -> PhysicalDeviceShaderImageFootprintFeaturesNV { in default()
30280 p_next: ::std::ptr::null_mut(), in default()
30286 pub fn builder<'a>() -> PhysicalDeviceShaderImageFootprintFeaturesNVBuilder<'a> { in builder()
30289 marker: ::std::marker::PhantomData, in builder()
30296 marker: ::std::marker::PhantomData<&'a ()>,
30305 impl<'a> ::std::ops::Deref for PhysicalDeviceShaderImageFootprintFeaturesNVBuilder<'a> {
30307 fn deref(&self) -> &Self::Target { in deref()
30311 impl<'a> ::std::ops::DerefMut for PhysicalDeviceShaderImageFootprintFeaturesNVBuilder<'a> {
30312 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
30317 pub fn image_footprint(mut self, image_footprint: bool) -> Self { in image_footprint()
30321 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
30324 pub fn build(self) -> PhysicalDeviceShaderImageFootprintFeaturesNV { in build() method
30330 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceDed…
30336 impl ::std::default::Default for PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV {
30337 fn default() -> PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV { in default()
30340 p_next: ::std::ptr::null_mut(), in default()
30346 pub fn builder<'a>() -> PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNVBuilder<'a> { in builder()
30349 marker: ::std::marker::PhantomData, in builder()
30356 marker: ::std::marker::PhantomData<&'a ()>,
30371 impl<'a> ::std::ops::Deref for PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNVBuilder<'a> {
30373 fn deref(&self) -> &Self::Target { in deref()
30377 impl<'a> ::std::ops::DerefMut
30380 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
30388 ) -> Self { in dedicated_allocation_image_aliasing()
30392 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
30395 pub fn build(self) -> PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV { in build() method
30401 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkShadingRatePalett…
30406 impl ::std::default::Default for ShadingRatePaletteNV {
30407 fn default() -> ShadingRatePaletteNV { in default()
30410 p_shading_rate_palette_entries: ::std::ptr::null(), in default()
30415 pub fn builder<'a>() -> ShadingRatePaletteNVBuilder<'a> { in builder()
30418 marker: ::std::marker::PhantomData, in builder()
30425 marker: ::std::marker::PhantomData<&'a ()>,
30427 impl<'a> ::std::ops::Deref for ShadingRatePaletteNVBuilder<'a> {
30429 fn deref(&self) -> &Self::Target { in deref()
30433 impl<'a> ::std::ops::DerefMut for ShadingRatePaletteNVBuilder<'a> {
30434 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
30442 ) -> Self { in shading_rate_palette_entries()
30447 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
30450 pub fn build(self) -> ShadingRatePaletteNV { in build() method
30456 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineViewportS…
30464 impl ::std::default::Default for PipelineViewportShadingRateImageStateCreateInfoNV {
30465 fn default() -> PipelineViewportShadingRateImageStateCreateInfoNV { in default()
30468 p_next: ::std::ptr::null(), in default()
30471 p_shading_rate_palettes: ::std::ptr::null(), in default()
30476 pub fn builder<'a>() -> PipelineViewportShadingRateImageStateCreateInfoNVBuilder<'a> { in builder()
30479 marker: ::std::marker::PhantomData, in builder()
30486 marker: ::std::marker::PhantomData<&'a ()>,
30496 impl<'a> ::std::ops::Deref for PipelineViewportShadingRateImageStateCreateInfoNVBuilder<'a> {
30498 fn deref(&self) -> &Self::Target { in deref()
30502 impl<'a> ::std::ops::DerefMut for PipelineViewportShadingRateImageStateCreateInfoNVBuilder<'a> {
30503 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
30508 pub fn shading_rate_image_enable(mut self, shading_rate_image_enable: bool) -> Self { in shading_rate_image_enable()
30515 ) -> Self { in shading_rate_palettes()
30520 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
30523 pub fn build(self) -> PipelineViewportShadingRateImageStateCreateInfoNV { in build() method
30529 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSha…
30536 impl ::std::default::Default for PhysicalDeviceShadingRateImageFeaturesNV {
30537 fn default() -> PhysicalDeviceShadingRateImageFeaturesNV { in default()
30540 p_next: ::std::ptr::null_mut(), in default()
30547 pub fn builder<'a>() -> PhysicalDeviceShadingRateImageFeaturesNVBuilder<'a> { in builder()
30550 marker: ::std::marker::PhantomData, in builder()
30557 marker: ::std::marker::PhantomData<&'a ()>,
30563 impl<'a> ::std::ops::Deref for PhysicalDeviceShadingRateImageFeaturesNVBuilder<'a> {
30565 fn deref(&self) -> &Self::Target { in deref()
30569 impl<'a> ::std::ops::DerefMut for PhysicalDeviceShadingRateImageFeaturesNVBuilder<'a> {
30570 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
30575 pub fn shading_rate_image(mut self, shading_rate_image: bool) -> Self { in shading_rate_image()
30582 ) -> Self { in shading_rate_coarse_sample_order()
30586 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
30589 pub fn build(self) -> PhysicalDeviceShadingRateImageFeaturesNV { in build() method
30595 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSha…
30603 impl ::std::default::Default for PhysicalDeviceShadingRateImagePropertiesNV {
30604 fn default() -> PhysicalDeviceShadingRateImagePropertiesNV { in default()
30607 p_next: ::std::ptr::null_mut(), in default()
30615 pub fn builder<'a>() -> PhysicalDeviceShadingRateImagePropertiesNVBuilder<'a> { in builder()
30618 marker: ::std::marker::PhantomData, in builder()
30625 marker: ::std::marker::PhantomData<&'a ()>,
30632 impl<'a> ::std::ops::Deref for PhysicalDeviceShadingRateImagePropertiesNVBuilder<'a> {
30634 fn deref(&self) -> &Self::Target { in deref()
30638 impl<'a> ::std::ops::DerefMut for PhysicalDeviceShadingRateImagePropertiesNVBuilder<'a> {
30639 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
30644 pub fn shading_rate_texel_size(mut self, shading_rate_texel_size: Extent2D) -> Self { in shading_rate_texel_size()
30648 pub fn shading_rate_palette_size(mut self, shading_rate_palette_size: u32) -> Self { in shading_rate_palette_size()
30652 pub fn shading_rate_max_coarse_samples(mut self, shading_rate_max_coarse_samples: u32) -> Self { in shading_rate_max_coarse_samples()
30656 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
30659 pub fn build(self) -> PhysicalDeviceShadingRateImagePropertiesNV { in build() method
30665 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceInv…
30671 impl ::std::default::Default for PhysicalDeviceInvocationMaskFeaturesHUAWEI {
30672 fn default() -> PhysicalDeviceInvocationMaskFeaturesHUAWEI { in default()
30675 p_next: ::std::ptr::null_mut(), in default()
30681 pub fn builder<'a>() -> PhysicalDeviceInvocationMaskFeaturesHUAWEIBuilder<'a> { in builder()
30684 marker: ::std::marker::PhantomData, in builder()
30691 marker: ::std::marker::PhantomData<&'a ()>,
30700 impl<'a> ::std::ops::Deref for PhysicalDeviceInvocationMaskFeaturesHUAWEIBuilder<'a> {
30702 fn deref(&self) -> &Self::Target { in deref()
30706 impl<'a> ::std::ops::DerefMut for PhysicalDeviceInvocationMaskFeaturesHUAWEIBuilder<'a> {
30707 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
30712 pub fn invocation_mask(mut self, invocation_mask: bool) -> Self { in invocation_mask()
30716 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
30719 pub fn build(self) -> PhysicalDeviceInvocationMaskFeaturesHUAWEI { in build() method
30725 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCoarseSampleLocat…
30732 pub fn builder<'a>() -> CoarseSampleLocationNVBuilder<'a> { in builder()
30735 marker: ::std::marker::PhantomData, in builder()
30742 marker: ::std::marker::PhantomData<&'a ()>,
30744 impl<'a> ::std::ops::Deref for CoarseSampleLocationNVBuilder<'a> {
30746 fn deref(&self) -> &Self::Target { in deref()
30750 impl<'a> ::std::ops::DerefMut for CoarseSampleLocationNVBuilder<'a> {
30751 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
30756 pub fn pixel_x(mut self, pixel_x: u32) -> Self { in pixel_x()
30760 pub fn pixel_y(mut self, pixel_y: u32) -> Self { in pixel_y()
30764 pub fn sample(mut self, sample: u32) -> Self { in sample()
30768 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
30771 pub fn build(self) -> CoarseSampleLocationNV { in build() method
30777 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCoarseSampleOrder…
30784 impl ::std::default::Default for CoarseSampleOrderCustomNV {
30785 fn default() -> CoarseSampleOrderCustomNV { in default()
30790 p_sample_locations: ::std::ptr::null(), in default()
30795 pub fn builder<'a>() -> CoarseSampleOrderCustomNVBuilder<'a> { in builder()
30798 marker: ::std::marker::PhantomData, in builder()
30805 marker: ::std::marker::PhantomData<&'a ()>,
30807 impl<'a> ::std::ops::Deref for CoarseSampleOrderCustomNVBuilder<'a> {
30809 fn deref(&self) -> &Self::Target { in deref()
30813 impl<'a> ::std::ops::DerefMut for CoarseSampleOrderCustomNVBuilder<'a> {
30814 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
30819 pub fn shading_rate(mut self, shading_rate: ShadingRatePaletteEntryNV) -> Self { in shading_rate()
30823 pub fn sample_count(mut self, sample_count: u32) -> Self { in sample_count()
30827 pub fn sample_locations(mut self, sample_locations: &'a [CoarseSampleLocationNV]) -> Self { in sample_locations()
30832 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
30835 pub fn build(self) -> CoarseSampleOrderCustomNV { in build() method
30841 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineViewportC…
30849 impl ::std::default::Default for PipelineViewportCoarseSampleOrderStateCreateInfoNV {
30850 fn default() -> PipelineViewportCoarseSampleOrderStateCreateInfoNV { in default()
30853 p_next: ::std::ptr::null(), in default()
30856 p_custom_sample_orders: ::std::ptr::null(), in default()
30861 pub fn builder<'a>() -> PipelineViewportCoarseSampleOrderStateCreateInfoNVBuilder<'a> { in builder()
30864 marker: ::std::marker::PhantomData, in builder()
30871 marker: ::std::marker::PhantomData<&'a ()>,
30881 impl<'a> ::std::ops::Deref for PipelineViewportCoarseSampleOrderStateCreateInfoNVBuilder<'a> {
30883 fn deref(&self) -> &Self::Target { in deref()
30887 impl<'a> ::std::ops::DerefMut for PipelineViewportCoarseSampleOrderStateCreateInfoNVBuilder<'a> {
30888 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
30893 pub fn sample_order_type(mut self, sample_order_type: CoarseSampleOrderTypeNV) -> Self { in sample_order_type()
30900 ) -> Self { in custom_sample_orders()
30905 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
30908 pub fn build(self) -> PipelineViewportCoarseSampleOrderStateCreateInfoNV { in build() method
30914 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceMes…
30921 impl ::std::default::Default for PhysicalDeviceMeshShaderFeaturesNV {
30922 fn default() -> PhysicalDeviceMeshShaderFeaturesNV { in default()
30925 p_next: ::std::ptr::null_mut(), in default()
30932 pub fn builder<'a>() -> PhysicalDeviceMeshShaderFeaturesNVBuilder<'a> { in builder()
30935 marker: ::std::marker::PhantomData, in builder()
30942 marker: ::std::marker::PhantomData<&'a ()>,
30948 impl<'a> ::std::ops::Deref for PhysicalDeviceMeshShaderFeaturesNVBuilder<'a> {
30950 fn deref(&self) -> &Self::Target { in deref()
30954 impl<'a> ::std::ops::DerefMut for PhysicalDeviceMeshShaderFeaturesNVBuilder<'a> {
30955 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
30960 pub fn task_shader(mut self, task_shader: bool) -> Self { in task_shader()
30964 pub fn mesh_shader(mut self, mesh_shader: bool) -> Self { in mesh_shader()
30968 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
30971 pub fn build(self) -> PhysicalDeviceMeshShaderFeaturesNV { in build() method
30977 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceMes…
30995 impl ::std::default::Default for PhysicalDeviceMeshShaderPropertiesNV {
30996 fn default() -> PhysicalDeviceMeshShaderPropertiesNV { in default()
30999 p_next: ::std::ptr::null_mut(), in default()
31002 max_task_work_group_size: unsafe { ::std::mem::zeroed() }, in default()
31006 max_mesh_work_group_size: unsafe { ::std::mem::zeroed() }, in default()
31017 pub fn builder<'a>() -> PhysicalDeviceMeshShaderPropertiesNVBuilder<'a> { in builder()
31020 marker: ::std::marker::PhantomData, in builder()
31027 marker: ::std::marker::PhantomData<&'a ()>,
31031 impl<'a> ::std::ops::Deref for PhysicalDeviceMeshShaderPropertiesNVBuilder<'a> {
31033 fn deref(&self) -> &Self::Target { in deref()
31037 impl<'a> ::std::ops::DerefMut for PhysicalDeviceMeshShaderPropertiesNVBuilder<'a> {
31038 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
31043 pub fn max_draw_mesh_tasks_count(mut self, max_draw_mesh_tasks_count: u32) -> Self { in max_draw_mesh_tasks_count()
31047 pub fn max_task_work_group_invocations(mut self, max_task_work_group_invocations: u32) -> Self { in max_task_work_group_invocations()
31051 pub fn max_task_work_group_size(mut self, max_task_work_group_size: [u32; 3]) -> Self { in max_task_work_group_size()
31055 pub fn max_task_total_memory_size(mut self, max_task_total_memory_size: u32) -> Self { in max_task_total_memory_size()
31059 pub fn max_task_output_count(mut self, max_task_output_count: u32) -> Self { in max_task_output_count()
31063 pub fn max_mesh_work_group_invocations(mut self, max_mesh_work_group_invocations: u32) -> Self { in max_mesh_work_group_invocations()
31067 pub fn max_mesh_work_group_size(mut self, max_mesh_work_group_size: [u32; 3]) -> Self { in max_mesh_work_group_size()
31071 pub fn max_mesh_total_memory_size(mut self, max_mesh_total_memory_size: u32) -> Self { in max_mesh_total_memory_size()
31075 pub fn max_mesh_output_vertices(mut self, max_mesh_output_vertices: u32) -> Self { in max_mesh_output_vertices()
31079 pub fn max_mesh_output_primitives(mut self, max_mesh_output_primitives: u32) -> Self { in max_mesh_output_primitives()
31083 pub fn max_mesh_multiview_view_count(mut self, max_mesh_multiview_view_count: u32) -> Self { in max_mesh_multiview_view_count()
31090 ) -> Self { in mesh_output_per_vertex_granularity()
31097 ) -> Self { in mesh_output_per_primitive_granularity()
31101 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
31104 pub fn build(self) -> PhysicalDeviceMeshShaderPropertiesNV { in build() method
31110 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDrawMeshTasksIndi…
31116 pub fn builder<'a>() -> DrawMeshTasksIndirectCommandNVBuilder<'a> { in builder()
31119 marker: ::std::marker::PhantomData, in builder()
31126 marker: ::std::marker::PhantomData<&'a ()>,
31128 impl<'a> ::std::ops::Deref for DrawMeshTasksIndirectCommandNVBuilder<'a> {
31130 fn deref(&self) -> &Self::Target { in deref()
31134 impl<'a> ::std::ops::DerefMut for DrawMeshTasksIndirectCommandNVBuilder<'a> {
31135 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
31140 pub fn task_count(mut self, task_count: u32) -> Self { in task_count()
31144 pub fn first_task(mut self, first_task: u32) -> Self { in first_task()
31148 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
31151 pub fn build(self) -> DrawMeshTasksIndirectCommandNV { in build() method
31157 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkRayTracingShaderG…
31167 impl ::std::default::Default for RayTracingShaderGroupCreateInfoNV {
31168 fn default() -> RayTracingShaderGroupCreateInfoNV { in default()
31171 p_next: ::std::ptr::null(), in default()
31181 pub fn builder<'a>() -> RayTracingShaderGroupCreateInfoNVBuilder<'a> { in builder()
31184 marker: ::std::marker::PhantomData, in builder()
31191 marker: ::std::marker::PhantomData<&'a ()>,
31193 impl<'a> ::std::ops::Deref for RayTracingShaderGroupCreateInfoNVBuilder<'a> {
31195 fn deref(&self) -> &Self::Target { in deref()
31199 impl<'a> ::std::ops::DerefMut for RayTracingShaderGroupCreateInfoNVBuilder<'a> {
31200 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
31205 pub fn ty(mut self, ty: RayTracingShaderGroupTypeKHR) -> Self { in ty()
31209 pub fn general_shader(mut self, general_shader: u32) -> Self { in general_shader()
31213 pub fn closest_hit_shader(mut self, closest_hit_shader: u32) -> Self { in closest_hit_shader()
31217 pub fn any_hit_shader(mut self, any_hit_shader: u32) -> Self { in any_hit_shader()
31221 pub fn intersection_shader(mut self, intersection_shader: u32) -> Self { in intersection_shader()
31225 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
31228 pub fn build(self) -> RayTracingShaderGroupCreateInfoNV { in build() method
31234 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkRayTracingShaderG…
31245 impl ::std::default::Default for RayTracingShaderGroupCreateInfoKHR {
31246 fn default() -> RayTracingShaderGroupCreateInfoKHR { in default()
31249 p_next: ::std::ptr::null(), in default()
31255 p_shader_group_capture_replay_handle: ::std::ptr::null(), in default()
31260 pub fn builder<'a>() -> RayTracingShaderGroupCreateInfoKHRBuilder<'a> { in builder()
31263 marker: ::std::marker::PhantomData, in builder()
31270 marker: ::std::marker::PhantomData<&'a ()>,
31272 impl<'a> ::std::ops::Deref for RayTracingShaderGroupCreateInfoKHRBuilder<'a> {
31274 fn deref(&self) -> &Self::Target { in deref()
31278 impl<'a> ::std::ops::DerefMut for RayTracingShaderGroupCreateInfoKHRBuilder<'a> {
31279 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
31284 pub fn ty(mut self, ty: RayTracingShaderGroupTypeKHR) -> Self { in ty()
31288 pub fn general_shader(mut self, general_shader: u32) -> Self { in general_shader()
31292 pub fn closest_hit_shader(mut self, closest_hit_shader: u32) -> Self { in closest_hit_shader()
31296 pub fn any_hit_shader(mut self, any_hit_shader: u32) -> Self { in any_hit_shader()
31300 pub fn intersection_shader(mut self, intersection_shader: u32) -> Self { in intersection_shader()
31307 ) -> Self { in shader_group_capture_replay_handle()
31311 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
31314 pub fn build(self) -> RayTracingShaderGroupCreateInfoKHR { in build() method
31320 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkRayTracingPipelin…
31334 impl ::std::default::Default for RayTracingPipelineCreateInfoNV {
31335 fn default() -> RayTracingPipelineCreateInfoNV { in default()
31338 p_next: ::std::ptr::null(), in default()
31341 p_stages: ::std::ptr::null(), in default()
31343 p_groups: ::std::ptr::null(), in default()
31352 pub fn builder<'a>() -> RayTracingPipelineCreateInfoNVBuilder<'a> { in builder()
31355 marker: ::std::marker::PhantomData, in builder()
31362 marker: ::std::marker::PhantomData<&'a ()>,
31365 impl<'a> ::std::ops::Deref for RayTracingPipelineCreateInfoNVBuilder<'a> {
31367 fn deref(&self) -> &Self::Target { in deref()
31371 impl<'a> ::std::ops::DerefMut for RayTracingPipelineCreateInfoNVBuilder<'a> {
31372 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
31377 pub fn flags(mut self, flags: PipelineCreateFlags) -> Self { in flags()
31381 pub fn stages(mut self, stages: &'a [PipelineShaderStageCreateInfo]) -> Self { in stages()
31386 pub fn groups(mut self, groups: &'a [RayTracingShaderGroupCreateInfoNV]) -> Self { in groups()
31391 pub fn max_recursion_depth(mut self, max_recursion_depth: u32) -> Self { in max_recursion_depth()
31395 pub fn layout(mut self, layout: PipelineLayout) -> Self { in layout()
31399 pub fn base_pipeline_handle(mut self, base_pipeline_handle: Pipeline) -> Self { in base_pipeline_handle()
31403 pub fn base_pipeline_index(mut self, base_pipeline_index: i32) -> Self { in base_pipeline_index()
31410 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
31411 #[doc = r" chain will look like `A -> D -> B -> C`."]
31412 pub fn push_next<T: ExtendsRayTracingPipelineCreateInfoNV>(mut self, next: &'a mut T) -> Self { in push_next()
31421 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
31424 pub fn build(self) -> RayTracingPipelineCreateInfoNV { in build() method
31430 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkRayTracingPipelin…
31447 impl ::std::default::Default for RayTracingPipelineCreateInfoKHR {
31448 fn default() -> RayTracingPipelineCreateInfoKHR { in default()
31451 p_next: ::std::ptr::null(), in default()
31454 p_stages: ::std::ptr::null(), in default()
31456 p_groups: ::std::ptr::null(), in default()
31458 p_library_info: ::std::ptr::null(), in default()
31459 p_library_interface: ::std::ptr::null(), in default()
31460 p_dynamic_state: ::std::ptr::null(), in default()
31468 pub fn builder<'a>() -> RayTracingPipelineCreateInfoKHRBuilder<'a> { in builder()
31471 marker: ::std::marker::PhantomData, in builder()
31478 marker: ::std::marker::PhantomData<&'a ()>,
31481 impl<'a> ::std::ops::Deref for RayTracingPipelineCreateInfoKHRBuilder<'a> {
31483 fn deref(&self) -> &Self::Target { in deref()
31487 impl<'a> ::std::ops::DerefMut for RayTracingPipelineCreateInfoKHRBuilder<'a> {
31488 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
31493 pub fn flags(mut self, flags: PipelineCreateFlags) -> Self { in flags()
31497 pub fn stages(mut self, stages: &'a [PipelineShaderStageCreateInfo]) -> Self { in stages()
31502 pub fn groups(mut self, groups: &'a [RayTracingShaderGroupCreateInfoKHR]) -> Self { in groups()
31510 ) -> Self { in max_pipeline_ray_recursion_depth()
31514 pub fn library_info(mut self, library_info: &'a PipelineLibraryCreateInfoKHR) -> Self { in library_info()
31521 ) -> Self { in library_interface()
31525 pub fn dynamic_state(mut self, dynamic_state: &'a PipelineDynamicStateCreateInfo) -> Self { in dynamic_state()
31529 pub fn layout(mut self, layout: PipelineLayout) -> Self { in layout()
31533 pub fn base_pipeline_handle(mut self, base_pipeline_handle: Pipeline) -> Self { in base_pipeline_handle()
31537 pub fn base_pipeline_index(mut self, base_pipeline_index: i32) -> Self { in base_pipeline_index()
31544 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
31545 #[doc = r" chain will look like `A -> D -> B -> C`."]
31546 pub fn push_next<T: ExtendsRayTracingPipelineCreateInfoKHR>(mut self, next: &'a mut T) -> Self { in push_next()
31555 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
31558 pub fn build(self) -> RayTracingPipelineCreateInfoKHR { in build() method
31564 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkGeometryTriangles…
31580 impl ::std::default::Default for GeometryTrianglesNV {
31581 fn default() -> GeometryTrianglesNV { in default()
31584 p_next: ::std::ptr::null(), in default()
31600 pub fn builder<'a>() -> GeometryTrianglesNVBuilder<'a> { in builder()
31603 marker: ::std::marker::PhantomData, in builder()
31610 marker: ::std::marker::PhantomData<&'a ()>,
31612 impl<'a> ::std::ops::Deref for GeometryTrianglesNVBuilder<'a> {
31614 fn deref(&self) -> &Self::Target { in deref()
31618 impl<'a> ::std::ops::DerefMut for GeometryTrianglesNVBuilder<'a> {
31619 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
31624 pub fn vertex_data(mut self, vertex_data: Buffer) -> Self { in vertex_data()
31628 pub fn vertex_offset(mut self, vertex_offset: DeviceSize) -> Self { in vertex_offset()
31632 pub fn vertex_count(mut self, vertex_count: u32) -> Self { in vertex_count()
31636 pub fn vertex_stride(mut self, vertex_stride: DeviceSize) -> Self { in vertex_stride()
31640 pub fn vertex_format(mut self, vertex_format: Format) -> Self { in vertex_format()
31644 pub fn index_data(mut self, index_data: Buffer) -> Self { in index_data()
31648 pub fn index_offset(mut self, index_offset: DeviceSize) -> Self { in index_offset()
31652 pub fn index_count(mut self, index_count: u32) -> Self { in index_count()
31656 pub fn index_type(mut self, index_type: IndexType) -> Self { in index_type()
31660 pub fn transform_data(mut self, transform_data: Buffer) -> Self { in transform_data()
31664 pub fn transform_offset(mut self, transform_offset: DeviceSize) -> Self { in transform_offset()
31668 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
31671 pub fn build(self) -> GeometryTrianglesNV { in build() method
31677 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkGeometryAABBNV.ht…
31686 impl ::std::default::Default for GeometryAABBNV {
31687 fn default() -> GeometryAABBNV { in default()
31690 p_next: ::std::ptr::null(), in default()
31699 pub fn builder<'a>() -> GeometryAABBNVBuilder<'a> { in builder()
31702 marker: ::std::marker::PhantomData, in builder()
31709 marker: ::std::marker::PhantomData<&'a ()>,
31711 impl<'a> ::std::ops::Deref for GeometryAABBNVBuilder<'a> {
31713 fn deref(&self) -> &Self::Target { in deref()
31717 impl<'a> ::std::ops::DerefMut for GeometryAABBNVBuilder<'a> {
31718 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
31723 pub fn aabb_data(mut self, aabb_data: Buffer) -> Self { in aabb_data()
31727 pub fn num_aab_bs(mut self, num_aab_bs: u32) -> Self { in num_aab_bs()
31731 pub fn stride(mut self, stride: u32) -> Self { in stride()
31735 pub fn offset(mut self, offset: DeviceSize) -> Self { in offset()
31739 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
31742 pub fn build(self) -> GeometryAABBNV { in build() method
31748 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkGeometryDataNV.ht…
31754 pub fn builder<'a>() -> GeometryDataNVBuilder<'a> { in builder()
31757 marker: ::std::marker::PhantomData, in builder()
31764 marker: ::std::marker::PhantomData<&'a ()>,
31766 impl<'a> ::std::ops::Deref for GeometryDataNVBuilder<'a> {
31768 fn deref(&self) -> &Self::Target { in deref()
31772 impl<'a> ::std::ops::DerefMut for GeometryDataNVBuilder<'a> {
31773 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
31778 pub fn triangles(mut self, triangles: GeometryTrianglesNV) -> Self { in triangles()
31782 pub fn aabbs(mut self, aabbs: GeometryAABBNV) -> Self { in aabbs()
31786 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
31789 pub fn build(self) -> GeometryDataNV { in build() method
31795 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkGeometryNV.html>"]
31803 impl ::std::default::Default for GeometryNV {
31804 fn default() -> GeometryNV { in default()
31807 p_next: ::std::ptr::null(), in default()
31815 pub fn builder<'a>() -> GeometryNVBuilder<'a> { in builder()
31818 marker: ::std::marker::PhantomData, in builder()
31825 marker: ::std::marker::PhantomData<&'a ()>,
31827 impl<'a> ::std::ops::Deref for GeometryNVBuilder<'a> {
31829 fn deref(&self) -> &Self::Target { in deref()
31833 impl<'a> ::std::ops::DerefMut for GeometryNVBuilder<'a> {
31834 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
31839 pub fn geometry_type(mut self, geometry_type: GeometryTypeKHR) -> Self { in geometry_type()
31843 pub fn geometry(mut self, geometry: GeometryDataNV) -> Self { in geometry()
31847 pub fn flags(mut self, flags: GeometryFlagsKHR) -> Self { in flags()
31851 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
31854 pub fn build(self) -> GeometryNV { in build() method
31860 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAccelerationStruc…
31870 impl ::std::default::Default for AccelerationStructureInfoNV {
31871 fn default() -> AccelerationStructureInfoNV { in default()
31874 p_next: ::std::ptr::null(), in default()
31879 p_geometries: ::std::ptr::null(), in default()
31884 pub fn builder<'a>() -> AccelerationStructureInfoNVBuilder<'a> { in builder()
31887 marker: ::std::marker::PhantomData, in builder()
31894 marker: ::std::marker::PhantomData<&'a ()>,
31896 impl<'a> ::std::ops::Deref for AccelerationStructureInfoNVBuilder<'a> {
31898 fn deref(&self) -> &Self::Target { in deref()
31902 impl<'a> ::std::ops::DerefMut for AccelerationStructureInfoNVBuilder<'a> {
31903 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
31908 pub fn ty(mut self, ty: AccelerationStructureTypeNV) -> Self { in ty()
31912 pub fn flags(mut self, flags: BuildAccelerationStructureFlagsNV) -> Self { in flags()
31916 pub fn instance_count(mut self, instance_count: u32) -> Self { in instance_count()
31920 pub fn geometries(mut self, geometries: &'a [GeometryNV]) -> Self { in geometries()
31925 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
31928 pub fn build(self) -> AccelerationStructureInfoNV { in build() method
31934 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAccelerationStruc…
31941 impl ::std::default::Default for AccelerationStructureCreateInfoNV {
31942 fn default() -> AccelerationStructureCreateInfoNV { in default()
31945 p_next: ::std::ptr::null(), in default()
31952 pub fn builder<'a>() -> AccelerationStructureCreateInfoNVBuilder<'a> { in builder()
31955 marker: ::std::marker::PhantomData, in builder()
31962 marker: ::std::marker::PhantomData<&'a ()>,
31964 impl<'a> ::std::ops::Deref for AccelerationStructureCreateInfoNVBuilder<'a> {
31966 fn deref(&self) -> &Self::Target { in deref()
31970 impl<'a> ::std::ops::DerefMut for AccelerationStructureCreateInfoNVBuilder<'a> {
31971 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
31976 pub fn compacted_size(mut self, compacted_size: DeviceSize) -> Self { in compacted_size()
31980 pub fn info(mut self, info: AccelerationStructureInfoNV) -> Self { in info()
31984 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
31987 pub fn build(self) -> AccelerationStructureCreateInfoNV { in build() method
31993 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBindAccelerationS…
32003 impl ::std::default::Default for BindAccelerationStructureMemoryInfoNV {
32004 fn default() -> BindAccelerationStructureMemoryInfoNV { in default()
32007 p_next: ::std::ptr::null(), in default()
32012 p_device_indices: ::std::ptr::null(), in default()
32017 pub fn builder<'a>() -> BindAccelerationStructureMemoryInfoNVBuilder<'a> { in builder()
32020 marker: ::std::marker::PhantomData, in builder()
32027 marker: ::std::marker::PhantomData<&'a ()>,
32029 impl<'a> ::std::ops::Deref for BindAccelerationStructureMemoryInfoNVBuilder<'a> {
32031 fn deref(&self) -> &Self::Target { in deref()
32035 impl<'a> ::std::ops::DerefMut for BindAccelerationStructureMemoryInfoNVBuilder<'a> {
32036 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
32044 ) -> Self { in acceleration_structure()
32048 pub fn memory(mut self, memory: DeviceMemory) -> Self { in memory()
32052 pub fn memory_offset(mut self, memory_offset: DeviceSize) -> Self { in memory_offset()
32056 pub fn device_indices(mut self, device_indices: &'a [u32]) -> Self { in device_indices()
32061 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
32064 pub fn build(self) -> BindAccelerationStructureMemoryInfoNV { in build() method
32070 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkWriteDescriptorSe…
32077 impl ::std::default::Default for WriteDescriptorSetAccelerationStructureKHR {
32078 fn default() -> WriteDescriptorSetAccelerationStructureKHR { in default()
32081 p_next: ::std::ptr::null(), in default()
32083 p_acceleration_structures: ::std::ptr::null(), in default()
32088 pub fn builder<'a>() -> WriteDescriptorSetAccelerationStructureKHRBuilder<'a> { in builder()
32091 marker: ::std::marker::PhantomData, in builder()
32098 marker: ::std::marker::PhantomData<&'a ()>,
32102 impl<'a> ::std::ops::Deref for WriteDescriptorSetAccelerationStructureKHRBuilder<'a> {
32104 fn deref(&self) -> &Self::Target { in deref()
32108 impl<'a> ::std::ops::DerefMut for WriteDescriptorSetAccelerationStructureKHRBuilder<'a> {
32109 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
32117 ) -> Self { in acceleration_structures()
32122 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
32125 pub fn build(self) -> WriteDescriptorSetAccelerationStructureKHR { in build() method
32131 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkWriteDescriptorSe…
32138 impl ::std::default::Default for WriteDescriptorSetAccelerationStructureNV {
32139 fn default() -> WriteDescriptorSetAccelerationStructureNV { in default()
32142 p_next: ::std::ptr::null(), in default()
32144 p_acceleration_structures: ::std::ptr::null(), in default()
32149 pub fn builder<'a>() -> WriteDescriptorSetAccelerationStructureNVBuilder<'a> { in builder()
32152 marker: ::std::marker::PhantomData, in builder()
32159 marker: ::std::marker::PhantomData<&'a ()>,
32163 impl<'a> ::std::ops::Deref for WriteDescriptorSetAccelerationStructureNVBuilder<'a> {
32165 fn deref(&self) -> &Self::Target { in deref()
32169 impl<'a> ::std::ops::DerefMut for WriteDescriptorSetAccelerationStructureNVBuilder<'a> {
32170 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
32178 ) -> Self { in acceleration_structures()
32183 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
32186 pub fn build(self) -> WriteDescriptorSetAccelerationStructureNV { in build() method
32192 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAccelerationStruc…
32199 impl ::std::default::Default for AccelerationStructureMemoryRequirementsInfoNV {
32200 fn default() -> AccelerationStructureMemoryRequirementsInfoNV { in default()
32203 p_next: ::std::ptr::null(), in default()
32210 pub fn builder<'a>() -> AccelerationStructureMemoryRequirementsInfoNVBuilder<'a> { in builder()
32213 marker: ::std::marker::PhantomData, in builder()
32220 marker: ::std::marker::PhantomData<&'a ()>,
32222 impl<'a> ::std::ops::Deref for AccelerationStructureMemoryRequirementsInfoNVBuilder<'a> {
32224 fn deref(&self) -> &Self::Target { in deref()
32228 impl<'a> ::std::ops::DerefMut for AccelerationStructureMemoryRequirementsInfoNVBuilder<'a> {
32229 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
32234 pub fn ty(mut self, ty: AccelerationStructureMemoryRequirementsTypeNV) -> Self { in ty()
32241 ) -> Self { in acceleration_structure()
32245 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
32248 pub fn build(self) -> AccelerationStructureMemoryRequirementsInfoNV { in build() method
32254 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceAcc…
32264 impl ::std::default::Default for PhysicalDeviceAccelerationStructureFeaturesKHR {
32265 fn default() -> PhysicalDeviceAccelerationStructureFeaturesKHR { in default()
32268 p_next: ::std::ptr::null_mut(), in default()
32278 pub fn builder<'a>() -> PhysicalDeviceAccelerationStructureFeaturesKHRBuilder<'a> { in builder()
32281 marker: ::std::marker::PhantomData, in builder()
32288 marker: ::std::marker::PhantomData<&'a ()>,
32297 impl<'a> ::std::ops::Deref for PhysicalDeviceAccelerationStructureFeaturesKHRBuilder<'a> {
32299 fn deref(&self) -> &Self::Target { in deref()
32303 impl<'a> ::std::ops::DerefMut for PhysicalDeviceAccelerationStructureFeaturesKHRBuilder<'a> {
32304 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
32309 pub fn acceleration_structure(mut self, acceleration_structure: bool) -> Self { in acceleration_structure()
32316 ) -> Self { in acceleration_structure_capture_replay()
32324 ) -> Self { in acceleration_structure_indirect_build()
32332 ) -> Self { in acceleration_structure_host_commands()
32340 ) -> Self { in descriptor_binding_acceleration_structure_update_after_bind()
32346 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
32349 pub fn build(self) -> PhysicalDeviceAccelerationStructureFeaturesKHR { in build() method
32355 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceRay…
32365 impl ::std::default::Default for PhysicalDeviceRayTracingPipelineFeaturesKHR {
32366 fn default() -> PhysicalDeviceRayTracingPipelineFeaturesKHR { in default()
32369 p_next: ::std::ptr::null_mut(), in default()
32379 pub fn builder<'a>() -> PhysicalDeviceRayTracingPipelineFeaturesKHRBuilder<'a> { in builder()
32382 marker: ::std::marker::PhantomData, in builder()
32389 marker: ::std::marker::PhantomData<&'a ()>,
32398 impl<'a> ::std::ops::Deref for PhysicalDeviceRayTracingPipelineFeaturesKHRBuilder<'a> {
32400 fn deref(&self) -> &Self::Target { in deref()
32404 impl<'a> ::std::ops::DerefMut for PhysicalDeviceRayTracingPipelineFeaturesKHRBuilder<'a> {
32405 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
32410 pub fn ray_tracing_pipeline(mut self, ray_tracing_pipeline: bool) -> Self { in ray_tracing_pipeline()
32417 ) -> Self { in ray_tracing_pipeline_shader_group_handle_capture_replay()
32426 ) -> Self { in ray_tracing_pipeline_shader_group_handle_capture_replay_mixed()
32435 ) -> Self { in ray_tracing_pipeline_trace_rays_indirect()
32443 ) -> Self { in ray_traversal_primitive_culling()
32447 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
32450 pub fn build(self) -> PhysicalDeviceRayTracingPipelineFeaturesKHR { in build() method
32456 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceRay…
32462 impl ::std::default::Default for PhysicalDeviceRayQueryFeaturesKHR {
32463 fn default() -> PhysicalDeviceRayQueryFeaturesKHR { in default()
32466 p_next: ::std::ptr::null_mut(), in default()
32472 pub fn builder<'a>() -> PhysicalDeviceRayQueryFeaturesKHRBuilder<'a> { in builder()
32475 marker: ::std::marker::PhantomData, in builder()
32482 marker: ::std::marker::PhantomData<&'a ()>,
32488 impl<'a> ::std::ops::Deref for PhysicalDeviceRayQueryFeaturesKHRBuilder<'a> {
32490 fn deref(&self) -> &Self::Target { in deref()
32494 impl<'a> ::std::ops::DerefMut for PhysicalDeviceRayQueryFeaturesKHRBuilder<'a> {
32495 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
32500 pub fn ray_query(mut self, ray_query: bool) -> Self { in ray_query()
32504 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
32507 pub fn build(self) -> PhysicalDeviceRayQueryFeaturesKHR { in build() method
32513 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceAcc…
32526 impl ::std::default::Default for PhysicalDeviceAccelerationStructurePropertiesKHR {
32527 fn default() -> PhysicalDeviceAccelerationStructurePropertiesKHR { in default()
32530 p_next: ::std::ptr::null_mut(), in default()
32543 pub fn builder<'a>() -> PhysicalDeviceAccelerationStructurePropertiesKHRBuilder<'a> { in builder()
32546 marker: ::std::marker::PhantomData, in builder()
32553 marker: ::std::marker::PhantomData<&'a ()>,
32560 impl<'a> ::std::ops::Deref for PhysicalDeviceAccelerationStructurePropertiesKHRBuilder<'a> {
32562 fn deref(&self) -> &Self::Target { in deref()
32566 impl<'a> ::std::ops::DerefMut for PhysicalDeviceAccelerationStructurePropertiesKHRBuilder<'a> {
32567 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
32572 pub fn max_geometry_count(mut self, max_geometry_count: u64) -> Self { in max_geometry_count()
32576 pub fn max_instance_count(mut self, max_instance_count: u64) -> Self { in max_instance_count()
32580 pub fn max_primitive_count(mut self, max_primitive_count: u64) -> Self { in max_primitive_count()
32587 ) -> Self { in max_per_stage_descriptor_acceleration_structures()
32595 ) -> Self { in max_per_stage_descriptor_update_after_bind_acceleration_structures()
32604 ) -> Self { in max_descriptor_set_acceleration_structures()
32612 ) -> Self { in max_descriptor_set_update_after_bind_acceleration_structures()
32621 ) -> Self { in min_acceleration_structure_scratch_offset_alignment()
32627 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
32630 pub fn build(self) -> PhysicalDeviceAccelerationStructurePropertiesKHR { in build() method
32636 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceRay…
32649 impl ::std::default::Default for PhysicalDeviceRayTracingPipelinePropertiesKHR {
32650 fn default() -> PhysicalDeviceRayTracingPipelinePropertiesKHR { in default()
32653 p_next: ::std::ptr::null_mut(), in default()
32666 pub fn builder<'a>() -> PhysicalDeviceRayTracingPipelinePropertiesKHRBuilder<'a> { in builder()
32669 marker: ::std::marker::PhantomData, in builder()
32676 marker: ::std::marker::PhantomData<&'a ()>,
32683 impl<'a> ::std::ops::Deref for PhysicalDeviceRayTracingPipelinePropertiesKHRBuilder<'a> {
32685 fn deref(&self) -> &Self::Target { in deref()
32689 impl<'a> ::std::ops::DerefMut for PhysicalDeviceRayTracingPipelinePropertiesKHRBuilder<'a> {
32690 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
32695 pub fn shader_group_handle_size(mut self, shader_group_handle_size: u32) -> Self { in shader_group_handle_size()
32699 pub fn max_ray_recursion_depth(mut self, max_ray_recursion_depth: u32) -> Self { in max_ray_recursion_depth()
32703 pub fn max_shader_group_stride(mut self, max_shader_group_stride: u32) -> Self { in max_shader_group_stride()
32707 pub fn shader_group_base_alignment(mut self, shader_group_base_alignment: u32) -> Self { in shader_group_base_alignment()
32714 ) -> Self { in shader_group_handle_capture_replay_size()
32722 ) -> Self { in max_ray_dispatch_invocation_count()
32726 pub fn shader_group_handle_alignment(mut self, shader_group_handle_alignment: u32) -> Self { in shader_group_handle_alignment()
32730 pub fn max_ray_hit_attribute_size(mut self, max_ray_hit_attribute_size: u32) -> Self { in max_ray_hit_attribute_size()
32734 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
32737 pub fn build(self) -> PhysicalDeviceRayTracingPipelinePropertiesKHR { in build() method
32743 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceRay…
32756 impl ::std::default::Default for PhysicalDeviceRayTracingPropertiesNV {
32757 fn default() -> PhysicalDeviceRayTracingPropertiesNV { in default()
32760 p_next: ::std::ptr::null_mut(), in default()
32773 pub fn builder<'a>() -> PhysicalDeviceRayTracingPropertiesNVBuilder<'a> { in builder()
32776 marker: ::std::marker::PhantomData, in builder()
32783 marker: ::std::marker::PhantomData<&'a ()>,
32787 impl<'a> ::std::ops::Deref for PhysicalDeviceRayTracingPropertiesNVBuilder<'a> {
32789 fn deref(&self) -> &Self::Target { in deref()
32793 impl<'a> ::std::ops::DerefMut for PhysicalDeviceRayTracingPropertiesNVBuilder<'a> {
32794 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
32799 pub fn shader_group_handle_size(mut self, shader_group_handle_size: u32) -> Self { in shader_group_handle_size()
32803 pub fn max_recursion_depth(mut self, max_recursion_depth: u32) -> Self { in max_recursion_depth()
32807 pub fn max_shader_group_stride(mut self, max_shader_group_stride: u32) -> Self { in max_shader_group_stride()
32811 pub fn shader_group_base_alignment(mut self, shader_group_base_alignment: u32) -> Self { in shader_group_base_alignment()
32815 pub fn max_geometry_count(mut self, max_geometry_count: u64) -> Self { in max_geometry_count()
32819 pub fn max_instance_count(mut self, max_instance_count: u64) -> Self { in max_instance_count()
32823 pub fn max_triangle_count(mut self, max_triangle_count: u64) -> Self { in max_triangle_count()
32830 ) -> Self { in max_descriptor_set_acceleration_structures()
32835 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
32838 pub fn build(self) -> PhysicalDeviceRayTracingPropertiesNV { in build() method
32844 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkStridedDeviceAddr…
32851 pub fn builder<'a>() -> StridedDeviceAddressRegionKHRBuilder<'a> { in builder()
32854 marker: ::std::marker::PhantomData, in builder()
32861 marker: ::std::marker::PhantomData<&'a ()>,
32863 impl<'a> ::std::ops::Deref for StridedDeviceAddressRegionKHRBuilder<'a> {
32865 fn deref(&self) -> &Self::Target { in deref()
32869 impl<'a> ::std::ops::DerefMut for StridedDeviceAddressRegionKHRBuilder<'a> {
32870 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
32875 pub fn device_address(mut self, device_address: DeviceAddress) -> Self { in device_address()
32879 pub fn stride(mut self, stride: DeviceSize) -> Self { in stride()
32883 pub fn size(mut self, size: DeviceSize) -> Self { in size()
32887 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
32890 pub fn build(self) -> StridedDeviceAddressRegionKHR { in build() method
32896 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkTraceRaysIndirect…
32903 pub fn builder<'a>() -> TraceRaysIndirectCommandKHRBuilder<'a> { in builder()
32906 marker: ::std::marker::PhantomData, in builder()
32913 marker: ::std::marker::PhantomData<&'a ()>,
32915 impl<'a> ::std::ops::Deref for TraceRaysIndirectCommandKHRBuilder<'a> {
32917 fn deref(&self) -> &Self::Target { in deref()
32921 impl<'a> ::std::ops::DerefMut for TraceRaysIndirectCommandKHRBuilder<'a> {
32922 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
32927 pub fn width(mut self, width: u32) -> Self { in width()
32931 pub fn height(mut self, height: u32) -> Self { in height()
32935 pub fn depth(mut self, depth: u32) -> Self { in depth()
32939 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
32942 pub fn build(self) -> TraceRaysIndirectCommandKHR { in build() method
32948 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDrmFormatModifier…
32955 impl ::std::default::Default for DrmFormatModifierPropertiesListEXT {
32956 fn default() -> DrmFormatModifierPropertiesListEXT { in default()
32959 p_next: ::std::ptr::null_mut(), in default()
32961 p_drm_format_modifier_properties: ::std::ptr::null_mut(), in default()
32966 pub fn builder<'a>() -> DrmFormatModifierPropertiesListEXTBuilder<'a> { in builder()
32969 marker: ::std::marker::PhantomData, in builder()
32976 marker: ::std::marker::PhantomData<&'a ()>,
32980 impl<'a> ::std::ops::Deref for DrmFormatModifierPropertiesListEXTBuilder<'a> {
32982 fn deref(&self) -> &Self::Target { in deref()
32986 impl<'a> ::std::ops::DerefMut for DrmFormatModifierPropertiesListEXTBuilder<'a> {
32987 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
32995 ) -> Self { in drm_format_modifier_properties()
33000 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
33003 pub fn build(self) -> DrmFormatModifierPropertiesListEXT { in build() method
33009 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDrmFormatModifier…
33016 pub fn builder<'a>() -> DrmFormatModifierPropertiesEXTBuilder<'a> { in builder()
33019 marker: ::std::marker::PhantomData, in builder()
33026 marker: ::std::marker::PhantomData<&'a ()>,
33028 impl<'a> ::std::ops::Deref for DrmFormatModifierPropertiesEXTBuilder<'a> {
33030 fn deref(&self) -> &Self::Target { in deref()
33034 impl<'a> ::std::ops::DerefMut for DrmFormatModifierPropertiesEXTBuilder<'a> {
33035 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
33040 pub fn drm_format_modifier(mut self, drm_format_modifier: u64) -> Self { in drm_format_modifier()
33044 pub fn drm_format_modifier_plane_count(mut self, drm_format_modifier_plane_count: u32) -> Self { in drm_format_modifier_plane_count()
33051 ) -> Self { in drm_format_modifier_tiling_features()
33055 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
33058 pub fn build(self) -> DrmFormatModifierPropertiesEXT { in build() method
33064 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceIma…
33073 impl ::std::default::Default for PhysicalDeviceImageDrmFormatModifierInfoEXT {
33074 fn default() -> PhysicalDeviceImageDrmFormatModifierInfoEXT { in default()
33077 p_next: ::std::ptr::null(), in default()
33081 p_queue_family_indices: ::std::ptr::null(), in default()
33086 pub fn builder<'a>() -> PhysicalDeviceImageDrmFormatModifierInfoEXTBuilder<'a> { in builder()
33089 marker: ::std::marker::PhantomData, in builder()
33096 marker: ::std::marker::PhantomData<&'a ()>,
33103 impl<'a> ::std::ops::Deref for PhysicalDeviceImageDrmFormatModifierInfoEXTBuilder<'a> {
33105 fn deref(&self) -> &Self::Target { in deref()
33109 impl<'a> ::std::ops::DerefMut for PhysicalDeviceImageDrmFormatModifierInfoEXTBuilder<'a> {
33110 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
33115 pub fn drm_format_modifier(mut self, drm_format_modifier: u64) -> Self { in drm_format_modifier()
33119 pub fn sharing_mode(mut self, sharing_mode: SharingMode) -> Self { in sharing_mode()
33123 pub fn queue_family_indices(mut self, queue_family_indices: &'a [u32]) -> Self { in queue_family_indices()
33128 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
33131 pub fn build(self) -> PhysicalDeviceImageDrmFormatModifierInfoEXT { in build() method
33137 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageDrmFormatMod…
33144 impl ::std::default::Default for ImageDrmFormatModifierListCreateInfoEXT {
33145 fn default() -> ImageDrmFormatModifierListCreateInfoEXT { in default()
33148 p_next: ::std::ptr::null(), in default()
33150 p_drm_format_modifiers: ::std::ptr::null(), in default()
33155 pub fn builder<'a>() -> ImageDrmFormatModifierListCreateInfoEXTBuilder<'a> { in builder()
33158 marker: ::std::marker::PhantomData, in builder()
33165 marker: ::std::marker::PhantomData<&'a ()>,
33169 impl<'a> ::std::ops::Deref for ImageDrmFormatModifierListCreateInfoEXTBuilder<'a> {
33171 fn deref(&self) -> &Self::Target { in deref()
33175 impl<'a> ::std::ops::DerefMut for ImageDrmFormatModifierListCreateInfoEXTBuilder<'a> {
33176 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
33181 pub fn drm_format_modifiers(mut self, drm_format_modifiers: &'a [u64]) -> Self { in drm_format_modifiers()
33186 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
33189 pub fn build(self) -> ImageDrmFormatModifierListCreateInfoEXT { in build() method
33195 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageDrmFormatMod…
33203 impl ::std::default::Default for ImageDrmFormatModifierExplicitCreateInfoEXT {
33204 fn default() -> ImageDrmFormatModifierExplicitCreateInfoEXT { in default()
33207 p_next: ::std::ptr::null(), in default()
33210 p_plane_layouts: ::std::ptr::null(), in default()
33215 pub fn builder<'a>() -> ImageDrmFormatModifierExplicitCreateInfoEXTBuilder<'a> { in builder()
33218 marker: ::std::marker::PhantomData, in builder()
33225 marker: ::std::marker::PhantomData<&'a ()>,
33229 impl<'a> ::std::ops::Deref for ImageDrmFormatModifierExplicitCreateInfoEXTBuilder<'a> {
33231 fn deref(&self) -> &Self::Target { in deref()
33235 impl<'a> ::std::ops::DerefMut for ImageDrmFormatModifierExplicitCreateInfoEXTBuilder<'a> {
33236 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
33241 pub fn drm_format_modifier(mut self, drm_format_modifier: u64) -> Self { in drm_format_modifier()
33245 pub fn plane_layouts(mut self, plane_layouts: &'a [SubresourceLayout]) -> Self { in plane_layouts()
33250 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
33253 pub fn build(self) -> ImageDrmFormatModifierExplicitCreateInfoEXT { in build() method
33259 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageDrmFormatMod…
33265 impl ::std::default::Default for ImageDrmFormatModifierPropertiesEXT {
33266 fn default() -> ImageDrmFormatModifierPropertiesEXT { in default()
33269 p_next: ::std::ptr::null_mut(), in default()
33275 pub fn builder<'a>() -> ImageDrmFormatModifierPropertiesEXTBuilder<'a> { in builder()
33278 marker: ::std::marker::PhantomData, in builder()
33285 marker: ::std::marker::PhantomData<&'a ()>,
33287 impl<'a> ::std::ops::Deref for ImageDrmFormatModifierPropertiesEXTBuilder<'a> {
33289 fn deref(&self) -> &Self::Target { in deref()
33293 impl<'a> ::std::ops::DerefMut for ImageDrmFormatModifierPropertiesEXTBuilder<'a> {
33294 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
33299 pub fn drm_format_modifier(mut self, drm_format_modifier: u64) -> Self { in drm_format_modifier()
33303 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
33306 pub fn build(self) -> ImageDrmFormatModifierPropertiesEXT { in build() method
33312 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageStencilUsage…
33318 impl ::std::default::Default for ImageStencilUsageCreateInfo {
33319 fn default() -> ImageStencilUsageCreateInfo { in default()
33322 p_next: ::std::ptr::null(), in default()
33328 pub fn builder<'a>() -> ImageStencilUsageCreateInfoBuilder<'a> { in builder()
33331 marker: ::std::marker::PhantomData, in builder()
33338 marker: ::std::marker::PhantomData<&'a ()>,
33344 impl<'a> ::std::ops::Deref for ImageStencilUsageCreateInfoBuilder<'a> {
33346 fn deref(&self) -> &Self::Target { in deref()
33350 impl<'a> ::std::ops::DerefMut for ImageStencilUsageCreateInfoBuilder<'a> {
33351 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
33356 pub fn stencil_usage(mut self, stencil_usage: ImageUsageFlags) -> Self { in stencil_usage()
33360 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
33363 pub fn build(self) -> ImageStencilUsageCreateInfo { in build() method
33369 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceMemoryOvera…
33375 impl ::std::default::Default for DeviceMemoryOverallocationCreateInfoAMD {
33376 fn default() -> DeviceMemoryOverallocationCreateInfoAMD { in default()
33379 p_next: ::std::ptr::null(), in default()
33385 pub fn builder<'a>() -> DeviceMemoryOverallocationCreateInfoAMDBuilder<'a> { in builder()
33388 marker: ::std::marker::PhantomData, in builder()
33395 marker: ::std::marker::PhantomData<&'a ()>,
33399 impl<'a> ::std::ops::Deref for DeviceMemoryOverallocationCreateInfoAMDBuilder<'a> {
33401 fn deref(&self) -> &Self::Target { in deref()
33405 impl<'a> ::std::ops::DerefMut for DeviceMemoryOverallocationCreateInfoAMDBuilder<'a> {
33406 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
33414 ) -> Self { in overallocation_behavior()
33418 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
33421 pub fn build(self) -> DeviceMemoryOverallocationCreateInfoAMD { in build() method
33427 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceFra…
33435 impl ::std::default::Default for PhysicalDeviceFragmentDensityMapFeaturesEXT {
33436 fn default() -> PhysicalDeviceFragmentDensityMapFeaturesEXT { in default()
33439 p_next: ::std::ptr::null_mut(), in default()
33447 pub fn builder<'a>() -> PhysicalDeviceFragmentDensityMapFeaturesEXTBuilder<'a> { in builder()
33450 marker: ::std::marker::PhantomData, in builder()
33457 marker: ::std::marker::PhantomData<&'a ()>,
33466 impl<'a> ::std::ops::Deref for PhysicalDeviceFragmentDensityMapFeaturesEXTBuilder<'a> {
33468 fn deref(&self) -> &Self::Target { in deref()
33472 impl<'a> ::std::ops::DerefMut for PhysicalDeviceFragmentDensityMapFeaturesEXTBuilder<'a> {
33473 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
33478 pub fn fragment_density_map(mut self, fragment_density_map: bool) -> Self { in fragment_density_map()
33482 pub fn fragment_density_map_dynamic(mut self, fragment_density_map_dynamic: bool) -> Self { in fragment_density_map_dynamic()
33489 ) -> Self { in fragment_density_map_non_subsampled_images()
33494 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
33497 pub fn build(self) -> PhysicalDeviceFragmentDensityMapFeaturesEXT { in build() method
33503 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceFra…
33509 impl ::std::default::Default for PhysicalDeviceFragmentDensityMap2FeaturesEXT {
33510 fn default() -> PhysicalDeviceFragmentDensityMap2FeaturesEXT { in default()
33513 p_next: ::std::ptr::null_mut(), in default()
33519 pub fn builder<'a>() -> PhysicalDeviceFragmentDensityMap2FeaturesEXTBuilder<'a> { in builder()
33522 marker: ::std::marker::PhantomData, in builder()
33529 marker: ::std::marker::PhantomData<&'a ()>,
33538 impl<'a> ::std::ops::Deref for PhysicalDeviceFragmentDensityMap2FeaturesEXTBuilder<'a> {
33540 fn deref(&self) -> &Self::Target { in deref()
33544 impl<'a> ::std::ops::DerefMut for PhysicalDeviceFragmentDensityMap2FeaturesEXTBuilder<'a> {
33545 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
33550 pub fn fragment_density_map_deferred(mut self, fragment_density_map_deferred: bool) -> Self { in fragment_density_map_deferred()
33554 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
33557 pub fn build(self) -> PhysicalDeviceFragmentDensityMap2FeaturesEXT { in build() method
33563 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceFra…
33571 impl ::std::default::Default for PhysicalDeviceFragmentDensityMapPropertiesEXT {
33572 fn default() -> PhysicalDeviceFragmentDensityMapPropertiesEXT { in default()
33575 p_next: ::std::ptr::null_mut(), in default()
33583 pub fn builder<'a>() -> PhysicalDeviceFragmentDensityMapPropertiesEXTBuilder<'a> { in builder()
33586 marker: ::std::marker::PhantomData, in builder()
33593 marker: ::std::marker::PhantomData<&'a ()>,
33600 impl<'a> ::std::ops::Deref for PhysicalDeviceFragmentDensityMapPropertiesEXTBuilder<'a> {
33602 fn deref(&self) -> &Self::Target { in deref()
33606 impl<'a> ::std::ops::DerefMut for PhysicalDeviceFragmentDensityMapPropertiesEXTBuilder<'a> {
33607 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
33615 ) -> Self { in min_fragment_density_texel_size()
33622 ) -> Self { in max_fragment_density_texel_size()
33626 pub fn fragment_density_invocations(mut self, fragment_density_invocations: bool) -> Self { in fragment_density_invocations()
33630 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
33633 pub fn build(self) -> PhysicalDeviceFragmentDensityMapPropertiesEXT { in build() method
33639 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceFra…
33648 impl ::std::default::Default for PhysicalDeviceFragmentDensityMap2PropertiesEXT {
33649 fn default() -> PhysicalDeviceFragmentDensityMap2PropertiesEXT { in default()
33652 p_next: ::std::ptr::null_mut(), in default()
33661 pub fn builder<'a>() -> PhysicalDeviceFragmentDensityMap2PropertiesEXTBuilder<'a> { in builder()
33664 marker: ::std::marker::PhantomData, in builder()
33671 marker: ::std::marker::PhantomData<&'a ()>,
33678 impl<'a> ::std::ops::Deref for PhysicalDeviceFragmentDensityMap2PropertiesEXTBuilder<'a> {
33680 fn deref(&self) -> &Self::Target { in deref()
33684 impl<'a> ::std::ops::DerefMut for PhysicalDeviceFragmentDensityMap2PropertiesEXTBuilder<'a> {
33685 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
33690 pub fn subsampled_loads(mut self, subsampled_loads: bool) -> Self { in subsampled_loads()
33697 ) -> Self { in subsampled_coarse_reconstruction_early_access()
33702 pub fn max_subsampled_array_layers(mut self, max_subsampled_array_layers: u32) -> Self { in max_subsampled_array_layers()
33709 ) -> Self { in max_descriptor_set_subsampled_samplers()
33713 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
33716 pub fn build(self) -> PhysicalDeviceFragmentDensityMap2PropertiesEXT { in build() method
33722 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkRenderPassFragmen…
33728 impl ::std::default::Default for RenderPassFragmentDensityMapCreateInfoEXT {
33729 fn default() -> RenderPassFragmentDensityMapCreateInfoEXT { in default()
33732 p_next: ::std::ptr::null(), in default()
33738 pub fn builder<'a>() -> RenderPassFragmentDensityMapCreateInfoEXTBuilder<'a> { in builder()
33741 marker: ::std::marker::PhantomData, in builder()
33748 marker: ::std::marker::PhantomData<&'a ()>,
33754 impl<'a> ::std::ops::Deref for RenderPassFragmentDensityMapCreateInfoEXTBuilder<'a> {
33756 fn deref(&self) -> &Self::Target { in deref()
33760 impl<'a> ::std::ops::DerefMut for RenderPassFragmentDensityMapCreateInfoEXTBuilder<'a> {
33761 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
33769 ) -> Self { in fragment_density_map_attachment()
33773 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
33776 pub fn build(self) -> RenderPassFragmentDensityMapCreateInfoEXT { in build() method
33782 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSca…
33788 impl ::std::default::Default for PhysicalDeviceScalarBlockLayoutFeatures {
33789 fn default() -> PhysicalDeviceScalarBlockLayoutFeatures { in default()
33792 p_next: ::std::ptr::null_mut(), in default()
33798 pub fn builder<'a>() -> PhysicalDeviceScalarBlockLayoutFeaturesBuilder<'a> { in builder()
33801 marker: ::std::marker::PhantomData, in builder()
33808 marker: ::std::marker::PhantomData<&'a ()>,
33814 impl<'a> ::std::ops::Deref for PhysicalDeviceScalarBlockLayoutFeaturesBuilder<'a> {
33816 fn deref(&self) -> &Self::Target { in deref()
33820 impl<'a> ::std::ops::DerefMut for PhysicalDeviceScalarBlockLayoutFeaturesBuilder<'a> {
33821 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
33826 pub fn scalar_block_layout(mut self, scalar_block_layout: bool) -> Self { in scalar_block_layout()
33830 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
33833 pub fn build(self) -> PhysicalDeviceScalarBlockLayoutFeatures { in build() method
33839 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSurfaceProtectedC…
33845 impl ::std::default::Default for SurfaceProtectedCapabilitiesKHR {
33846 fn default() -> SurfaceProtectedCapabilitiesKHR { in default()
33849 p_next: ::std::ptr::null(), in default()
33855 pub fn builder<'a>() -> SurfaceProtectedCapabilitiesKHRBuilder<'a> { in builder()
33858 marker: ::std::marker::PhantomData, in builder()
33865 marker: ::std::marker::PhantomData<&'a ()>,
33869 impl<'a> ::std::ops::Deref for SurfaceProtectedCapabilitiesKHRBuilder<'a> {
33871 fn deref(&self) -> &Self::Target { in deref()
33875 impl<'a> ::std::ops::DerefMut for SurfaceProtectedCapabilitiesKHRBuilder<'a> {
33876 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
33881 pub fn supports_protected(mut self, supports_protected: bool) -> Self { in supports_protected()
33885 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
33888 pub fn build(self) -> SurfaceProtectedCapabilitiesKHR { in build() method
33894 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceUni…
33900 impl ::std::default::Default for PhysicalDeviceUniformBufferStandardLayoutFeatures {
33901 fn default() -> PhysicalDeviceUniformBufferStandardLayoutFeatures { in default()
33904 p_next: ::std::ptr::null_mut(), in default()
33910 pub fn builder<'a>() -> PhysicalDeviceUniformBufferStandardLayoutFeaturesBuilder<'a> { in builder()
33913 marker: ::std::marker::PhantomData, in builder()
33920 marker: ::std::marker::PhantomData<&'a ()>,
33932 impl<'a> ::std::ops::Deref for PhysicalDeviceUniformBufferStandardLayoutFeaturesBuilder<'a> {
33934 fn deref(&self) -> &Self::Target { in deref()
33938 impl<'a> ::std::ops::DerefMut for PhysicalDeviceUniformBufferStandardLayoutFeaturesBuilder<'a> {
33939 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
33944 pub fn uniform_buffer_standard_layout(mut self, uniform_buffer_standard_layout: bool) -> Self { in uniform_buffer_standard_layout()
33948 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
33951 pub fn build(self) -> PhysicalDeviceUniformBufferStandardLayoutFeatures { in build() method
33957 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceDep…
33963 impl ::std::default::Default for PhysicalDeviceDepthClipEnableFeaturesEXT {
33964 fn default() -> PhysicalDeviceDepthClipEnableFeaturesEXT { in default()
33967 p_next: ::std::ptr::null_mut(), in default()
33973 pub fn builder<'a>() -> PhysicalDeviceDepthClipEnableFeaturesEXTBuilder<'a> { in builder()
33976 marker: ::std::marker::PhantomData, in builder()
33983 marker: ::std::marker::PhantomData<&'a ()>,
33989 impl<'a> ::std::ops::Deref for PhysicalDeviceDepthClipEnableFeaturesEXTBuilder<'a> {
33991 fn deref(&self) -> &Self::Target { in deref()
33995 impl<'a> ::std::ops::DerefMut for PhysicalDeviceDepthClipEnableFeaturesEXTBuilder<'a> {
33996 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
34001 pub fn depth_clip_enable(mut self, depth_clip_enable: bool) -> Self { in depth_clip_enable()
34005 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
34008 pub fn build(self) -> PhysicalDeviceDepthClipEnableFeaturesEXT { in build() method
34014 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineRasteriza…
34021 impl ::std::default::Default for PipelineRasterizationDepthClipStateCreateInfoEXT {
34022 fn default() -> PipelineRasterizationDepthClipStateCreateInfoEXT { in default()
34025 p_next: ::std::ptr::null(), in default()
34032 pub fn builder<'a>() -> PipelineRasterizationDepthClipStateCreateInfoEXTBuilder<'a> { in builder()
34035 marker: ::std::marker::PhantomData, in builder()
34042 marker: ::std::marker::PhantomData<&'a ()>,
34052 impl<'a> ::std::ops::Deref for PipelineRasterizationDepthClipStateCreateInfoEXTBuilder<'a> {
34054 fn deref(&self) -> &Self::Target { in deref()
34058 impl<'a> ::std::ops::DerefMut for PipelineRasterizationDepthClipStateCreateInfoEXTBuilder<'a> {
34059 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
34064 pub fn flags(mut self, flags: PipelineRasterizationDepthClipStateCreateFlagsEXT) -> Self { in flags()
34068 pub fn depth_clip_enable(mut self, depth_clip_enable: bool) -> Self { in depth_clip_enable()
34072 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
34075 pub fn build(self) -> PipelineRasterizationDepthClipStateCreateInfoEXT { in build() method
34081 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceMem…
34088 impl ::std::default::Default for PhysicalDeviceMemoryBudgetPropertiesEXT {
34089 fn default() -> PhysicalDeviceMemoryBudgetPropertiesEXT { in default()
34092 p_next: ::std::ptr::null_mut(), in default()
34093 heap_budget: unsafe { ::std::mem::zeroed() }, in default()
34094 heap_usage: unsafe { ::std::mem::zeroed() }, in default()
34099 pub fn builder<'a>() -> PhysicalDeviceMemoryBudgetPropertiesEXTBuilder<'a> { in builder()
34102 marker: ::std::marker::PhantomData, in builder()
34109 marker: ::std::marker::PhantomData<&'a ()>,
34116 impl<'a> ::std::ops::Deref for PhysicalDeviceMemoryBudgetPropertiesEXTBuilder<'a> {
34118 fn deref(&self) -> &Self::Target { in deref()
34122 impl<'a> ::std::ops::DerefMut for PhysicalDeviceMemoryBudgetPropertiesEXTBuilder<'a> {
34123 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
34128 pub fn heap_budget(mut self, heap_budget: [DeviceSize; MAX_MEMORY_HEAPS]) -> Self { in heap_budget()
34132 pub fn heap_usage(mut self, heap_usage: [DeviceSize; MAX_MEMORY_HEAPS]) -> Self { in heap_usage()
34136 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
34139 pub fn build(self) -> PhysicalDeviceMemoryBudgetPropertiesEXT { in build() method
34145 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceMem…
34151 impl ::std::default::Default for PhysicalDeviceMemoryPriorityFeaturesEXT {
34152 fn default() -> PhysicalDeviceMemoryPriorityFeaturesEXT { in default()
34155 p_next: ::std::ptr::null_mut(), in default()
34161 pub fn builder<'a>() -> PhysicalDeviceMemoryPriorityFeaturesEXTBuilder<'a> { in builder()
34164 marker: ::std::marker::PhantomData, in builder()
34171 marker: ::std::marker::PhantomData<&'a ()>,
34177 impl<'a> ::std::ops::Deref for PhysicalDeviceMemoryPriorityFeaturesEXTBuilder<'a> {
34179 fn deref(&self) -> &Self::Target { in deref()
34183 impl<'a> ::std::ops::DerefMut for PhysicalDeviceMemoryPriorityFeaturesEXTBuilder<'a> {
34184 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
34189 pub fn memory_priority(mut self, memory_priority: bool) -> Self { in memory_priority()
34193 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
34196 pub fn build(self) -> PhysicalDeviceMemoryPriorityFeaturesEXT { in build() method
34202 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMemoryPriorityAll…
34208 impl ::std::default::Default for MemoryPriorityAllocateInfoEXT {
34209 fn default() -> MemoryPriorityAllocateInfoEXT { in default()
34212 p_next: ::std::ptr::null(), in default()
34218 pub fn builder<'a>() -> MemoryPriorityAllocateInfoEXTBuilder<'a> { in builder()
34221 marker: ::std::marker::PhantomData, in builder()
34228 marker: ::std::marker::PhantomData<&'a ()>,
34232 impl<'a> ::std::ops::Deref for MemoryPriorityAllocateInfoEXTBuilder<'a> {
34234 fn deref(&self) -> &Self::Target { in deref()
34238 impl<'a> ::std::ops::DerefMut for MemoryPriorityAllocateInfoEXTBuilder<'a> {
34239 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
34244 pub fn priority(mut self, priority: f32) -> Self { in priority()
34248 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
34251 pub fn build(self) -> MemoryPriorityAllocateInfoEXT { in build() method
34257 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDevicePag…
34263 impl ::std::default::Default for PhysicalDevicePageableDeviceLocalMemoryFeaturesEXT {
34264 fn default() -> PhysicalDevicePageableDeviceLocalMemoryFeaturesEXT { in default()
34267 p_next: ::std::ptr::null_mut(), in default()
34273 pub fn builder<'a>() -> PhysicalDevicePageableDeviceLocalMemoryFeaturesEXTBuilder<'a> { in builder()
34276 marker: ::std::marker::PhantomData, in builder()
34283 marker: ::std::marker::PhantomData<&'a ()>,
34295 impl<'a> ::std::ops::Deref for PhysicalDevicePageableDeviceLocalMemoryFeaturesEXTBuilder<'a> {
34297 fn deref(&self) -> &Self::Target { in deref()
34301 impl<'a> ::std::ops::DerefMut for PhysicalDevicePageableDeviceLocalMemoryFeaturesEXTBuilder<'a> {
34302 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
34307 pub fn pageable_device_local_memory(mut self, pageable_device_local_memory: bool) -> Self { in pageable_device_local_memory()
34311 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
34314 pub fn build(self) -> PhysicalDevicePageableDeviceLocalMemoryFeaturesEXT { in build() method
34320 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceBuf…
34328 impl ::std::default::Default for PhysicalDeviceBufferDeviceAddressFeatures {
34329 fn default() -> PhysicalDeviceBufferDeviceAddressFeatures { in default()
34332 p_next: ::std::ptr::null_mut(), in default()
34340 pub fn builder<'a>() -> PhysicalDeviceBufferDeviceAddressFeaturesBuilder<'a> { in builder()
34343 marker: ::std::marker::PhantomData, in builder()
34350 marker: ::std::marker::PhantomData<&'a ()>,
34359 impl<'a> ::std::ops::Deref for PhysicalDeviceBufferDeviceAddressFeaturesBuilder<'a> {
34361 fn deref(&self) -> &Self::Target { in deref()
34365 impl<'a> ::std::ops::DerefMut for PhysicalDeviceBufferDeviceAddressFeaturesBuilder<'a> {
34366 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
34371 pub fn buffer_device_address(mut self, buffer_device_address: bool) -> Self { in buffer_device_address()
34378 ) -> Self { in buffer_device_address_capture_replay()
34386 ) -> Self { in buffer_device_address_multi_device()
34390 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
34393 pub fn build(self) -> PhysicalDeviceBufferDeviceAddressFeatures { in build() method
34399 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceBuf…
34407 impl ::std::default::Default for PhysicalDeviceBufferDeviceAddressFeaturesEXT {
34408 fn default() -> PhysicalDeviceBufferDeviceAddressFeaturesEXT { in default()
34411 p_next: ::std::ptr::null_mut(), in default()
34419 pub fn builder<'a>() -> PhysicalDeviceBufferDeviceAddressFeaturesEXTBuilder<'a> { in builder()
34422 marker: ::std::marker::PhantomData, in builder()
34429 marker: ::std::marker::PhantomData<&'a ()>,
34438 impl<'a> ::std::ops::Deref for PhysicalDeviceBufferDeviceAddressFeaturesEXTBuilder<'a> {
34440 fn deref(&self) -> &Self::Target { in deref()
34444 impl<'a> ::std::ops::DerefMut for PhysicalDeviceBufferDeviceAddressFeaturesEXTBuilder<'a> {
34445 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
34450 pub fn buffer_device_address(mut self, buffer_device_address: bool) -> Self { in buffer_device_address()
34457 ) -> Self { in buffer_device_address_capture_replay()
34465 ) -> Self { in buffer_device_address_multi_device()
34469 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
34472 pub fn build(self) -> PhysicalDeviceBufferDeviceAddressFeaturesEXT { in build() method
34478 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBufferDeviceAddre…
34484 impl ::std::default::Default for BufferDeviceAddressInfo {
34485 fn default() -> BufferDeviceAddressInfo { in default()
34488 p_next: ::std::ptr::null(), in default()
34494 pub fn builder<'a>() -> BufferDeviceAddressInfoBuilder<'a> { in builder()
34497 marker: ::std::marker::PhantomData, in builder()
34504 marker: ::std::marker::PhantomData<&'a ()>,
34506 impl<'a> ::std::ops::Deref for BufferDeviceAddressInfoBuilder<'a> {
34508 fn deref(&self) -> &Self::Target { in deref()
34512 impl<'a> ::std::ops::DerefMut for BufferDeviceAddressInfoBuilder<'a> {
34513 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
34518 pub fn buffer(mut self, buffer: Buffer) -> Self { in buffer()
34522 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
34525 pub fn build(self) -> BufferDeviceAddressInfo { in build() method
34531 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBufferOpaqueCaptu…
34537 impl ::std::default::Default for BufferOpaqueCaptureAddressCreateInfo {
34538 fn default() -> BufferOpaqueCaptureAddressCreateInfo { in default()
34541 p_next: ::std::ptr::null(), in default()
34547 pub fn builder<'a>() -> BufferOpaqueCaptureAddressCreateInfoBuilder<'a> { in builder()
34550 marker: ::std::marker::PhantomData, in builder()
34557 marker: ::std::marker::PhantomData<&'a ()>,
34561 impl<'a> ::std::ops::Deref for BufferOpaqueCaptureAddressCreateInfoBuilder<'a> {
34563 fn deref(&self) -> &Self::Target { in deref()
34567 impl<'a> ::std::ops::DerefMut for BufferOpaqueCaptureAddressCreateInfoBuilder<'a> {
34568 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
34573 pub fn opaque_capture_address(mut self, opaque_capture_address: u64) -> Self { in opaque_capture_address()
34577 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
34580 pub fn build(self) -> BufferOpaqueCaptureAddressCreateInfo { in build() method
34586 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBufferDeviceAddre…
34592 impl ::std::default::Default for BufferDeviceAddressCreateInfoEXT {
34593 fn default() -> BufferDeviceAddressCreateInfoEXT { in default()
34596 p_next: ::std::ptr::null(), in default()
34602 pub fn builder<'a>() -> BufferDeviceAddressCreateInfoEXTBuilder<'a> { in builder()
34605 marker: ::std::marker::PhantomData, in builder()
34612 marker: ::std::marker::PhantomData<&'a ()>,
34616 impl<'a> ::std::ops::Deref for BufferDeviceAddressCreateInfoEXTBuilder<'a> {
34618 fn deref(&self) -> &Self::Target { in deref()
34622 impl<'a> ::std::ops::DerefMut for BufferDeviceAddressCreateInfoEXTBuilder<'a> {
34623 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
34628 pub fn device_address(mut self, device_address: DeviceAddress) -> Self { in device_address()
34632 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
34635 pub fn build(self) -> BufferDeviceAddressCreateInfoEXT { in build() method
34641 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceIma…
34647 impl ::std::default::Default for PhysicalDeviceImageViewImageFormatInfoEXT {
34648 fn default() -> PhysicalDeviceImageViewImageFormatInfoEXT { in default()
34651 p_next: ::std::ptr::null_mut(), in default()
34657 pub fn builder<'a>() -> PhysicalDeviceImageViewImageFormatInfoEXTBuilder<'a> { in builder()
34660 marker: ::std::marker::PhantomData, in builder()
34667 marker: ::std::marker::PhantomData<&'a ()>,
34674 impl<'a> ::std::ops::Deref for PhysicalDeviceImageViewImageFormatInfoEXTBuilder<'a> {
34676 fn deref(&self) -> &Self::Target { in deref()
34680 impl<'a> ::std::ops::DerefMut for PhysicalDeviceImageViewImageFormatInfoEXTBuilder<'a> {
34681 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
34686 pub fn image_view_type(mut self, image_view_type: ImageViewType) -> Self { in image_view_type()
34690 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
34693 pub fn build(self) -> PhysicalDeviceImageViewImageFormatInfoEXT { in build() method
34699 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkFilterCubicImageV…
34706 impl ::std::default::Default for FilterCubicImageViewImageFormatPropertiesEXT {
34707 fn default() -> FilterCubicImageViewImageFormatPropertiesEXT { in default()
34710 p_next: ::std::ptr::null_mut(), in default()
34717 pub fn builder<'a>() -> FilterCubicImageViewImageFormatPropertiesEXTBuilder<'a> { in builder()
34720 marker: ::std::marker::PhantomData, in builder()
34727 marker: ::std::marker::PhantomData<&'a ()>,
34734 impl<'a> ::std::ops::Deref for FilterCubicImageViewImageFormatPropertiesEXTBuilder<'a> {
34736 fn deref(&self) -> &Self::Target { in deref()
34740 impl<'a> ::std::ops::DerefMut for FilterCubicImageViewImageFormatPropertiesEXTBuilder<'a> {
34741 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
34746 pub fn filter_cubic(mut self, filter_cubic: bool) -> Self { in filter_cubic()
34750 pub fn filter_cubic_minmax(mut self, filter_cubic_minmax: bool) -> Self { in filter_cubic_minmax()
34754 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
34757 pub fn build(self) -> FilterCubicImageViewImageFormatPropertiesEXT { in build() method
34763 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceIma…
34769 impl ::std::default::Default for PhysicalDeviceImagelessFramebufferFeatures {
34770 fn default() -> PhysicalDeviceImagelessFramebufferFeatures { in default()
34773 p_next: ::std::ptr::null_mut(), in default()
34779 pub fn builder<'a>() -> PhysicalDeviceImagelessFramebufferFeaturesBuilder<'a> { in builder()
34782 marker: ::std::marker::PhantomData, in builder()
34789 marker: ::std::marker::PhantomData<&'a ()>,
34798 impl<'a> ::std::ops::Deref for PhysicalDeviceImagelessFramebufferFeaturesBuilder<'a> {
34800 fn deref(&self) -> &Self::Target { in deref()
34804 impl<'a> ::std::ops::DerefMut for PhysicalDeviceImagelessFramebufferFeaturesBuilder<'a> {
34805 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
34810 pub fn imageless_framebuffer(mut self, imageless_framebuffer: bool) -> Self { in imageless_framebuffer()
34814 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
34817 pub fn build(self) -> PhysicalDeviceImagelessFramebufferFeatures { in build() method
34823 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkFramebufferAttach…
34830 impl ::std::default::Default for FramebufferAttachmentsCreateInfo {
34831 fn default() -> FramebufferAttachmentsCreateInfo { in default()
34834 p_next: ::std::ptr::null(), in default()
34836 p_attachment_image_infos: ::std::ptr::null(), in default()
34841 pub fn builder<'a>() -> FramebufferAttachmentsCreateInfoBuilder<'a> { in builder()
34844 marker: ::std::marker::PhantomData, in builder()
34851 marker: ::std::marker::PhantomData<&'a ()>,
34855 impl<'a> ::std::ops::Deref for FramebufferAttachmentsCreateInfoBuilder<'a> {
34857 fn deref(&self) -> &Self::Target { in deref()
34861 impl<'a> ::std::ops::DerefMut for FramebufferAttachmentsCreateInfoBuilder<'a> {
34862 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
34870 ) -> Self { in attachment_image_infos()
34875 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
34878 pub fn build(self) -> FramebufferAttachmentsCreateInfo { in build() method
34884 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkFramebufferAttach…
34896 impl ::std::default::Default for FramebufferAttachmentImageInfo {
34897 fn default() -> FramebufferAttachmentImageInfo { in default()
34900 p_next: ::std::ptr::null(), in default()
34907 p_view_formats: ::std::ptr::null(), in default()
34912 pub fn builder<'a>() -> FramebufferAttachmentImageInfoBuilder<'a> { in builder()
34915 marker: ::std::marker::PhantomData, in builder()
34922 marker: ::std::marker::PhantomData<&'a ()>,
34924 impl<'a> ::std::ops::Deref for FramebufferAttachmentImageInfoBuilder<'a> {
34926 fn deref(&self) -> &Self::Target { in deref()
34930 impl<'a> ::std::ops::DerefMut for FramebufferAttachmentImageInfoBuilder<'a> {
34931 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
34936 pub fn flags(mut self, flags: ImageCreateFlags) -> Self { in flags()
34940 pub fn usage(mut self, usage: ImageUsageFlags) -> Self { in usage()
34944 pub fn width(mut self, width: u32) -> Self { in width()
34948 pub fn height(mut self, height: u32) -> Self { in height()
34952 pub fn layer_count(mut self, layer_count: u32) -> Self { in layer_count()
34956 pub fn view_formats(mut self, view_formats: &'a [Format]) -> Self { in view_formats()
34961 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
34964 pub fn build(self) -> FramebufferAttachmentImageInfo { in build() method
34970 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkRenderPassAttachm…
34977 impl ::std::default::Default for RenderPassAttachmentBeginInfo {
34978 fn default() -> RenderPassAttachmentBeginInfo { in default()
34981 p_next: ::std::ptr::null(), in default()
34983 p_attachments: ::std::ptr::null(), in default()
34988 pub fn builder<'a>() -> RenderPassAttachmentBeginInfoBuilder<'a> { in builder()
34991 marker: ::std::marker::PhantomData, in builder()
34998 marker: ::std::marker::PhantomData<&'a ()>,
35002 impl<'a> ::std::ops::Deref for RenderPassAttachmentBeginInfoBuilder<'a> {
35004 fn deref(&self) -> &Self::Target { in deref()
35008 impl<'a> ::std::ops::DerefMut for RenderPassAttachmentBeginInfoBuilder<'a> {
35009 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
35014 pub fn attachments(mut self, attachments: &'a [ImageView]) -> Self { in attachments()
35019 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
35022 pub fn build(self) -> RenderPassAttachmentBeginInfo { in build() method
35028 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceTex…
35034 impl ::std::default::Default for PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT {
35035 fn default() -> PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT { in default()
35038 p_next: ::std::ptr::null_mut(), in default()
35044 pub fn builder<'a>() -> PhysicalDeviceTextureCompressionASTCHDRFeaturesEXTBuilder<'a> { in builder()
35047 marker: ::std::marker::PhantomData, in builder()
35054 marker: ::std::marker::PhantomData<&'a ()>,
35066 impl<'a> ::std::ops::Deref for PhysicalDeviceTextureCompressionASTCHDRFeaturesEXTBuilder<'a> {
35068 fn deref(&self) -> &Self::Target { in deref()
35072 impl<'a> ::std::ops::DerefMut for PhysicalDeviceTextureCompressionASTCHDRFeaturesEXTBuilder<'a> {
35073 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
35078 pub fn texture_compression_astc_hdr(mut self, texture_compression_astc_hdr: bool) -> Self { in texture_compression_astc_hdr()
35082 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
35085 pub fn build(self) -> PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT { in build() method
35091 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceCoo…
35098 impl ::std::default::Default for PhysicalDeviceCooperativeMatrixFeaturesNV {
35099 fn default() -> PhysicalDeviceCooperativeMatrixFeaturesNV { in default()
35102 p_next: ::std::ptr::null_mut(), in default()
35109 pub fn builder<'a>() -> PhysicalDeviceCooperativeMatrixFeaturesNVBuilder<'a> { in builder()
35112 marker: ::std::marker::PhantomData, in builder()
35119 marker: ::std::marker::PhantomData<&'a ()>,
35128 impl<'a> ::std::ops::Deref for PhysicalDeviceCooperativeMatrixFeaturesNVBuilder<'a> {
35130 fn deref(&self) -> &Self::Target { in deref()
35134 impl<'a> ::std::ops::DerefMut for PhysicalDeviceCooperativeMatrixFeaturesNVBuilder<'a> {
35135 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
35140 pub fn cooperative_matrix(mut self, cooperative_matrix: bool) -> Self { in cooperative_matrix()
35147 ) -> Self { in cooperative_matrix_robust_buffer_access()
35152 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
35155 pub fn build(self) -> PhysicalDeviceCooperativeMatrixFeaturesNV { in build() method
35161 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceCoo…
35167 impl ::std::default::Default for PhysicalDeviceCooperativeMatrixPropertiesNV {
35168 fn default() -> PhysicalDeviceCooperativeMatrixPropertiesNV { in default()
35171 p_next: ::std::ptr::null_mut(), in default()
35177 pub fn builder<'a>() -> PhysicalDeviceCooperativeMatrixPropertiesNVBuilder<'a> { in builder()
35180 marker: ::std::marker::PhantomData, in builder()
35187 marker: ::std::marker::PhantomData<&'a ()>,
35194 impl<'a> ::std::ops::Deref for PhysicalDeviceCooperativeMatrixPropertiesNVBuilder<'a> {
35196 fn deref(&self) -> &Self::Target { in deref()
35200 impl<'a> ::std::ops::DerefMut for PhysicalDeviceCooperativeMatrixPropertiesNVBuilder<'a> {
35201 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
35209 ) -> Self { in cooperative_matrix_supported_stages()
35213 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
35216 pub fn build(self) -> PhysicalDeviceCooperativeMatrixPropertiesNV { in build() method
35222 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCooperativeMatrix…
35235 impl ::std::default::Default for CooperativeMatrixPropertiesNV {
35236 fn default() -> CooperativeMatrixPropertiesNV { in default()
35239 p_next: ::std::ptr::null_mut(), in default()
35252 pub fn builder<'a>() -> CooperativeMatrixPropertiesNVBuilder<'a> { in builder()
35255 marker: ::std::marker::PhantomData, in builder()
35262 marker: ::std::marker::PhantomData<&'a ()>,
35264 impl<'a> ::std::ops::Deref for CooperativeMatrixPropertiesNVBuilder<'a> {
35266 fn deref(&self) -> &Self::Target { in deref()
35270 impl<'a> ::std::ops::DerefMut for CooperativeMatrixPropertiesNVBuilder<'a> {
35271 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
35276 pub fn m_size(mut self, m_size: u32) -> Self { in m_size()
35280 pub fn n_size(mut self, n_size: u32) -> Self { in n_size()
35284 pub fn k_size(mut self, k_size: u32) -> Self { in k_size()
35288 pub fn a_type(mut self, a_type: ComponentTypeNV) -> Self { in a_type()
35292 pub fn b_type(mut self, b_type: ComponentTypeNV) -> Self { in b_type()
35296 pub fn c_type(mut self, c_type: ComponentTypeNV) -> Self { in c_type()
35300 pub fn d_type(mut self, d_type: ComponentTypeNV) -> Self { in d_type()
35304 pub fn scope(mut self, scope: ScopeNV) -> Self { in scope()
35308 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
35311 pub fn build(self) -> CooperativeMatrixPropertiesNV { in build() method
35317 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceYcb…
35323 impl ::std::default::Default for PhysicalDeviceYcbcrImageArraysFeaturesEXT {
35324 fn default() -> PhysicalDeviceYcbcrImageArraysFeaturesEXT { in default()
35327 p_next: ::std::ptr::null_mut(), in default()
35333 pub fn builder<'a>() -> PhysicalDeviceYcbcrImageArraysFeaturesEXTBuilder<'a> { in builder()
35336 marker: ::std::marker::PhantomData, in builder()
35343 marker: ::std::marker::PhantomData<&'a ()>,
35352 impl<'a> ::std::ops::Deref for PhysicalDeviceYcbcrImageArraysFeaturesEXTBuilder<'a> {
35354 fn deref(&self) -> &Self::Target { in deref()
35358 impl<'a> ::std::ops::DerefMut for PhysicalDeviceYcbcrImageArraysFeaturesEXTBuilder<'a> {
35359 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
35364 pub fn ycbcr_image_arrays(mut self, ycbcr_image_arrays: bool) -> Self { in ycbcr_image_arrays()
35368 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
35371 pub fn build(self) -> PhysicalDeviceYcbcrImageArraysFeaturesEXT { in build() method
35377 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageViewHandleIn…
35385 impl ::std::default::Default for ImageViewHandleInfoNVX {
35386 fn default() -> ImageViewHandleInfoNVX { in default()
35389 p_next: ::std::ptr::null(), in default()
35397 pub fn builder<'a>() -> ImageViewHandleInfoNVXBuilder<'a> { in builder()
35400 marker: ::std::marker::PhantomData, in builder()
35407 marker: ::std::marker::PhantomData<&'a ()>,
35409 impl<'a> ::std::ops::Deref for ImageViewHandleInfoNVXBuilder<'a> {
35411 fn deref(&self) -> &Self::Target { in deref()
35415 impl<'a> ::std::ops::DerefMut for ImageViewHandleInfoNVXBuilder<'a> {
35416 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
35421 pub fn image_view(mut self, image_view: ImageView) -> Self { in image_view()
35425 pub fn descriptor_type(mut self, descriptor_type: DescriptorType) -> Self { in descriptor_type()
35429 pub fn sampler(mut self, sampler: Sampler) -> Self { in sampler()
35433 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
35436 pub fn build(self) -> ImageViewHandleInfoNVX { in build() method
35442 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageViewAddressP…
35449 impl ::std::default::Default for ImageViewAddressPropertiesNVX {
35450 fn default() -> ImageViewAddressPropertiesNVX { in default()
35453 p_next: ::std::ptr::null_mut(), in default()
35460 pub fn builder<'a>() -> ImageViewAddressPropertiesNVXBuilder<'a> { in builder()
35463 marker: ::std::marker::PhantomData, in builder()
35470 marker: ::std::marker::PhantomData<&'a ()>,
35472 impl<'a> ::std::ops::Deref for ImageViewAddressPropertiesNVXBuilder<'a> {
35474 fn deref(&self) -> &Self::Target { in deref()
35478 impl<'a> ::std::ops::DerefMut for ImageViewAddressPropertiesNVXBuilder<'a> {
35479 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
35484 pub fn device_address(mut self, device_address: DeviceAddress) -> Self { in device_address()
35488 pub fn size(mut self, size: DeviceSize) -> Self { in size()
35492 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
35495 pub fn build(self) -> ImageViewAddressPropertiesNVX { in build() method
35501 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPresentFrameToken…
35507 impl ::std::default::Default for PresentFrameTokenGGP {
35508 fn default() -> PresentFrameTokenGGP { in default()
35511 p_next: ::std::ptr::null(), in default()
35517 pub fn builder<'a>() -> PresentFrameTokenGGPBuilder<'a> { in builder()
35520 marker: ::std::marker::PhantomData, in builder()
35527 marker: ::std::marker::PhantomData<&'a ()>,
35531 impl<'a> ::std::ops::Deref for PresentFrameTokenGGPBuilder<'a> {
35533 fn deref(&self) -> &Self::Target { in deref()
35537 impl<'a> ::std::ops::DerefMut for PresentFrameTokenGGPBuilder<'a> {
35538 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
35543 pub fn frame_token(mut self, frame_token: GgpFrameToken) -> Self { in frame_token()
35547 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
35550 pub fn build(self) -> PresentFrameTokenGGP { in build() method
35556 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineCreationF…
35562 pub fn builder<'a>() -> PipelineCreationFeedbackEXTBuilder<'a> { in builder()
35565 marker: ::std::marker::PhantomData, in builder()
35572 marker: ::std::marker::PhantomData<&'a ()>,
35574 impl<'a> ::std::ops::Deref for PipelineCreationFeedbackEXTBuilder<'a> {
35576 fn deref(&self) -> &Self::Target { in deref()
35580 impl<'a> ::std::ops::DerefMut for PipelineCreationFeedbackEXTBuilder<'a> {
35581 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
35586 pub fn flags(mut self, flags: PipelineCreationFeedbackFlagsEXT) -> Self { in flags()
35590 pub fn duration(mut self, duration: u64) -> Self { in duration()
35594 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
35597 pub fn build(self) -> PipelineCreationFeedbackEXT { in build() method
35603 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineCreationF…
35611 impl ::std::default::Default for PipelineCreationFeedbackCreateInfoEXT {
35612 fn default() -> PipelineCreationFeedbackCreateInfoEXT { in default()
35615 p_next: ::std::ptr::null(), in default()
35616 p_pipeline_creation_feedback: ::std::ptr::null_mut(), in default()
35618 p_pipeline_stage_creation_feedbacks: ::std::ptr::null_mut(), in default()
35623 pub fn builder<'a>() -> PipelineCreationFeedbackCreateInfoEXTBuilder<'a> { in builder()
35626 marker: ::std::marker::PhantomData, in builder()
35633 marker: ::std::marker::PhantomData<&'a ()>,
35649 impl<'a> ::std::ops::Deref for PipelineCreationFeedbackCreateInfoEXTBuilder<'a> {
35651 fn deref(&self) -> &Self::Target { in deref()
35655 impl<'a> ::std::ops::DerefMut for PipelineCreationFeedbackCreateInfoEXTBuilder<'a> {
35656 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
35664 ) -> Self { in pipeline_creation_feedback()
35671 ) -> Self { in pipeline_stage_creation_feedbacks()
35678 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
35681 pub fn build(self) -> PipelineCreationFeedbackCreateInfoEXT { in build() method
35687 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSurfaceFullScreen…
35693 impl ::std::default::Default for SurfaceFullScreenExclusiveInfoEXT {
35694 fn default() -> SurfaceFullScreenExclusiveInfoEXT { in default()
35697 p_next: ::std::ptr::null_mut(), in default()
35703 pub fn builder<'a>() -> SurfaceFullScreenExclusiveInfoEXTBuilder<'a> { in builder()
35706 marker: ::std::marker::PhantomData, in builder()
35713 marker: ::std::marker::PhantomData<&'a ()>,
35719 impl<'a> ::std::ops::Deref for SurfaceFullScreenExclusiveInfoEXTBuilder<'a> {
35721 fn deref(&self) -> &Self::Target { in deref()
35725 impl<'a> ::std::ops::DerefMut for SurfaceFullScreenExclusiveInfoEXTBuilder<'a> {
35726 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
35731 pub fn full_screen_exclusive(mut self, full_screen_exclusive: FullScreenExclusiveEXT) -> Self { in full_screen_exclusive()
35735 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
35738 pub fn build(self) -> SurfaceFullScreenExclusiveInfoEXT { in build() method
35744 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSurfaceFullScreen…
35750 impl ::std::default::Default for SurfaceFullScreenExclusiveWin32InfoEXT {
35751 fn default() -> SurfaceFullScreenExclusiveWin32InfoEXT { in default()
35754 p_next: ::std::ptr::null(), in default()
35755 hmonitor: unsafe { ::std::mem::zeroed() }, in default()
35760 pub fn builder<'a>() -> SurfaceFullScreenExclusiveWin32InfoEXTBuilder<'a> { in builder()
35763 marker: ::std::marker::PhantomData, in builder()
35770 marker: ::std::marker::PhantomData<&'a ()>,
35779 impl<'a> ::std::ops::Deref for SurfaceFullScreenExclusiveWin32InfoEXTBuilder<'a> {
35781 fn deref(&self) -> &Self::Target { in deref()
35785 impl<'a> ::std::ops::DerefMut for SurfaceFullScreenExclusiveWin32InfoEXTBuilder<'a> {
35786 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
35791 pub fn hmonitor(mut self, hmonitor: HMONITOR) -> Self { in hmonitor()
35795 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
35798 pub fn build(self) -> SurfaceFullScreenExclusiveWin32InfoEXT { in build() method
35804 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSurfaceCapabiliti…
35810 impl ::std::default::Default for SurfaceCapabilitiesFullScreenExclusiveEXT {
35811 fn default() -> SurfaceCapabilitiesFullScreenExclusiveEXT { in default()
35814 p_next: ::std::ptr::null_mut(), in default()
35820 pub fn builder<'a>() -> SurfaceCapabilitiesFullScreenExclusiveEXTBuilder<'a> { in builder()
35823 marker: ::std::marker::PhantomData, in builder()
35830 marker: ::std::marker::PhantomData<&'a ()>,
35837 impl<'a> ::std::ops::Deref for SurfaceCapabilitiesFullScreenExclusiveEXTBuilder<'a> {
35839 fn deref(&self) -> &Self::Target { in deref()
35843 impl<'a> ::std::ops::DerefMut for SurfaceCapabilitiesFullScreenExclusiveEXTBuilder<'a> {
35844 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
35852 ) -> Self { in full_screen_exclusive_supported()
35856 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
35859 pub fn build(self) -> SurfaceCapabilitiesFullScreenExclusiveEXT { in build() method
35865 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDevicePer…
35872 impl ::std::default::Default for PhysicalDevicePerformanceQueryFeaturesKHR {
35873 fn default() -> PhysicalDevicePerformanceQueryFeaturesKHR { in default()
35876 p_next: ::std::ptr::null_mut(), in default()
35883 pub fn builder<'a>() -> PhysicalDevicePerformanceQueryFeaturesKHRBuilder<'a> { in builder()
35886 marker: ::std::marker::PhantomData, in builder()
35893 marker: ::std::marker::PhantomData<&'a ()>,
35902 impl<'a> ::std::ops::Deref for PhysicalDevicePerformanceQueryFeaturesKHRBuilder<'a> {
35904 fn deref(&self) -> &Self::Target { in deref()
35908 impl<'a> ::std::ops::DerefMut for PhysicalDevicePerformanceQueryFeaturesKHRBuilder<'a> {
35909 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
35917 ) -> Self { in performance_counter_query_pools()
35924 ) -> Self { in performance_counter_multiple_query_pools()
35929 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
35932 pub fn build(self) -> PhysicalDevicePerformanceQueryFeaturesKHR { in build() method
35938 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDevicePer…
35944 impl ::std::default::Default for PhysicalDevicePerformanceQueryPropertiesKHR {
35945 fn default() -> PhysicalDevicePerformanceQueryPropertiesKHR { in default()
35948 p_next: ::std::ptr::null_mut(), in default()
35954 pub fn builder<'a>() -> PhysicalDevicePerformanceQueryPropertiesKHRBuilder<'a> { in builder()
35957 marker: ::std::marker::PhantomData, in builder()
35964 marker: ::std::marker::PhantomData<&'a ()>,
35971 impl<'a> ::std::ops::Deref for PhysicalDevicePerformanceQueryPropertiesKHRBuilder<'a> {
35973 fn deref(&self) -> &Self::Target { in deref()
35977 impl<'a> ::std::ops::DerefMut for PhysicalDevicePerformanceQueryPropertiesKHRBuilder<'a> {
35978 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
35986 ) -> Self { in allow_command_buffer_query_copies()
35990 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
35993 pub fn build(self) -> PhysicalDevicePerformanceQueryPropertiesKHR { in build() method
35999 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPerformanceCounte…
36008 impl ::std::default::Default for PerformanceCounterKHR {
36009 fn default() -> PerformanceCounterKHR { in default()
36012 p_next: ::std::ptr::null_mut(), in default()
36016 uuid: unsafe { ::std::mem::zeroed() }, in default()
36021 pub fn builder<'a>() -> PerformanceCounterKHRBuilder<'a> { in builder()
36024 marker: ::std::marker::PhantomData, in builder()
36031 marker: ::std::marker::PhantomData<&'a ()>,
36033 impl<'a> ::std::ops::Deref for PerformanceCounterKHRBuilder<'a> {
36035 fn deref(&self) -> &Self::Target { in deref()
36039 impl<'a> ::std::ops::DerefMut for PerformanceCounterKHRBuilder<'a> {
36040 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
36045 pub fn unit(mut self, unit: PerformanceCounterUnitKHR) -> Self { in unit()
36049 pub fn scope(mut self, scope: PerformanceCounterScopeKHR) -> Self { in scope()
36053 pub fn storage(mut self, storage: PerformanceCounterStorageKHR) -> Self { in storage()
36057 pub fn uuid(mut self, uuid: [u8; UUID_SIZE]) -> Self { in uuid()
36061 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
36064 pub fn build(self) -> PerformanceCounterKHR { in build() method
36070 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPerformanceCounte…
36080 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
36086 ::std::ffi::CStr::from_ptr(self.name.as_ptr() as *const c_char) in fmt()
36089 ::std::ffi::CStr::from_ptr(self.category.as_ptr() as *const c_char) in fmt()
36092 ::std::ffi::CStr::from_ptr(self.description.as_ptr() as *const c_char) in fmt()
36097 impl ::std::default::Default for PerformanceCounterDescriptionKHR {
36098 fn default() -> PerformanceCounterDescriptionKHR { in default()
36101 p_next: ::std::ptr::null_mut(), in default()
36103 name: unsafe { ::std::mem::zeroed() }, in default()
36104 category: unsafe { ::std::mem::zeroed() }, in default()
36105 description: unsafe { ::std::mem::zeroed() }, in default()
36110 pub fn builder<'a>() -> PerformanceCounterDescriptionKHRBuilder<'a> { in builder()
36113 marker: ::std::marker::PhantomData, in builder()
36120 marker: ::std::marker::PhantomData<&'a ()>,
36122 impl<'a> ::std::ops::Deref for PerformanceCounterDescriptionKHRBuilder<'a> {
36124 fn deref(&self) -> &Self::Target { in deref()
36128 impl<'a> ::std::ops::DerefMut for PerformanceCounterDescriptionKHRBuilder<'a> {
36129 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
36134 pub fn flags(mut self, flags: PerformanceCounterDescriptionFlagsKHR) -> Self { in flags()
36138 pub fn name(mut self, name: [c_char; MAX_DESCRIPTION_SIZE]) -> Self { in name()
36142 pub fn category(mut self, category: [c_char; MAX_DESCRIPTION_SIZE]) -> Self { in category()
36146 pub fn description(mut self, description: [c_char; MAX_DESCRIPTION_SIZE]) -> Self { in description()
36150 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
36153 pub fn build(self) -> PerformanceCounterDescriptionKHR { in build() method
36159 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkQueryPoolPerforma…
36167 impl ::std::default::Default for QueryPoolPerformanceCreateInfoKHR {
36168 fn default() -> QueryPoolPerformanceCreateInfoKHR { in default()
36171 p_next: ::std::ptr::null(), in default()
36174 p_counter_indices: ::std::ptr::null(), in default()
36179 pub fn builder<'a>() -> QueryPoolPerformanceCreateInfoKHRBuilder<'a> { in builder()
36182 marker: ::std::marker::PhantomData, in builder()
36189 marker: ::std::marker::PhantomData<&'a ()>,
36193 impl<'a> ::std::ops::Deref for QueryPoolPerformanceCreateInfoKHRBuilder<'a> {
36195 fn deref(&self) -> &Self::Target { in deref()
36199 impl<'a> ::std::ops::DerefMut for QueryPoolPerformanceCreateInfoKHRBuilder<'a> {
36200 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
36205 pub fn queue_family_index(mut self, queue_family_index: u32) -> Self { in queue_family_index()
36209 pub fn counter_indices(mut self, counter_indices: &'a [u32]) -> Self { in counter_indices()
36214 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
36217 pub fn build(self) -> QueryPoolPerformanceCreateInfoKHR { in build() method
36223 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPerformanceCounte…
36232 impl ::std::default::Default for PerformanceCounterResultKHR {
36233 fn default() -> PerformanceCounterResultKHR { in default()
36234 unsafe { ::std::mem::zeroed() } in default()
36239 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAcquireProfilingL…
36246 impl ::std::default::Default for AcquireProfilingLockInfoKHR {
36247 fn default() -> AcquireProfilingLockInfoKHR { in default()
36250 p_next: ::std::ptr::null(), in default()
36257 pub fn builder<'a>() -> AcquireProfilingLockInfoKHRBuilder<'a> { in builder()
36260 marker: ::std::marker::PhantomData, in builder()
36267 marker: ::std::marker::PhantomData<&'a ()>,
36269 impl<'a> ::std::ops::Deref for AcquireProfilingLockInfoKHRBuilder<'a> {
36271 fn deref(&self) -> &Self::Target { in deref()
36275 impl<'a> ::std::ops::DerefMut for AcquireProfilingLockInfoKHRBuilder<'a> {
36276 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
36281 pub fn flags(mut self, flags: AcquireProfilingLockFlagsKHR) -> Self { in flags()
36285 pub fn timeout(mut self, timeout: u64) -> Self { in timeout()
36289 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
36292 pub fn build(self) -> AcquireProfilingLockInfoKHR { in build() method
36298 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPerformanceQueryS…
36304 impl ::std::default::Default for PerformanceQuerySubmitInfoKHR {
36305 fn default() -> PerformanceQuerySubmitInfoKHR { in default()
36308 p_next: ::std::ptr::null(), in default()
36314 pub fn builder<'a>() -> PerformanceQuerySubmitInfoKHRBuilder<'a> { in builder()
36317 marker: ::std::marker::PhantomData, in builder()
36324 marker: ::std::marker::PhantomData<&'a ()>,
36330 impl<'a> ::std::ops::Deref for PerformanceQuerySubmitInfoKHRBuilder<'a> {
36332 fn deref(&self) -> &Self::Target { in deref()
36336 impl<'a> ::std::ops::DerefMut for PerformanceQuerySubmitInfoKHRBuilder<'a> {
36337 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
36342 pub fn counter_pass_index(mut self, counter_pass_index: u32) -> Self { in counter_pass_index()
36346 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
36349 pub fn build(self) -> PerformanceQuerySubmitInfoKHR { in build() method
36355 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkHeadlessSurfaceCr…
36361 impl ::std::default::Default for HeadlessSurfaceCreateInfoEXT {
36362 fn default() -> HeadlessSurfaceCreateInfoEXT { in default()
36365 p_next: ::std::ptr::null(), in default()
36371 pub fn builder<'a>() -> HeadlessSurfaceCreateInfoEXTBuilder<'a> { in builder()
36374 marker: ::std::marker::PhantomData, in builder()
36381 marker: ::std::marker::PhantomData<&'a ()>,
36383 impl<'a> ::std::ops::Deref for HeadlessSurfaceCreateInfoEXTBuilder<'a> {
36385 fn deref(&self) -> &Self::Target { in deref()
36389 impl<'a> ::std::ops::DerefMut for HeadlessSurfaceCreateInfoEXTBuilder<'a> {
36390 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
36395 pub fn flags(mut self, flags: HeadlessSurfaceCreateFlagsEXT) -> Self { in flags()
36399 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
36402 pub fn build(self) -> HeadlessSurfaceCreateInfoEXT { in build() method
36408 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceCov…
36414 impl ::std::default::Default for PhysicalDeviceCoverageReductionModeFeaturesNV {
36415 fn default() -> PhysicalDeviceCoverageReductionModeFeaturesNV { in default()
36418 p_next: ::std::ptr::null_mut(), in default()
36424 pub fn builder<'a>() -> PhysicalDeviceCoverageReductionModeFeaturesNVBuilder<'a> { in builder()
36427 marker: ::std::marker::PhantomData, in builder()
36434 marker: ::std::marker::PhantomData<&'a ()>,
36443 impl<'a> ::std::ops::Deref for PhysicalDeviceCoverageReductionModeFeaturesNVBuilder<'a> {
36445 fn deref(&self) -> &Self::Target { in deref()
36449 impl<'a> ::std::ops::DerefMut for PhysicalDeviceCoverageReductionModeFeaturesNVBuilder<'a> {
36450 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
36455 pub fn coverage_reduction_mode(mut self, coverage_reduction_mode: bool) -> Self { in coverage_reduction_mode()
36459 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
36462 pub fn build(self) -> PhysicalDeviceCoverageReductionModeFeaturesNV { in build() method
36468 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineCoverageR…
36475 impl ::std::default::Default for PipelineCoverageReductionStateCreateInfoNV {
36476 fn default() -> PipelineCoverageReductionStateCreateInfoNV { in default()
36479 p_next: ::std::ptr::null(), in default()
36486 pub fn builder<'a>() -> PipelineCoverageReductionStateCreateInfoNVBuilder<'a> { in builder()
36489 marker: ::std::marker::PhantomData, in builder()
36496 marker: ::std::marker::PhantomData<&'a ()>,
36506 impl<'a> ::std::ops::Deref for PipelineCoverageReductionStateCreateInfoNVBuilder<'a> {
36508 fn deref(&self) -> &Self::Target { in deref()
36512 impl<'a> ::std::ops::DerefMut for PipelineCoverageReductionStateCreateInfoNVBuilder<'a> {
36513 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
36518 pub fn flags(mut self, flags: PipelineCoverageReductionStateCreateFlagsNV) -> Self { in flags()
36525 ) -> Self { in coverage_reduction_mode()
36529 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
36532 pub fn build(self) -> PipelineCoverageReductionStateCreateInfoNV { in build() method
36538 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkFramebufferMixedS…
36547 impl ::std::default::Default for FramebufferMixedSamplesCombinationNV {
36548 fn default() -> FramebufferMixedSamplesCombinationNV { in default()
36551 p_next: ::std::ptr::null_mut(), in default()
36560 pub fn builder<'a>() -> FramebufferMixedSamplesCombinationNVBuilder<'a> { in builder()
36563 marker: ::std::marker::PhantomData, in builder()
36570 marker: ::std::marker::PhantomData<&'a ()>,
36572 impl<'a> ::std::ops::Deref for FramebufferMixedSamplesCombinationNVBuilder<'a> {
36574 fn deref(&self) -> &Self::Target { in deref()
36578 impl<'a> ::std::ops::DerefMut for FramebufferMixedSamplesCombinationNVBuilder<'a> {
36579 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
36587 ) -> Self { in coverage_reduction_mode()
36591 pub fn rasterization_samples(mut self, rasterization_samples: SampleCountFlags) -> Self { in rasterization_samples()
36595 pub fn depth_stencil_samples(mut self, depth_stencil_samples: SampleCountFlags) -> Self { in depth_stencil_samples()
36599 pub fn color_samples(mut self, color_samples: SampleCountFlags) -> Self { in color_samples()
36603 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
36606 pub fn build(self) -> FramebufferMixedSamplesCombinationNV { in build() method
36612 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSha…
36618 impl ::std::default::Default for PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL {
36619 fn default() -> PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL { in default()
36622 p_next: ::std::ptr::null_mut(), in default()
36628 pub fn builder<'a>() -> PhysicalDeviceShaderIntegerFunctions2FeaturesINTELBuilder<'a> { in builder()
36631 marker: ::std::marker::PhantomData, in builder()
36638 marker: ::std::marker::PhantomData<&'a ()>,
36650 impl<'a> ::std::ops::Deref for PhysicalDeviceShaderIntegerFunctions2FeaturesINTELBuilder<'a> {
36652 fn deref(&self) -> &Self::Target { in deref()
36656 impl<'a> ::std::ops::DerefMut for PhysicalDeviceShaderIntegerFunctions2FeaturesINTELBuilder<'a> {
36657 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
36662 pub fn shader_integer_functions2(mut self, shader_integer_functions2: bool) -> Self { in shader_integer_functions2()
36666 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
36669 pub fn build(self) -> PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL { in build() method
36675 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPerformanceValueD…
36683 impl ::std::default::Default for PerformanceValueDataINTEL {
36684 fn default() -> PerformanceValueDataINTEL { in default()
36685 unsafe { ::std::mem::zeroed() } in default()
36690 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPerformanceValueI…
36696 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
36704 pub fn builder<'a>() -> PerformanceValueINTELBuilder<'a> { in builder()
36707 marker: ::std::marker::PhantomData, in builder()
36714 marker: ::std::marker::PhantomData<&'a ()>,
36716 impl<'a> ::std::ops::Deref for PerformanceValueINTELBuilder<'a> {
36718 fn deref(&self) -> &Self::Target { in deref()
36722 impl<'a> ::std::ops::DerefMut for PerformanceValueINTELBuilder<'a> {
36723 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
36728 pub fn ty(mut self, ty: PerformanceValueTypeINTEL) -> Self { in ty()
36732 pub fn data(mut self, data: PerformanceValueDataINTEL) -> Self { in data()
36736 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
36739 pub fn build(self) -> PerformanceValueINTEL { in build() method
36745 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkInitializePerform…
36751 impl ::std::default::Default for InitializePerformanceApiInfoINTEL {
36752 fn default() -> InitializePerformanceApiInfoINTEL { in default()
36755 p_next: ::std::ptr::null(), in default()
36756 p_user_data: ::std::ptr::null_mut(), in default()
36761 pub fn builder<'a>() -> InitializePerformanceApiInfoINTELBuilder<'a> { in builder()
36764 marker: ::std::marker::PhantomData, in builder()
36771 marker: ::std::marker::PhantomData<&'a ()>,
36773 impl<'a> ::std::ops::Deref for InitializePerformanceApiInfoINTELBuilder<'a> {
36775 fn deref(&self) -> &Self::Target { in deref()
36779 impl<'a> ::std::ops::DerefMut for InitializePerformanceApiInfoINTELBuilder<'a> {
36780 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
36785 pub fn user_data(mut self, user_data: *mut c_void) -> Self { in user_data()
36789 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
36792 pub fn build(self) -> InitializePerformanceApiInfoINTEL { in build() method
36798 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkQueryPoolPerforma…
36804 impl ::std::default::Default for QueryPoolPerformanceQueryCreateInfoINTEL {
36805 fn default() -> QueryPoolPerformanceQueryCreateInfoINTEL { in default()
36808 p_next: ::std::ptr::null(), in default()
36814 pub fn builder<'a>() -> QueryPoolPerformanceQueryCreateInfoINTELBuilder<'a> { in builder()
36817 marker: ::std::marker::PhantomData, in builder()
36824 marker: ::std::marker::PhantomData<&'a ()>,
36828 impl<'a> ::std::ops::Deref for QueryPoolPerformanceQueryCreateInfoINTELBuilder<'a> {
36830 fn deref(&self) -> &Self::Target { in deref()
36834 impl<'a> ::std::ops::DerefMut for QueryPoolPerformanceQueryCreateInfoINTELBuilder<'a> {
36835 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
36843 ) -> Self { in performance_counters_sampling()
36847 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
36850 pub fn build(self) -> QueryPoolPerformanceQueryCreateInfoINTEL { in build() method
36856 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPerformanceMarker…
36862 impl ::std::default::Default for PerformanceMarkerInfoINTEL {
36863 fn default() -> PerformanceMarkerInfoINTEL { in default()
36866 p_next: ::std::ptr::null(), in default()
36872 pub fn builder<'a>() -> PerformanceMarkerInfoINTELBuilder<'a> { in builder()
36875 marker: ::std::marker::PhantomData, in builder()
36882 marker: ::std::marker::PhantomData<&'a ()>,
36884 impl<'a> ::std::ops::Deref for PerformanceMarkerInfoINTELBuilder<'a> {
36886 fn deref(&self) -> &Self::Target { in deref()
36890 impl<'a> ::std::ops::DerefMut for PerformanceMarkerInfoINTELBuilder<'a> {
36891 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
36896 pub fn marker(mut self, marker: u64) -> Self { in marker()
36900 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
36903 pub fn build(self) -> PerformanceMarkerInfoINTEL { in build() method
36909 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPerformanceStream…
36915 impl ::std::default::Default for PerformanceStreamMarkerInfoINTEL {
36916 fn default() -> PerformanceStreamMarkerInfoINTEL { in default()
36919 p_next: ::std::ptr::null(), in default()
36925 pub fn builder<'a>() -> PerformanceStreamMarkerInfoINTELBuilder<'a> { in builder()
36928 marker: ::std::marker::PhantomData, in builder()
36935 marker: ::std::marker::PhantomData<&'a ()>,
36937 impl<'a> ::std::ops::Deref for PerformanceStreamMarkerInfoINTELBuilder<'a> {
36939 fn deref(&self) -> &Self::Target { in deref()
36943 impl<'a> ::std::ops::DerefMut for PerformanceStreamMarkerInfoINTELBuilder<'a> {
36944 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
36949 pub fn marker(mut self, marker: u32) -> Self { in marker()
36953 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
36956 pub fn build(self) -> PerformanceStreamMarkerInfoINTEL { in build() method
36962 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPerformanceOverri…
36970 impl ::std::default::Default for PerformanceOverrideInfoINTEL {
36971 fn default() -> PerformanceOverrideInfoINTEL { in default()
36974 p_next: ::std::ptr::null(), in default()
36982 pub fn builder<'a>() -> PerformanceOverrideInfoINTELBuilder<'a> { in builder()
36985 marker: ::std::marker::PhantomData, in builder()
36992 marker: ::std::marker::PhantomData<&'a ()>,
36994 impl<'a> ::std::ops::Deref for PerformanceOverrideInfoINTELBuilder<'a> {
36996 fn deref(&self) -> &Self::Target { in deref()
37000 impl<'a> ::std::ops::DerefMut for PerformanceOverrideInfoINTELBuilder<'a> {
37001 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
37006 pub fn ty(mut self, ty: PerformanceOverrideTypeINTEL) -> Self { in ty()
37010 pub fn enable(mut self, enable: bool) -> Self { in enable()
37014 pub fn parameter(mut self, parameter: u64) -> Self { in parameter()
37018 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
37021 pub fn build(self) -> PerformanceOverrideInfoINTEL { in build() method
37027 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPerformanceConfig…
37033 impl ::std::default::Default for PerformanceConfigurationAcquireInfoINTEL {
37034 fn default() -> PerformanceConfigurationAcquireInfoINTEL { in default()
37037 p_next: ::std::ptr::null(), in default()
37043 pub fn builder<'a>() -> PerformanceConfigurationAcquireInfoINTELBuilder<'a> { in builder()
37046 marker: ::std::marker::PhantomData, in builder()
37053 marker: ::std::marker::PhantomData<&'a ()>,
37055 impl<'a> ::std::ops::Deref for PerformanceConfigurationAcquireInfoINTELBuilder<'a> {
37057 fn deref(&self) -> &Self::Target { in deref()
37061 impl<'a> ::std::ops::DerefMut for PerformanceConfigurationAcquireInfoINTELBuilder<'a> {
37062 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
37067 pub fn ty(mut self, ty: PerformanceConfigurationTypeINTEL) -> Self { in ty()
37071 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
37074 pub fn build(self) -> PerformanceConfigurationAcquireInfoINTEL { in build() method
37080 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSha…
37087 impl ::std::default::Default for PhysicalDeviceShaderClockFeaturesKHR {
37088 fn default() -> PhysicalDeviceShaderClockFeaturesKHR { in default()
37091 p_next: ::std::ptr::null_mut(), in default()
37098 pub fn builder<'a>() -> PhysicalDeviceShaderClockFeaturesKHRBuilder<'a> { in builder()
37101 marker: ::std::marker::PhantomData, in builder()
37108 marker: ::std::marker::PhantomData<&'a ()>,
37114 impl<'a> ::std::ops::Deref for PhysicalDeviceShaderClockFeaturesKHRBuilder<'a> {
37116 fn deref(&self) -> &Self::Target { in deref()
37120 impl<'a> ::std::ops::DerefMut for PhysicalDeviceShaderClockFeaturesKHRBuilder<'a> {
37121 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
37126 pub fn shader_subgroup_clock(mut self, shader_subgroup_clock: bool) -> Self { in shader_subgroup_clock()
37130 pub fn shader_device_clock(mut self, shader_device_clock: bool) -> Self { in shader_device_clock()
37134 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
37137 pub fn build(self) -> PhysicalDeviceShaderClockFeaturesKHR { in build() method
37143 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceInd…
37149 impl ::std::default::Default for PhysicalDeviceIndexTypeUint8FeaturesEXT {
37150 fn default() -> PhysicalDeviceIndexTypeUint8FeaturesEXT { in default()
37153 p_next: ::std::ptr::null_mut(), in default()
37159 pub fn builder<'a>() -> PhysicalDeviceIndexTypeUint8FeaturesEXTBuilder<'a> { in builder()
37162 marker: ::std::marker::PhantomData, in builder()
37169 marker: ::std::marker::PhantomData<&'a ()>,
37175 impl<'a> ::std::ops::Deref for PhysicalDeviceIndexTypeUint8FeaturesEXTBuilder<'a> {
37177 fn deref(&self) -> &Self::Target { in deref()
37181 impl<'a> ::std::ops::DerefMut for PhysicalDeviceIndexTypeUint8FeaturesEXTBuilder<'a> {
37182 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
37187 pub fn index_type_uint8(mut self, index_type_uint8: bool) -> Self { in index_type_uint8()
37191 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
37194 pub fn build(self) -> PhysicalDeviceIndexTypeUint8FeaturesEXT { in build() method
37200 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSha…
37207 impl ::std::default::Default for PhysicalDeviceShaderSMBuiltinsPropertiesNV {
37208 fn default() -> PhysicalDeviceShaderSMBuiltinsPropertiesNV { in default()
37211 p_next: ::std::ptr::null_mut(), in default()
37218 pub fn builder<'a>() -> PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a> { in builder()
37221 marker: ::std::marker::PhantomData, in builder()
37228 marker: ::std::marker::PhantomData<&'a ()>,
37235 impl<'a> ::std::ops::Deref for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a> {
37237 fn deref(&self) -> &Self::Target { in deref()
37241 impl<'a> ::std::ops::DerefMut for PhysicalDeviceShaderSMBuiltinsPropertiesNVBuilder<'a> {
37242 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
37247 pub fn shader_sm_count(mut self, shader_sm_count: u32) -> Self { in shader_sm_count()
37251 pub fn shader_warps_per_sm(mut self, shader_warps_per_sm: u32) -> Self { in shader_warps_per_sm()
37255 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
37258 pub fn build(self) -> PhysicalDeviceShaderSMBuiltinsPropertiesNV { in build() method
37264 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSha…
37270 impl ::std::default::Default for PhysicalDeviceShaderSMBuiltinsFeaturesNV {
37271 fn default() -> PhysicalDeviceShaderSMBuiltinsFeaturesNV { in default()
37274 p_next: ::std::ptr::null_mut(), in default()
37280 pub fn builder<'a>() -> PhysicalDeviceShaderSMBuiltinsFeaturesNVBuilder<'a> { in builder()
37283 marker: ::std::marker::PhantomData, in builder()
37290 marker: ::std::marker::PhantomData<&'a ()>,
37296 impl<'a> ::std::ops::Deref for PhysicalDeviceShaderSMBuiltinsFeaturesNVBuilder<'a> {
37298 fn deref(&self) -> &Self::Target { in deref()
37302 impl<'a> ::std::ops::DerefMut for PhysicalDeviceShaderSMBuiltinsFeaturesNVBuilder<'a> {
37303 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
37308 pub fn shader_sm_builtins(mut self, shader_sm_builtins: bool) -> Self { in shader_sm_builtins()
37312 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
37315 pub fn build(self) -> PhysicalDeviceShaderSMBuiltinsFeaturesNV { in build() method
37321 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceFra…
37329 impl ::std::default::Default for PhysicalDeviceFragmentShaderInterlockFeaturesEXT {
37330 fn default() -> PhysicalDeviceFragmentShaderInterlockFeaturesEXT { in default()
37333 p_next: ::std::ptr::null_mut(), in default()
37341 pub fn builder<'a>() -> PhysicalDeviceFragmentShaderInterlockFeaturesEXTBuilder<'a> { in builder()
37344 marker: ::std::marker::PhantomData, in builder()
37351 marker: ::std::marker::PhantomData<&'a ()>,
37363 impl<'a> ::std::ops::Deref for PhysicalDeviceFragmentShaderInterlockFeaturesEXTBuilder<'a> {
37365 fn deref(&self) -> &Self::Target { in deref()
37369 impl<'a> ::std::ops::DerefMut for PhysicalDeviceFragmentShaderInterlockFeaturesEXTBuilder<'a> {
37370 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
37378 ) -> Self { in fragment_shader_sample_interlock()
37385 ) -> Self { in fragment_shader_pixel_interlock()
37392 ) -> Self { in fragment_shader_shading_rate_interlock()
37397 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
37400 pub fn build(self) -> PhysicalDeviceFragmentShaderInterlockFeaturesEXT { in build() method
37406 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSep…
37412 impl ::std::default::Default for PhysicalDeviceSeparateDepthStencilLayoutsFeatures {
37413 fn default() -> PhysicalDeviceSeparateDepthStencilLayoutsFeatures { in default()
37416 p_next: ::std::ptr::null_mut(), in default()
37422 pub fn builder<'a>() -> PhysicalDeviceSeparateDepthStencilLayoutsFeaturesBuilder<'a> { in builder()
37425 marker: ::std::marker::PhantomData, in builder()
37432 marker: ::std::marker::PhantomData<&'a ()>,
37444 impl<'a> ::std::ops::Deref for PhysicalDeviceSeparateDepthStencilLayoutsFeaturesBuilder<'a> {
37446 fn deref(&self) -> &Self::Target { in deref()
37450 impl<'a> ::std::ops::DerefMut for PhysicalDeviceSeparateDepthStencilLayoutsFeaturesBuilder<'a> {
37451 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
37456 pub fn separate_depth_stencil_layouts(mut self, separate_depth_stencil_layouts: bool) -> Self { in separate_depth_stencil_layouts()
37460 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
37463 pub fn build(self) -> PhysicalDeviceSeparateDepthStencilLayoutsFeatures { in build() method
37469 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAttachmentReferen…
37475 impl ::std::default::Default for AttachmentReferenceStencilLayout {
37476 fn default() -> AttachmentReferenceStencilLayout { in default()
37479 p_next: ::std::ptr::null_mut(), in default()
37485 pub fn builder<'a>() -> AttachmentReferenceStencilLayoutBuilder<'a> { in builder()
37488 marker: ::std::marker::PhantomData, in builder()
37495 marker: ::std::marker::PhantomData<&'a ()>,
37499 impl<'a> ::std::ops::Deref for AttachmentReferenceStencilLayoutBuilder<'a> {
37501 fn deref(&self) -> &Self::Target { in deref()
37505 impl<'a> ::std::ops::DerefMut for AttachmentReferenceStencilLayoutBuilder<'a> {
37506 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
37511 pub fn stencil_layout(mut self, stencil_layout: ImageLayout) -> Self { in stencil_layout()
37515 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
37518 pub fn build(self) -> AttachmentReferenceStencilLayout { in build() method
37524 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDevicePri…
37531 impl ::std::default::Default for PhysicalDevicePrimitiveTopologyListRestartFeaturesEXT {
37532 fn default() -> PhysicalDevicePrimitiveTopologyListRestartFeaturesEXT { in default()
37535 p_next: ::std::ptr::null_mut(), in default()
37542 pub fn builder<'a>() -> PhysicalDevicePrimitiveTopologyListRestartFeaturesEXTBuilder<'a> { in builder()
37545 marker: ::std::marker::PhantomData, in builder()
37552 marker: ::std::marker::PhantomData<&'a ()>,
37567 impl<'a> ::std::ops::Deref for PhysicalDevicePrimitiveTopologyListRestartFeaturesEXTBuilder<'a> {
37569 fn deref(&self) -> &Self::Target { in deref()
37573 impl<'a> ::std::ops::DerefMut for PhysicalDevicePrimitiveTopologyListRestartFeaturesEXTBuilder<'a> {
37574 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
37582 ) -> Self { in primitive_topology_list_restart()
37589 ) -> Self { in primitive_topology_patch_list_restart()
37594 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
37597 pub fn build(self) -> PhysicalDevicePrimitiveTopologyListRestartFeaturesEXT { in build() method
37603 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAttachmentDescrip…
37610 impl ::std::default::Default for AttachmentDescriptionStencilLayout {
37611 fn default() -> AttachmentDescriptionStencilLayout { in default()
37614 p_next: ::std::ptr::null_mut(), in default()
37621 pub fn builder<'a>() -> AttachmentDescriptionStencilLayoutBuilder<'a> { in builder()
37624 marker: ::std::marker::PhantomData, in builder()
37631 marker: ::std::marker::PhantomData<&'a ()>,
37635 impl<'a> ::std::ops::Deref for AttachmentDescriptionStencilLayoutBuilder<'a> {
37637 fn deref(&self) -> &Self::Target { in deref()
37641 impl<'a> ::std::ops::DerefMut for AttachmentDescriptionStencilLayoutBuilder<'a> {
37642 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
37647 pub fn stencil_initial_layout(mut self, stencil_initial_layout: ImageLayout) -> Self { in stencil_initial_layout()
37651 pub fn stencil_final_layout(mut self, stencil_final_layout: ImageLayout) -> Self { in stencil_final_layout()
37655 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
37658 pub fn build(self) -> AttachmentDescriptionStencilLayout { in build() method
37664 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDevicePip…
37670 impl ::std::default::Default for PhysicalDevicePipelineExecutablePropertiesFeaturesKHR {
37671 fn default() -> PhysicalDevicePipelineExecutablePropertiesFeaturesKHR { in default()
37674 p_next: ::std::ptr::null_mut(), in default()
37680 pub fn builder<'a>() -> PhysicalDevicePipelineExecutablePropertiesFeaturesKHRBuilder<'a> { in builder()
37683 marker: ::std::marker::PhantomData, in builder()
37690 marker: ::std::marker::PhantomData<&'a ()>,
37705 impl<'a> ::std::ops::Deref for PhysicalDevicePipelineExecutablePropertiesFeaturesKHRBuilder<'a> {
37707 fn deref(&self) -> &Self::Target { in deref()
37711 impl<'a> ::std::ops::DerefMut for PhysicalDevicePipelineExecutablePropertiesFeaturesKHRBuilder<'a> {
37712 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
37717 pub fn pipeline_executable_info(mut self, pipeline_executable_info: bool) -> Self { in pipeline_executable_info()
37721 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
37724 pub fn build(self) -> PhysicalDevicePipelineExecutablePropertiesFeaturesKHR { in build() method
37730 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineInfoKHR.h…
37736 impl ::std::default::Default for PipelineInfoKHR {
37737 fn default() -> PipelineInfoKHR { in default()
37740 p_next: ::std::ptr::null(), in default()
37746 pub fn builder<'a>() -> PipelineInfoKHRBuilder<'a> { in builder()
37749 marker: ::std::marker::PhantomData, in builder()
37756 marker: ::std::marker::PhantomData<&'a ()>,
37758 impl<'a> ::std::ops::Deref for PipelineInfoKHRBuilder<'a> {
37760 fn deref(&self) -> &Self::Target { in deref()
37764 impl<'a> ::std::ops::DerefMut for PipelineInfoKHRBuilder<'a> {
37765 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
37770 pub fn pipeline(mut self, pipeline: Pipeline) -> Self { in pipeline()
37774 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
37777 pub fn build(self) -> PipelineInfoKHR { in build() method
37783 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineExecutabl…
37793 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
37799 ::std::ffi::CStr::from_ptr(self.name.as_ptr() as *const c_char) in fmt()
37802 ::std::ffi::CStr::from_ptr(self.description.as_ptr() as *const c_char) in fmt()
37808 impl ::std::default::Default for PipelineExecutablePropertiesKHR {
37809 fn default() -> PipelineExecutablePropertiesKHR { in default()
37812 p_next: ::std::ptr::null_mut(), in default()
37814 name: unsafe { ::std::mem::zeroed() }, in default()
37815 description: unsafe { ::std::mem::zeroed() }, in default()
37821 pub fn builder<'a>() -> PipelineExecutablePropertiesKHRBuilder<'a> { in builder()
37824 marker: ::std::marker::PhantomData, in builder()
37831 marker: ::std::marker::PhantomData<&'a ()>,
37833 impl<'a> ::std::ops::Deref for PipelineExecutablePropertiesKHRBuilder<'a> {
37835 fn deref(&self) -> &Self::Target { in deref()
37839 impl<'a> ::std::ops::DerefMut for PipelineExecutablePropertiesKHRBuilder<'a> {
37840 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
37845 pub fn stages(mut self, stages: ShaderStageFlags) -> Self { in stages()
37849 pub fn name(mut self, name: [c_char; MAX_DESCRIPTION_SIZE]) -> Self { in name()
37853 pub fn description(mut self, description: [c_char; MAX_DESCRIPTION_SIZE]) -> Self { in description()
37857 pub fn subgroup_size(mut self, subgroup_size: u32) -> Self { in subgroup_size()
37861 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
37864 pub fn build(self) -> PipelineExecutablePropertiesKHR { in build() method
37870 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineExecutabl…
37877 impl ::std::default::Default for PipelineExecutableInfoKHR {
37878 fn default() -> PipelineExecutableInfoKHR { in default()
37881 p_next: ::std::ptr::null(), in default()
37888 pub fn builder<'a>() -> PipelineExecutableInfoKHRBuilder<'a> { in builder()
37891 marker: ::std::marker::PhantomData, in builder()
37898 marker: ::std::marker::PhantomData<&'a ()>,
37900 impl<'a> ::std::ops::Deref for PipelineExecutableInfoKHRBuilder<'a> {
37902 fn deref(&self) -> &Self::Target { in deref()
37906 impl<'a> ::std::ops::DerefMut for PipelineExecutableInfoKHRBuilder<'a> {
37907 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
37912 pub fn pipeline(mut self, pipeline: Pipeline) -> Self { in pipeline()
37916 pub fn executable_index(mut self, executable_index: u32) -> Self { in executable_index()
37920 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
37923 pub fn build(self) -> PipelineExecutableInfoKHR { in build() method
37929 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineExecutabl…
37936 impl ::std::default::Default for PipelineExecutableStatisticValueKHR {
37937 fn default() -> PipelineExecutableStatisticValueKHR { in default()
37938 unsafe { ::std::mem::zeroed() } in default()
37943 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineExecutabl…
37953 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
37958 ::std::ffi::CStr::from_ptr(self.name.as_ptr() as *const c_char) in fmt()
37961 ::std::ffi::CStr::from_ptr(self.description.as_ptr() as *const c_char) in fmt()
37968 impl ::std::default::Default for PipelineExecutableStatisticKHR {
37969 fn default() -> PipelineExecutableStatisticKHR { in default()
37972 p_next: ::std::ptr::null_mut(), in default()
37973 name: unsafe { ::std::mem::zeroed() }, in default()
37974 description: unsafe { ::std::mem::zeroed() }, in default()
37981 pub fn builder<'a>() -> PipelineExecutableStatisticKHRBuilder<'a> { in builder()
37984 marker: ::std::marker::PhantomData, in builder()
37991 marker: ::std::marker::PhantomData<&'a ()>,
37993 impl<'a> ::std::ops::Deref for PipelineExecutableStatisticKHRBuilder<'a> {
37995 fn deref(&self) -> &Self::Target { in deref()
37999 impl<'a> ::std::ops::DerefMut for PipelineExecutableStatisticKHRBuilder<'a> {
38000 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
38005 pub fn name(mut self, name: [c_char; MAX_DESCRIPTION_SIZE]) -> Self { in name()
38009 pub fn description(mut self, description: [c_char; MAX_DESCRIPTION_SIZE]) -> Self { in description()
38013 pub fn format(mut self, format: PipelineExecutableStatisticFormatKHR) -> Self { in format()
38017 pub fn value(mut self, value: PipelineExecutableStatisticValueKHR) -> Self { in value()
38021 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
38024 pub fn build(self) -> PipelineExecutableStatisticKHR { in build() method
38030 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineExecutabl…
38041 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
38046 ::std::ffi::CStr::from_ptr(self.name.as_ptr() as *const c_char) in fmt()
38049 ::std::ffi::CStr::from_ptr(self.description.as_ptr() as *const c_char) in fmt()
38057 impl ::std::default::Default for PipelineExecutableInternalRepresentationKHR {
38058 fn default() -> PipelineExecutableInternalRepresentationKHR { in default()
38061 p_next: ::std::ptr::null_mut(), in default()
38062 name: unsafe { ::std::mem::zeroed() }, in default()
38063 description: unsafe { ::std::mem::zeroed() }, in default()
38066 p_data: ::std::ptr::null_mut(), in default()
38071 pub fn builder<'a>() -> PipelineExecutableInternalRepresentationKHRBuilder<'a> { in builder()
38074 marker: ::std::marker::PhantomData, in builder()
38081 marker: ::std::marker::PhantomData<&'a ()>,
38083 impl<'a> ::std::ops::Deref for PipelineExecutableInternalRepresentationKHRBuilder<'a> {
38085 fn deref(&self) -> &Self::Target { in deref()
38089 impl<'a> ::std::ops::DerefMut for PipelineExecutableInternalRepresentationKHRBuilder<'a> {
38090 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
38095 pub fn name(mut self, name: [c_char; MAX_DESCRIPTION_SIZE]) -> Self { in name()
38099 pub fn description(mut self, description: [c_char; MAX_DESCRIPTION_SIZE]) -> Self { in description()
38103 pub fn is_text(mut self, is_text: bool) -> Self { in is_text()
38107 pub fn data(mut self, data: &'a mut [u8]) -> Self { in data()
38112 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
38115 pub fn build(self) -> PipelineExecutableInternalRepresentationKHR { in build() method
38121 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSha…
38127 impl ::std::default::Default for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT {
38128 fn default() -> PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT { in default()
38131 p_next: ::std::ptr::null_mut(), in default()
38137 pub fn builder<'a>() -> PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXTBuilder<'a> { in builder()
38140 marker: ::std::marker::PhantomData, in builder()
38147 marker: ::std::marker::PhantomData<&'a ()>,
38162 impl<'a> ::std::ops::Deref for PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXTBuilder<'a> {
38164 fn deref(&self) -> &Self::Target { in deref()
38168 impl<'a> ::std::ops::DerefMut
38171 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
38179 ) -> Self { in shader_demote_to_helper_invocation()
38183 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
38186 pub fn build(self) -> PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT { in build() method
38192 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceTex…
38198 impl ::std::default::Default for PhysicalDeviceTexelBufferAlignmentFeaturesEXT {
38199 fn default() -> PhysicalDeviceTexelBufferAlignmentFeaturesEXT { in default()
38202 p_next: ::std::ptr::null_mut(), in default()
38208 pub fn builder<'a>() -> PhysicalDeviceTexelBufferAlignmentFeaturesEXTBuilder<'a> { in builder()
38211 marker: ::std::marker::PhantomData, in builder()
38218 marker: ::std::marker::PhantomData<&'a ()>,
38227 impl<'a> ::std::ops::Deref for PhysicalDeviceTexelBufferAlignmentFeaturesEXTBuilder<'a> {
38229 fn deref(&self) -> &Self::Target { in deref()
38233 impl<'a> ::std::ops::DerefMut for PhysicalDeviceTexelBufferAlignmentFeaturesEXTBuilder<'a> {
38234 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
38239 pub fn texel_buffer_alignment(mut self, texel_buffer_alignment: bool) -> Self { in texel_buffer_alignment()
38243 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
38246 pub fn build(self) -> PhysicalDeviceTexelBufferAlignmentFeaturesEXT { in build() method
38252 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceTex…
38261 impl ::std::default::Default for PhysicalDeviceTexelBufferAlignmentPropertiesEXT {
38262 fn default() -> PhysicalDeviceTexelBufferAlignmentPropertiesEXT { in default()
38265 p_next: ::std::ptr::null_mut(), in default()
38274 pub fn builder<'a>() -> PhysicalDeviceTexelBufferAlignmentPropertiesEXTBuilder<'a> { in builder()
38277 marker: ::std::marker::PhantomData, in builder()
38284 marker: ::std::marker::PhantomData<&'a ()>,
38291 impl<'a> ::std::ops::Deref for PhysicalDeviceTexelBufferAlignmentPropertiesEXTBuilder<'a> {
38293 fn deref(&self) -> &Self::Target { in deref()
38297 impl<'a> ::std::ops::DerefMut for PhysicalDeviceTexelBufferAlignmentPropertiesEXTBuilder<'a> {
38298 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
38306 ) -> Self { in storage_texel_buffer_offset_alignment_bytes()
38314 ) -> Self { in storage_texel_buffer_offset_single_texel_alignment()
38323 ) -> Self { in uniform_texel_buffer_offset_alignment_bytes()
38331 ) -> Self { in uniform_texel_buffer_offset_single_texel_alignment()
38337 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
38340 pub fn build(self) -> PhysicalDeviceTexelBufferAlignmentPropertiesEXT { in build() method
38346 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSub…
38353 impl ::std::default::Default for PhysicalDeviceSubgroupSizeControlFeaturesEXT {
38354 fn default() -> PhysicalDeviceSubgroupSizeControlFeaturesEXT { in default()
38357 p_next: ::std::ptr::null_mut(), in default()
38364 pub fn builder<'a>() -> PhysicalDeviceSubgroupSizeControlFeaturesEXTBuilder<'a> { in builder()
38367 marker: ::std::marker::PhantomData, in builder()
38374 marker: ::std::marker::PhantomData<&'a ()>,
38383 impl<'a> ::std::ops::Deref for PhysicalDeviceSubgroupSizeControlFeaturesEXTBuilder<'a> {
38385 fn deref(&self) -> &Self::Target { in deref()
38389 impl<'a> ::std::ops::DerefMut for PhysicalDeviceSubgroupSizeControlFeaturesEXTBuilder<'a> {
38390 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
38395 pub fn subgroup_size_control(mut self, subgroup_size_control: bool) -> Self { in subgroup_size_control()
38399 pub fn compute_full_subgroups(mut self, compute_full_subgroups: bool) -> Self { in compute_full_subgroups()
38403 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
38406 pub fn build(self) -> PhysicalDeviceSubgroupSizeControlFeaturesEXT { in build() method
38412 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSub…
38421 impl ::std::default::Default for PhysicalDeviceSubgroupSizeControlPropertiesEXT {
38422 fn default() -> PhysicalDeviceSubgroupSizeControlPropertiesEXT { in default()
38425 p_next: ::std::ptr::null_mut(), in default()
38434 pub fn builder<'a>() -> PhysicalDeviceSubgroupSizeControlPropertiesEXTBuilder<'a> { in builder()
38437 marker: ::std::marker::PhantomData, in builder()
38444 marker: ::std::marker::PhantomData<&'a ()>,
38451 impl<'a> ::std::ops::Deref for PhysicalDeviceSubgroupSizeControlPropertiesEXTBuilder<'a> {
38453 fn deref(&self) -> &Self::Target { in deref()
38457 impl<'a> ::std::ops::DerefMut for PhysicalDeviceSubgroupSizeControlPropertiesEXTBuilder<'a> {
38458 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
38463 pub fn min_subgroup_size(mut self, min_subgroup_size: u32) -> Self { in min_subgroup_size()
38467 pub fn max_subgroup_size(mut self, max_subgroup_size: u32) -> Self { in max_subgroup_size()
38471 pub fn max_compute_workgroup_subgroups(mut self, max_compute_workgroup_subgroups: u32) -> Self { in max_compute_workgroup_subgroups()
38478 ) -> Self { in required_subgroup_size_stages()
38482 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
38485 pub fn build(self) -> PhysicalDeviceSubgroupSizeControlPropertiesEXT { in build() method
38491 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineShaderSta…
38497 impl ::std::default::Default for PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT {
38498 fn default() -> PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT { in default()
38501 p_next: ::std::ptr::null_mut(), in default()
38507 pub fn builder<'a>() -> PipelineShaderStageRequiredSubgroupSizeCreateInfoEXTBuilder<'a> { in builder()
38510 marker: ::std::marker::PhantomData, in builder()
38517 marker: ::std::marker::PhantomData<&'a ()>,
38527 impl<'a> ::std::ops::Deref for PipelineShaderStageRequiredSubgroupSizeCreateInfoEXTBuilder<'a> {
38529 fn deref(&self) -> &Self::Target { in deref()
38533 impl<'a> ::std::ops::DerefMut for PipelineShaderStageRequiredSubgroupSizeCreateInfoEXTBuilder<'a> {
38534 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
38539 pub fn required_subgroup_size(mut self, required_subgroup_size: u32) -> Self { in required_subgroup_size()
38543 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
38546 pub fn build(self) -> PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT { in build() method
38552 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSubpassShadingPip…
38559 impl ::std::default::Default for SubpassShadingPipelineCreateInfoHUAWEI {
38560 fn default() -> SubpassShadingPipelineCreateInfoHUAWEI { in default()
38563 p_next: ::std::ptr::null_mut(), in default()
38570 pub fn builder<'a>() -> SubpassShadingPipelineCreateInfoHUAWEIBuilder<'a> { in builder()
38573 marker: ::std::marker::PhantomData, in builder()
38580 marker: ::std::marker::PhantomData<&'a ()>,
38584 impl<'a> ::std::ops::Deref for SubpassShadingPipelineCreateInfoHUAWEIBuilder<'a> {
38586 fn deref(&self) -> &Self::Target { in deref()
38590 impl<'a> ::std::ops::DerefMut for SubpassShadingPipelineCreateInfoHUAWEIBuilder<'a> {
38591 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
38596 pub fn render_pass(mut self, render_pass: RenderPass) -> Self { in render_pass()
38600 pub fn subpass(mut self, subpass: u32) -> Self { in subpass()
38604 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
38607 pub fn build(self) -> SubpassShadingPipelineCreateInfoHUAWEI { in build() method
38613 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSub…
38619 impl ::std::default::Default for PhysicalDeviceSubpassShadingPropertiesHUAWEI {
38620 fn default() -> PhysicalDeviceSubpassShadingPropertiesHUAWEI { in default()
38623 p_next: ::std::ptr::null_mut(), in default()
38629 pub fn builder<'a>() -> PhysicalDeviceSubpassShadingPropertiesHUAWEIBuilder<'a> { in builder()
38632 marker: ::std::marker::PhantomData, in builder()
38639 marker: ::std::marker::PhantomData<&'a ()>,
38646 impl<'a> ::std::ops::Deref for PhysicalDeviceSubpassShadingPropertiesHUAWEIBuilder<'a> {
38648 fn deref(&self) -> &Self::Target { in deref()
38652 impl<'a> ::std::ops::DerefMut for PhysicalDeviceSubpassShadingPropertiesHUAWEIBuilder<'a> {
38653 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
38661 ) -> Self { in max_subpass_shading_workgroup_size_aspect_ratio()
38666 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
38669 pub fn build(self) -> PhysicalDeviceSubpassShadingPropertiesHUAWEI { in build() method
38675 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMemoryOpaqueCaptu…
38681 impl ::std::default::Default for MemoryOpaqueCaptureAddressAllocateInfo {
38682 fn default() -> MemoryOpaqueCaptureAddressAllocateInfo { in default()
38685 p_next: ::std::ptr::null(), in default()
38691 pub fn builder<'a>() -> MemoryOpaqueCaptureAddressAllocateInfoBuilder<'a> { in builder()
38694 marker: ::std::marker::PhantomData, in builder()
38701 marker: ::std::marker::PhantomData<&'a ()>,
38705 impl<'a> ::std::ops::Deref for MemoryOpaqueCaptureAddressAllocateInfoBuilder<'a> {
38707 fn deref(&self) -> &Self::Target { in deref()
38711 impl<'a> ::std::ops::DerefMut for MemoryOpaqueCaptureAddressAllocateInfoBuilder<'a> {
38712 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
38717 pub fn opaque_capture_address(mut self, opaque_capture_address: u64) -> Self { in opaque_capture_address()
38721 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
38724 pub fn build(self) -> MemoryOpaqueCaptureAddressAllocateInfo { in build() method
38730 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceMemoryOpaqu…
38736 impl ::std::default::Default for DeviceMemoryOpaqueCaptureAddressInfo {
38737 fn default() -> DeviceMemoryOpaqueCaptureAddressInfo { in default()
38740 p_next: ::std::ptr::null(), in default()
38746 pub fn builder<'a>() -> DeviceMemoryOpaqueCaptureAddressInfoBuilder<'a> { in builder()
38749 marker: ::std::marker::PhantomData, in builder()
38756 marker: ::std::marker::PhantomData<&'a ()>,
38758 impl<'a> ::std::ops::Deref for DeviceMemoryOpaqueCaptureAddressInfoBuilder<'a> {
38760 fn deref(&self) -> &Self::Target { in deref()
38764 impl<'a> ::std::ops::DerefMut for DeviceMemoryOpaqueCaptureAddressInfoBuilder<'a> {
38765 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
38770 pub fn memory(mut self, memory: DeviceMemory) -> Self { in memory()
38774 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
38777 pub fn build(self) -> DeviceMemoryOpaqueCaptureAddressInfo { in build() method
38783 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceLin…
38794 impl ::std::default::Default for PhysicalDeviceLineRasterizationFeaturesEXT {
38795 fn default() -> PhysicalDeviceLineRasterizationFeaturesEXT { in default()
38798 p_next: ::std::ptr::null_mut(), in default()
38809 pub fn builder<'a>() -> PhysicalDeviceLineRasterizationFeaturesEXTBuilder<'a> { in builder()
38812 marker: ::std::marker::PhantomData, in builder()
38819 marker: ::std::marker::PhantomData<&'a ()>,
38828 impl<'a> ::std::ops::Deref for PhysicalDeviceLineRasterizationFeaturesEXTBuilder<'a> {
38830 fn deref(&self) -> &Self::Target { in deref()
38834 impl<'a> ::std::ops::DerefMut for PhysicalDeviceLineRasterizationFeaturesEXTBuilder<'a> {
38835 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
38840 pub fn rectangular_lines(mut self, rectangular_lines: bool) -> Self { in rectangular_lines()
38844 pub fn bresenham_lines(mut self, bresenham_lines: bool) -> Self { in bresenham_lines()
38848 pub fn smooth_lines(mut self, smooth_lines: bool) -> Self { in smooth_lines()
38852 pub fn stippled_rectangular_lines(mut self, stippled_rectangular_lines: bool) -> Self { in stippled_rectangular_lines()
38856 pub fn stippled_bresenham_lines(mut self, stippled_bresenham_lines: bool) -> Self { in stippled_bresenham_lines()
38860 pub fn stippled_smooth_lines(mut self, stippled_smooth_lines: bool) -> Self { in stippled_smooth_lines()
38864 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
38867 pub fn build(self) -> PhysicalDeviceLineRasterizationFeaturesEXT { in build() method
38873 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceLin…
38879 impl ::std::default::Default for PhysicalDeviceLineRasterizationPropertiesEXT {
38880 fn default() -> PhysicalDeviceLineRasterizationPropertiesEXT { in default()
38883 p_next: ::std::ptr::null_mut(), in default()
38889 pub fn builder<'a>() -> PhysicalDeviceLineRasterizationPropertiesEXTBuilder<'a> { in builder()
38892 marker: ::std::marker::PhantomData, in builder()
38899 marker: ::std::marker::PhantomData<&'a ()>,
38906 impl<'a> ::std::ops::Deref for PhysicalDeviceLineRasterizationPropertiesEXTBuilder<'a> {
38908 fn deref(&self) -> &Self::Target { in deref()
38912 impl<'a> ::std::ops::DerefMut for PhysicalDeviceLineRasterizationPropertiesEXTBuilder<'a> {
38913 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
38918 pub fn line_sub_pixel_precision_bits(mut self, line_sub_pixel_precision_bits: u32) -> Self { in line_sub_pixel_precision_bits()
38922 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
38925 pub fn build(self) -> PhysicalDeviceLineRasterizationPropertiesEXT { in build() method
38931 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineRasteriza…
38940 impl ::std::default::Default for PipelineRasterizationLineStateCreateInfoEXT {
38941 fn default() -> PipelineRasterizationLineStateCreateInfoEXT { in default()
38944 p_next: ::std::ptr::null(), in default()
38953 pub fn builder<'a>() -> PipelineRasterizationLineStateCreateInfoEXTBuilder<'a> { in builder()
38956 marker: ::std::marker::PhantomData, in builder()
38963 marker: ::std::marker::PhantomData<&'a ()>,
38973 impl<'a> ::std::ops::Deref for PipelineRasterizationLineStateCreateInfoEXTBuilder<'a> {
38975 fn deref(&self) -> &Self::Target { in deref()
38979 impl<'a> ::std::ops::DerefMut for PipelineRasterizationLineStateCreateInfoEXTBuilder<'a> {
38980 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
38988 ) -> Self { in line_rasterization_mode()
38992 pub fn stippled_line_enable(mut self, stippled_line_enable: bool) -> Self { in stippled_line_enable()
38996 pub fn line_stipple_factor(mut self, line_stipple_factor: u32) -> Self { in line_stipple_factor()
39000 pub fn line_stipple_pattern(mut self, line_stipple_pattern: u16) -> Self { in line_stipple_pattern()
39004 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
39007 pub fn build(self) -> PipelineRasterizationLineStateCreateInfoEXT { in build() method
39013 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDevicePip…
39019 impl ::std::default::Default for PhysicalDevicePipelineCreationCacheControlFeaturesEXT {
39020 fn default() -> PhysicalDevicePipelineCreationCacheControlFeaturesEXT { in default()
39023 p_next: ::std::ptr::null_mut(), in default()
39029 pub fn builder<'a>() -> PhysicalDevicePipelineCreationCacheControlFeaturesEXTBuilder<'a> { in builder()
39032 marker: ::std::marker::PhantomData, in builder()
39039 marker: ::std::marker::PhantomData<&'a ()>,
39054 impl<'a> ::std::ops::Deref for PhysicalDevicePipelineCreationCacheControlFeaturesEXTBuilder<'a> {
39056 fn deref(&self) -> &Self::Target { in deref()
39060 impl<'a> ::std::ops::DerefMut for PhysicalDevicePipelineCreationCacheControlFeaturesEXTBuilder<'a> {
39061 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
39069 ) -> Self { in pipeline_creation_cache_control()
39073 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
39076 pub fn build(self) -> PhysicalDevicePipelineCreationCacheControlFeaturesEXT { in build() method
39082 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceVul…
39099 impl ::std::default::Default for PhysicalDeviceVulkan11Features {
39100 fn default() -> PhysicalDeviceVulkan11Features { in default()
39103 p_next: ::std::ptr::null_mut(), in default()
39120 pub fn builder<'a>() -> PhysicalDeviceVulkan11FeaturesBuilder<'a> { in builder()
39123 marker: ::std::marker::PhantomData, in builder()
39130 marker: ::std::marker::PhantomData<&'a ()>,
39136 impl<'a> ::std::ops::Deref for PhysicalDeviceVulkan11FeaturesBuilder<'a> {
39138 fn deref(&self) -> &Self::Target { in deref()
39142 impl<'a> ::std::ops::DerefMut for PhysicalDeviceVulkan11FeaturesBuilder<'a> {
39143 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
39148 pub fn storage_buffer16_bit_access(mut self, storage_buffer16_bit_access: bool) -> Self { in storage_buffer16_bit_access()
39155 ) -> Self { in uniform_and_storage_buffer16_bit_access()
39160 pub fn storage_push_constant16(mut self, storage_push_constant16: bool) -> Self { in storage_push_constant16()
39164 pub fn storage_input_output16(mut self, storage_input_output16: bool) -> Self { in storage_input_output16()
39168 pub fn multiview(mut self, multiview: bool) -> Self { in multiview()
39172 pub fn multiview_geometry_shader(mut self, multiview_geometry_shader: bool) -> Self { in multiview_geometry_shader()
39176 pub fn multiview_tessellation_shader(mut self, multiview_tessellation_shader: bool) -> Self { in multiview_tessellation_shader()
39183 ) -> Self { in variable_pointers_storage_buffer()
39187 pub fn variable_pointers(mut self, variable_pointers: bool) -> Self { in variable_pointers()
39191 pub fn protected_memory(mut self, protected_memory: bool) -> Self { in protected_memory()
39195 pub fn sampler_ycbcr_conversion(mut self, sampler_ycbcr_conversion: bool) -> Self { in sampler_ycbcr_conversion()
39199 pub fn shader_draw_parameters(mut self, shader_draw_parameters: bool) -> Self { in shader_draw_parameters()
39203 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
39206 pub fn build(self) -> PhysicalDeviceVulkan11Features { in build() method
39212 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceVul…
39232 impl ::std::default::Default for PhysicalDeviceVulkan11Properties {
39233 fn default() -> PhysicalDeviceVulkan11Properties { in default()
39236 p_next: ::std::ptr::null_mut(), in default()
39237 device_uuid: unsafe { ::std::mem::zeroed() }, in default()
39238 driver_uuid: unsafe { ::std::mem::zeroed() }, in default()
39239 device_luid: unsafe { ::std::mem::zeroed() }, in default()
39256 pub fn builder<'a>() -> PhysicalDeviceVulkan11PropertiesBuilder<'a> { in builder()
39259 marker: ::std::marker::PhantomData, in builder()
39266 marker: ::std::marker::PhantomData<&'a ()>,
39270 impl<'a> ::std::ops::Deref for PhysicalDeviceVulkan11PropertiesBuilder<'a> {
39272 fn deref(&self) -> &Self::Target { in deref()
39276 impl<'a> ::std::ops::DerefMut for PhysicalDeviceVulkan11PropertiesBuilder<'a> {
39277 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
39282 pub fn device_uuid(mut self, device_uuid: [u8; UUID_SIZE]) -> Self { in device_uuid()
39286 pub fn driver_uuid(mut self, driver_uuid: [u8; UUID_SIZE]) -> Self { in driver_uuid()
39290 pub fn device_luid(mut self, device_luid: [u8; LUID_SIZE]) -> Self { in device_luid()
39294 pub fn device_node_mask(mut self, device_node_mask: u32) -> Self { in device_node_mask()
39298 pub fn device_luid_valid(mut self, device_luid_valid: bool) -> Self { in device_luid_valid()
39302 pub fn subgroup_size(mut self, subgroup_size: u32) -> Self { in subgroup_size()
39309 ) -> Self { in subgroup_supported_stages()
39316 ) -> Self { in subgroup_supported_operations()
39323 ) -> Self { in subgroup_quad_operations_in_all_stages()
39331 ) -> Self { in point_clipping_behavior()
39335 pub fn max_multiview_view_count(mut self, max_multiview_view_count: u32) -> Self { in max_multiview_view_count()
39339 pub fn max_multiview_instance_index(mut self, max_multiview_instance_index: u32) -> Self { in max_multiview_instance_index()
39343 pub fn protected_no_fault(mut self, protected_no_fault: bool) -> Self { in protected_no_fault()
39347 pub fn max_per_set_descriptors(mut self, max_per_set_descriptors: u32) -> Self { in max_per_set_descriptors()
39351 pub fn max_memory_allocation_size(mut self, max_memory_allocation_size: DeviceSize) -> Self { in max_memory_allocation_size()
39355 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
39358 pub fn build(self) -> PhysicalDeviceVulkan11Properties { in build() method
39364 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceVul…
39416 impl ::std::default::Default for PhysicalDeviceVulkan12Features {
39417 fn default() -> PhysicalDeviceVulkan12Features { in default()
39420 p_next: ::std::ptr::null_mut(), in default()
39472 pub fn builder<'a>() -> PhysicalDeviceVulkan12FeaturesBuilder<'a> { in builder()
39475 marker: ::std::marker::PhantomData, in builder()
39482 marker: ::std::marker::PhantomData<&'a ()>,
39488 impl<'a> ::std::ops::Deref for PhysicalDeviceVulkan12FeaturesBuilder<'a> {
39490 fn deref(&self) -> &Self::Target { in deref()
39494 impl<'a> ::std::ops::DerefMut for PhysicalDeviceVulkan12FeaturesBuilder<'a> {
39495 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
39500 pub fn sampler_mirror_clamp_to_edge(mut self, sampler_mirror_clamp_to_edge: bool) -> Self { in sampler_mirror_clamp_to_edge()
39504 pub fn draw_indirect_count(mut self, draw_indirect_count: bool) -> Self { in draw_indirect_count()
39508 pub fn storage_buffer8_bit_access(mut self, storage_buffer8_bit_access: bool) -> Self { in storage_buffer8_bit_access()
39515 ) -> Self { in uniform_and_storage_buffer8_bit_access()
39520 pub fn storage_push_constant8(mut self, storage_push_constant8: bool) -> Self { in storage_push_constant8()
39524 pub fn shader_buffer_int64_atomics(mut self, shader_buffer_int64_atomics: bool) -> Self { in shader_buffer_int64_atomics()
39528 pub fn shader_shared_int64_atomics(mut self, shader_shared_int64_atomics: bool) -> Self { in shader_shared_int64_atomics()
39532 pub fn shader_float16(mut self, shader_float16: bool) -> Self { in shader_float16()
39536 pub fn shader_int8(mut self, shader_int8: bool) -> Self { in shader_int8()
39540 pub fn descriptor_indexing(mut self, descriptor_indexing: bool) -> Self { in descriptor_indexing()
39547 ) -> Self { in shader_input_attachment_array_dynamic_indexing()
39555 ) -> Self { in shader_uniform_texel_buffer_array_dynamic_indexing()
39564 ) -> Self { in shader_storage_texel_buffer_array_dynamic_indexing()
39573 ) -> Self { in shader_uniform_buffer_array_non_uniform_indexing()
39581 ) -> Self { in shader_sampled_image_array_non_uniform_indexing()
39589 ) -> Self { in shader_storage_buffer_array_non_uniform_indexing()
39597 ) -> Self { in shader_storage_image_array_non_uniform_indexing()
39605 ) -> Self { in shader_input_attachment_array_non_uniform_indexing()
39614 ) -> Self { in shader_uniform_texel_buffer_array_non_uniform_indexing()
39623 ) -> Self { in shader_storage_texel_buffer_array_non_uniform_indexing()
39632 ) -> Self { in descriptor_binding_uniform_buffer_update_after_bind()
39641 ) -> Self { in descriptor_binding_sampled_image_update_after_bind()
39650 ) -> Self { in descriptor_binding_storage_image_update_after_bind()
39659 ) -> Self { in descriptor_binding_storage_buffer_update_after_bind()
39668 ) -> Self { in descriptor_binding_uniform_texel_buffer_update_after_bind()
39677 ) -> Self { in descriptor_binding_storage_texel_buffer_update_after_bind()
39686 ) -> Self { in descriptor_binding_update_unused_while_pending()
39694 ) -> Self { in descriptor_binding_partially_bound()
39701 ) -> Self { in descriptor_binding_variable_descriptor_count()
39706 pub fn runtime_descriptor_array(mut self, runtime_descriptor_array: bool) -> Self { in runtime_descriptor_array()
39710 pub fn sampler_filter_minmax(mut self, sampler_filter_minmax: bool) -> Self { in sampler_filter_minmax()
39714 pub fn scalar_block_layout(mut self, scalar_block_layout: bool) -> Self { in scalar_block_layout()
39718 pub fn imageless_framebuffer(mut self, imageless_framebuffer: bool) -> Self { in imageless_framebuffer()
39722 pub fn uniform_buffer_standard_layout(mut self, uniform_buffer_standard_layout: bool) -> Self { in uniform_buffer_standard_layout()
39726 pub fn shader_subgroup_extended_types(mut self, shader_subgroup_extended_types: bool) -> Self { in shader_subgroup_extended_types()
39730 pub fn separate_depth_stencil_layouts(mut self, separate_depth_stencil_layouts: bool) -> Self { in separate_depth_stencil_layouts()
39734 pub fn host_query_reset(mut self, host_query_reset: bool) -> Self { in host_query_reset()
39738 pub fn timeline_semaphore(mut self, timeline_semaphore: bool) -> Self { in timeline_semaphore()
39742 pub fn buffer_device_address(mut self, buffer_device_address: bool) -> Self { in buffer_device_address()
39749 ) -> Self { in buffer_device_address_capture_replay()
39757 ) -> Self { in buffer_device_address_multi_device()
39761 pub fn vulkan_memory_model(mut self, vulkan_memory_model: bool) -> Self { in vulkan_memory_model()
39768 ) -> Self { in vulkan_memory_model_device_scope()
39775 ) -> Self { in vulkan_memory_model_availability_visibility_chains()
39781 pub fn shader_output_viewport_index(mut self, shader_output_viewport_index: bool) -> Self { in shader_output_viewport_index()
39785 pub fn shader_output_layer(mut self, shader_output_layer: bool) -> Self { in shader_output_layer()
39789 pub fn subgroup_broadcast_dynamic_id(mut self, subgroup_broadcast_dynamic_id: bool) -> Self { in subgroup_broadcast_dynamic_id()
39793 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
39796 pub fn build(self) -> PhysicalDeviceVulkan12Features { in build() method
39802 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceVul…
39860 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
39866 ::std::ffi::CStr::from_ptr(self.driver_name.as_ptr() as *const c_char) in fmt()
39869 ::std::ffi::CStr::from_ptr(self.driver_info.as_ptr() as *const c_char) in fmt()
40061 impl ::std::default::Default for PhysicalDeviceVulkan12Properties {
40062 fn default() -> PhysicalDeviceVulkan12Properties { in default()
40065 p_next: ::std::ptr::null_mut(), in default()
40067 driver_name: unsafe { ::std::mem::zeroed() }, in default()
40068 driver_info: unsafe { ::std::mem::zeroed() }, in default()
40122 pub fn builder<'a>() -> PhysicalDeviceVulkan12PropertiesBuilder<'a> { in builder()
40125 marker: ::std::marker::PhantomData, in builder()
40132 marker: ::std::marker::PhantomData<&'a ()>,
40136 impl<'a> ::std::ops::Deref for PhysicalDeviceVulkan12PropertiesBuilder<'a> {
40138 fn deref(&self) -> &Self::Target { in deref()
40142 impl<'a> ::std::ops::DerefMut for PhysicalDeviceVulkan12PropertiesBuilder<'a> {
40143 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
40148 pub fn driver_id(mut self, driver_id: DriverId) -> Self { in driver_id()
40152 pub fn driver_name(mut self, driver_name: [c_char; MAX_DRIVER_NAME_SIZE]) -> Self { in driver_name()
40156 pub fn driver_info(mut self, driver_info: [c_char; MAX_DRIVER_INFO_SIZE]) -> Self { in driver_info()
40160 pub fn conformance_version(mut self, conformance_version: ConformanceVersion) -> Self { in conformance_version()
40167 ) -> Self { in denorm_behavior_independence()
40174 ) -> Self { in rounding_mode_independence()
40181 ) -> Self { in shader_signed_zero_inf_nan_preserve_float16()
40189 ) -> Self { in shader_signed_zero_inf_nan_preserve_float32()
40197 ) -> Self { in shader_signed_zero_inf_nan_preserve_float64()
40202 pub fn shader_denorm_preserve_float16(mut self, shader_denorm_preserve_float16: bool) -> Self { in shader_denorm_preserve_float16()
40206 pub fn shader_denorm_preserve_float32(mut self, shader_denorm_preserve_float32: bool) -> Self { in shader_denorm_preserve_float32()
40210 pub fn shader_denorm_preserve_float64(mut self, shader_denorm_preserve_float64: bool) -> Self { in shader_denorm_preserve_float64()
40217 ) -> Self { in shader_denorm_flush_to_zero_float16()
40224 ) -> Self { in shader_denorm_flush_to_zero_float32()
40231 ) -> Self { in shader_denorm_flush_to_zero_float64()
40238 ) -> Self { in shader_rounding_mode_rte_float16()
40245 ) -> Self { in shader_rounding_mode_rte_float32()
40252 ) -> Self { in shader_rounding_mode_rte_float64()
40259 ) -> Self { in shader_rounding_mode_rtz_float16()
40266 ) -> Self { in shader_rounding_mode_rtz_float32()
40273 ) -> Self { in shader_rounding_mode_rtz_float64()
40280 ) -> Self { in max_update_after_bind_descriptors_in_all_pools()
40288 ) -> Self { in shader_uniform_buffer_array_non_uniform_indexing_native()
40297 ) -> Self { in shader_sampled_image_array_non_uniform_indexing_native()
40306 ) -> Self { in shader_storage_buffer_array_non_uniform_indexing_native()
40315 ) -> Self { in shader_storage_image_array_non_uniform_indexing_native()
40324 ) -> Self { in shader_input_attachment_array_non_uniform_indexing_native()
40333 ) -> Self { in robust_buffer_access_update_after_bind()
40338 pub fn quad_divergent_implicit_lod(mut self, quad_divergent_implicit_lod: bool) -> Self { in quad_divergent_implicit_lod()
40345 ) -> Self { in max_per_stage_descriptor_update_after_bind_samplers()
40354 ) -> Self { in max_per_stage_descriptor_update_after_bind_uniform_buffers()
40363 ) -> Self { in max_per_stage_descriptor_update_after_bind_storage_buffers()
40372 ) -> Self { in max_per_stage_descriptor_update_after_bind_sampled_images()
40381 ) -> Self { in max_per_stage_descriptor_update_after_bind_storage_images()
40390 ) -> Self { in max_per_stage_descriptor_update_after_bind_input_attachments()
40399 ) -> Self { in max_per_stage_update_after_bind_resources()
40407 ) -> Self { in max_descriptor_set_update_after_bind_samplers()
40415 ) -> Self { in max_descriptor_set_update_after_bind_uniform_buffers()
40424 ) -> Self { in max_descriptor_set_update_after_bind_uniform_buffers_dynamic()
40433 ) -> Self { in max_descriptor_set_update_after_bind_storage_buffers()
40442 ) -> Self { in max_descriptor_set_update_after_bind_storage_buffers_dynamic()
40451 ) -> Self { in max_descriptor_set_update_after_bind_sampled_images()
40460 ) -> Self { in max_descriptor_set_update_after_bind_storage_images()
40469 ) -> Self { in max_descriptor_set_update_after_bind_input_attachments()
40478 ) -> Self { in supported_depth_resolve_modes()
40485 ) -> Self { in supported_stencil_resolve_modes()
40489 pub fn independent_resolve_none(mut self, independent_resolve_none: bool) -> Self { in independent_resolve_none()
40493 pub fn independent_resolve(mut self, independent_resolve: bool) -> Self { in independent_resolve()
40500 ) -> Self { in filter_minmax_single_component_formats()
40508 ) -> Self { in filter_minmax_image_component_mapping()
40516 ) -> Self { in max_timeline_semaphore_value_difference()
40524 ) -> Self { in framebuffer_integer_color_sample_counts()
40529 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
40532 pub fn build(self) -> PhysicalDeviceVulkan12Properties { in build() method
40538 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineCompilerC…
40544 impl ::std::default::Default for PipelineCompilerControlCreateInfoAMD {
40545 fn default() -> PipelineCompilerControlCreateInfoAMD { in default()
40548 p_next: ::std::ptr::null(), in default()
40554 pub fn builder<'a>() -> PipelineCompilerControlCreateInfoAMDBuilder<'a> { in builder()
40557 marker: ::std::marker::PhantomData, in builder()
40564 marker: ::std::marker::PhantomData<&'a ()>,
40570 impl<'a> ::std::ops::Deref for PipelineCompilerControlCreateInfoAMDBuilder<'a> {
40572 fn deref(&self) -> &Self::Target { in deref()
40576 impl<'a> ::std::ops::DerefMut for PipelineCompilerControlCreateInfoAMDBuilder<'a> {
40577 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
40585 ) -> Self { in compiler_control_flags()
40589 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
40592 pub fn build(self) -> PipelineCompilerControlCreateInfoAMD { in build() method
40598 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceCoh…
40604 impl ::std::default::Default for PhysicalDeviceCoherentMemoryFeaturesAMD {
40605 fn default() -> PhysicalDeviceCoherentMemoryFeaturesAMD { in default()
40608 p_next: ::std::ptr::null_mut(), in default()
40614 pub fn builder<'a>() -> PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a> { in builder()
40617 marker: ::std::marker::PhantomData, in builder()
40624 marker: ::std::marker::PhantomData<&'a ()>,
40630 impl<'a> ::std::ops::Deref for PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a> {
40632 fn deref(&self) -> &Self::Target { in deref()
40636 impl<'a> ::std::ops::DerefMut for PhysicalDeviceCoherentMemoryFeaturesAMDBuilder<'a> {
40637 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
40642 pub fn device_coherent_memory(mut self, device_coherent_memory: bool) -> Self { in device_coherent_memory()
40646 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
40649 pub fn build(self) -> PhysicalDeviceCoherentMemoryFeaturesAMD { in build() method
40655 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceToo…
40666 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
40671 ::std::ffi::CStr::from_ptr(self.name.as_ptr() as *const c_char) in fmt()
40674 ::std::ffi::CStr::from_ptr(self.version.as_ptr() as *const c_char) in fmt()
40678 ::std::ffi::CStr::from_ptr(self.description.as_ptr() as *const c_char) in fmt()
40681 ::std::ffi::CStr::from_ptr(self.layer.as_ptr() as *const c_char) in fmt()
40686 impl ::std::default::Default for PhysicalDeviceToolPropertiesEXT {
40687 fn default() -> PhysicalDeviceToolPropertiesEXT { in default()
40690 p_next: ::std::ptr::null_mut(), in default()
40691 name: unsafe { ::std::mem::zeroed() }, in default()
40692 version: unsafe { ::std::mem::zeroed() }, in default()
40694 description: unsafe { ::std::mem::zeroed() }, in default()
40695 layer: unsafe { ::std::mem::zeroed() }, in default()
40700 pub fn builder<'a>() -> PhysicalDeviceToolPropertiesEXTBuilder<'a> { in builder()
40703 marker: ::std::marker::PhantomData, in builder()
40710 marker: ::std::marker::PhantomData<&'a ()>,
40712 impl<'a> ::std::ops::Deref for PhysicalDeviceToolPropertiesEXTBuilder<'a> {
40714 fn deref(&self) -> &Self::Target { in deref()
40718 impl<'a> ::std::ops::DerefMut for PhysicalDeviceToolPropertiesEXTBuilder<'a> {
40719 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
40724 pub fn name(mut self, name: [c_char; MAX_EXTENSION_NAME_SIZE]) -> Self { in name()
40728 pub fn version(mut self, version: [c_char; MAX_EXTENSION_NAME_SIZE]) -> Self { in version()
40732 pub fn purposes(mut self, purposes: ToolPurposeFlagsEXT) -> Self { in purposes()
40736 pub fn description(mut self, description: [c_char; MAX_DESCRIPTION_SIZE]) -> Self { in description()
40740 pub fn layer(mut self, layer: [c_char; MAX_EXTENSION_NAME_SIZE]) -> Self { in layer()
40744 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
40747 pub fn build(self) -> PhysicalDeviceToolPropertiesEXT { in build() method
40753 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSamplerCustomBord…
40761 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
40770 impl ::std::default::Default for SamplerCustomBorderColorCreateInfoEXT {
40771 fn default() -> SamplerCustomBorderColorCreateInfoEXT { in default()
40774 p_next: ::std::ptr::null(), in default()
40781 pub fn builder<'a>() -> SamplerCustomBorderColorCreateInfoEXTBuilder<'a> { in builder()
40784 marker: ::std::marker::PhantomData, in builder()
40791 marker: ::std::marker::PhantomData<&'a ()>,
40795 impl<'a> ::std::ops::Deref for SamplerCustomBorderColorCreateInfoEXTBuilder<'a> {
40797 fn deref(&self) -> &Self::Target { in deref()
40801 impl<'a> ::std::ops::DerefMut for SamplerCustomBorderColorCreateInfoEXTBuilder<'a> {
40802 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
40807 pub fn custom_border_color(mut self, custom_border_color: ClearColorValue) -> Self { in custom_border_color()
40811 pub fn format(mut self, format: Format) -> Self { in format()
40815 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
40818 pub fn build(self) -> SamplerCustomBorderColorCreateInfoEXT { in build() method
40824 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceCus…
40830 impl ::std::default::Default for PhysicalDeviceCustomBorderColorPropertiesEXT {
40831 fn default() -> PhysicalDeviceCustomBorderColorPropertiesEXT { in default()
40834 p_next: ::std::ptr::null_mut(), in default()
40840 pub fn builder<'a>() -> PhysicalDeviceCustomBorderColorPropertiesEXTBuilder<'a> { in builder()
40843 marker: ::std::marker::PhantomData, in builder()
40850 marker: ::std::marker::PhantomData<&'a ()>,
40857 impl<'a> ::std::ops::Deref for PhysicalDeviceCustomBorderColorPropertiesEXTBuilder<'a> {
40859 fn deref(&self) -> &Self::Target { in deref()
40863 impl<'a> ::std::ops::DerefMut for PhysicalDeviceCustomBorderColorPropertiesEXTBuilder<'a> {
40864 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
40872 ) -> Self { in max_custom_border_color_samplers()
40876 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
40879 pub fn build(self) -> PhysicalDeviceCustomBorderColorPropertiesEXT { in build() method
40885 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceCus…
40892 impl ::std::default::Default for PhysicalDeviceCustomBorderColorFeaturesEXT {
40893 fn default() -> PhysicalDeviceCustomBorderColorFeaturesEXT { in default()
40896 p_next: ::std::ptr::null_mut(), in default()
40903 pub fn builder<'a>() -> PhysicalDeviceCustomBorderColorFeaturesEXTBuilder<'a> { in builder()
40906 marker: ::std::marker::PhantomData, in builder()
40913 marker: ::std::marker::PhantomData<&'a ()>,
40922 impl<'a> ::std::ops::Deref for PhysicalDeviceCustomBorderColorFeaturesEXTBuilder<'a> {
40924 fn deref(&self) -> &Self::Target { in deref()
40928 impl<'a> ::std::ops::DerefMut for PhysicalDeviceCustomBorderColorFeaturesEXTBuilder<'a> {
40929 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
40934 pub fn custom_border_colors(mut self, custom_border_colors: bool) -> Self { in custom_border_colors()
40941 ) -> Self { in custom_border_color_without_format()
40945 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
40948 pub fn build(self) -> PhysicalDeviceCustomBorderColorFeaturesEXT { in build() method
40954 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceOrHostAddre…
40959 impl ::std::default::Default for DeviceOrHostAddressKHR {
40960 fn default() -> DeviceOrHostAddressKHR { in default()
40961 unsafe { ::std::mem::zeroed() } in default()
40966 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceOrHostAddre…
40971 impl ::std::default::Default for DeviceOrHostAddressConstKHR {
40972 fn default() -> DeviceOrHostAddressConstKHR { in default()
40973 unsafe { ::std::mem::zeroed() } in default()
40978 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAccelerationStruc…
40991 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
41005 impl ::std::default::Default for AccelerationStructureGeometryTrianglesDataKHR {
41006 fn default() -> AccelerationStructureGeometryTrianglesDataKHR { in default()
41009 p_next: ::std::ptr::null(), in default()
41021 pub fn builder<'a>() -> AccelerationStructureGeometryTrianglesDataKHRBuilder<'a> { in builder()
41024 marker: ::std::marker::PhantomData, in builder()
41031 marker: ::std::marker::PhantomData<&'a ()>,
41034 impl<'a> ::std::ops::Deref for AccelerationStructureGeometryTrianglesDataKHRBuilder<'a> {
41036 fn deref(&self) -> &Self::Target { in deref()
41040 impl<'a> ::std::ops::DerefMut for AccelerationStructureGeometryTrianglesDataKHRBuilder<'a> {
41041 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
41046 pub fn vertex_format(mut self, vertex_format: Format) -> Self { in vertex_format()
41050 pub fn vertex_data(mut self, vertex_data: DeviceOrHostAddressConstKHR) -> Self { in vertex_data()
41054 pub fn vertex_stride(mut self, vertex_stride: DeviceSize) -> Self { in vertex_stride()
41058 pub fn max_vertex(mut self, max_vertex: u32) -> Self { in max_vertex()
41062 pub fn index_type(mut self, index_type: IndexType) -> Self { in index_type()
41066 pub fn index_data(mut self, index_data: DeviceOrHostAddressConstKHR) -> Self { in index_data()
41070 pub fn transform_data(mut self, transform_data: DeviceOrHostAddressConstKHR) -> Self { in transform_data()
41077 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
41078 #[doc = r" chain will look like `A -> D -> B -> C`."]
41082 ) -> Self { in push_next()
41091 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
41094 pub fn build(self) -> AccelerationStructureGeometryTrianglesDataKHR { in build() method
41100 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAccelerationStruc…
41108 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
41117 impl ::std::default::Default for AccelerationStructureGeometryAabbsDataKHR {
41118 fn default() -> AccelerationStructureGeometryAabbsDataKHR { in default()
41121 p_next: ::std::ptr::null(), in default()
41128 pub fn builder<'a>() -> AccelerationStructureGeometryAabbsDataKHRBuilder<'a> { in builder()
41131 marker: ::std::marker::PhantomData, in builder()
41138 marker: ::std::marker::PhantomData<&'a ()>,
41140 impl<'a> ::std::ops::Deref for AccelerationStructureGeometryAabbsDataKHRBuilder<'a> {
41142 fn deref(&self) -> &Self::Target { in deref()
41146 impl<'a> ::std::ops::DerefMut for AccelerationStructureGeometryAabbsDataKHRBuilder<'a> {
41147 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
41152 pub fn data(mut self, data: DeviceOrHostAddressConstKHR) -> Self { in data()
41156 pub fn stride(mut self, stride: DeviceSize) -> Self { in stride()
41160 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
41163 pub fn build(self) -> AccelerationStructureGeometryAabbsDataKHR { in build() method
41169 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAccelerationStruc…
41177 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
41186 impl ::std::default::Default for AccelerationStructureGeometryInstancesDataKHR {
41187 fn default() -> AccelerationStructureGeometryInstancesDataKHR { in default()
41190 p_next: ::std::ptr::null(), in default()
41197 pub fn builder<'a>() -> AccelerationStructureGeometryInstancesDataKHRBuilder<'a> { in builder()
41200 marker: ::std::marker::PhantomData, in builder()
41207 marker: ::std::marker::PhantomData<&'a ()>,
41209 impl<'a> ::std::ops::Deref for AccelerationStructureGeometryInstancesDataKHRBuilder<'a> {
41211 fn deref(&self) -> &Self::Target { in deref()
41215 impl<'a> ::std::ops::DerefMut for AccelerationStructureGeometryInstancesDataKHRBuilder<'a> {
41216 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
41221 pub fn array_of_pointers(mut self, array_of_pointers: bool) -> Self { in array_of_pointers()
41225 pub fn data(mut self, data: DeviceOrHostAddressConstKHR) -> Self { in data()
41229 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
41232 pub fn build(self) -> AccelerationStructureGeometryInstancesDataKHR { in build() method
41238 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAccelerationStruc…
41244 impl ::std::default::Default for AccelerationStructureGeometryDataKHR {
41245 fn default() -> AccelerationStructureGeometryDataKHR { in default()
41246 unsafe { ::std::mem::zeroed() } in default()
41251 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAccelerationStruc…
41260 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
41270 impl ::std::default::Default for AccelerationStructureGeometryKHR {
41271 fn default() -> AccelerationStructureGeometryKHR { in default()
41274 p_next: ::std::ptr::null(), in default()
41282 pub fn builder<'a>() -> AccelerationStructureGeometryKHRBuilder<'a> { in builder()
41285 marker: ::std::marker::PhantomData, in builder()
41292 marker: ::std::marker::PhantomData<&'a ()>,
41294 impl<'a> ::std::ops::Deref for AccelerationStructureGeometryKHRBuilder<'a> {
41296 fn deref(&self) -> &Self::Target { in deref()
41300 impl<'a> ::std::ops::DerefMut for AccelerationStructureGeometryKHRBuilder<'a> {
41301 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
41306 pub fn geometry_type(mut self, geometry_type: GeometryTypeKHR) -> Self { in geometry_type()
41310 pub fn geometry(mut self, geometry: AccelerationStructureGeometryDataKHR) -> Self { in geometry()
41314 pub fn flags(mut self, flags: GeometryFlagsKHR) -> Self { in flags()
41318 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
41321 pub fn build(self) -> AccelerationStructureGeometryKHR { in build() method
41327 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAccelerationStruc…
41342 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
41364 impl ::std::default::Default for AccelerationStructureBuildGeometryInfoKHR {
41365 fn default() -> AccelerationStructureBuildGeometryInfoKHR { in default()
41368 p_next: ::std::ptr::null(), in default()
41375 p_geometries: ::std::ptr::null(), in default()
41376 pp_geometries: ::std::ptr::null(), in default()
41382 pub fn builder<'a>() -> AccelerationStructureBuildGeometryInfoKHRBuilder<'a> { in builder()
41385 marker: ::std::marker::PhantomData, in builder()
41392 marker: ::std::marker::PhantomData<&'a ()>,
41394 impl<'a> ::std::ops::Deref for AccelerationStructureBuildGeometryInfoKHRBuilder<'a> {
41396 fn deref(&self) -> &Self::Target { in deref()
41400 impl<'a> ::std::ops::DerefMut for AccelerationStructureBuildGeometryInfoKHRBuilder<'a> {
41401 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
41406 pub fn ty(mut self, ty: AccelerationStructureTypeKHR) -> Self { in ty()
41410 pub fn flags(mut self, flags: BuildAccelerationStructureFlagsKHR) -> Self { in flags()
41414 pub fn mode(mut self, mode: BuildAccelerationStructureModeKHR) -> Self { in mode()
41421 ) -> Self { in src_acceleration_structure()
41428 ) -> Self { in dst_acceleration_structure()
41432 pub fn geometries(mut self, geometries: &'a [AccelerationStructureGeometryKHR]) -> Self { in geometries()
41440 ) -> Self { in geometries_ptrs()
41445 pub fn scratch_data(mut self, scratch_data: DeviceOrHostAddressKHR) -> Self { in scratch_data()
41449 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
41452 pub fn build(self) -> AccelerationStructureBuildGeometryInfoKHR { in build() method
41458 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAccelerationStruc…
41466 pub fn builder<'a>() -> AccelerationStructureBuildRangeInfoKHRBuilder<'a> { in builder()
41469 marker: ::std::marker::PhantomData, in builder()
41476 marker: ::std::marker::PhantomData<&'a ()>,
41478 impl<'a> ::std::ops::Deref for AccelerationStructureBuildRangeInfoKHRBuilder<'a> {
41480 fn deref(&self) -> &Self::Target { in deref()
41484 impl<'a> ::std::ops::DerefMut for AccelerationStructureBuildRangeInfoKHRBuilder<'a> {
41485 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
41490 pub fn primitive_count(mut self, primitive_count: u32) -> Self { in primitive_count()
41494 pub fn primitive_offset(mut self, primitive_offset: u32) -> Self { in primitive_offset()
41498 pub fn first_vertex(mut self, first_vertex: u32) -> Self { in first_vertex()
41502 pub fn transform_offset(mut self, transform_offset: u32) -> Self { in transform_offset()
41506 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
41509 pub fn build(self) -> AccelerationStructureBuildRangeInfoKHR { in build() method
41515 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAccelerationStruc…
41526 impl ::std::default::Default for AccelerationStructureCreateInfoKHR {
41527 fn default() -> AccelerationStructureCreateInfoKHR { in default()
41530 p_next: ::std::ptr::null(), in default()
41541 pub fn builder<'a>() -> AccelerationStructureCreateInfoKHRBuilder<'a> { in builder()
41544 marker: ::std::marker::PhantomData, in builder()
41551 marker: ::std::marker::PhantomData<&'a ()>,
41554 impl<'a> ::std::ops::Deref for AccelerationStructureCreateInfoKHRBuilder<'a> {
41556 fn deref(&self) -> &Self::Target { in deref()
41560 impl<'a> ::std::ops::DerefMut for AccelerationStructureCreateInfoKHRBuilder<'a> {
41561 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
41566 pub fn create_flags(mut self, create_flags: AccelerationStructureCreateFlagsKHR) -> Self { in create_flags()
41570 pub fn buffer(mut self, buffer: Buffer) -> Self { in buffer()
41574 pub fn offset(mut self, offset: DeviceSize) -> Self { in offset()
41578 pub fn size(mut self, size: DeviceSize) -> Self { in size()
41582 pub fn ty(mut self, ty: AccelerationStructureTypeKHR) -> Self { in ty()
41586 pub fn device_address(mut self, device_address: DeviceAddress) -> Self { in device_address()
41593 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
41594 #[doc = r" chain will look like `A -> D -> B -> C`."]
41598 ) -> Self { in push_next()
41607 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
41610 pub fn build(self) -> AccelerationStructureCreateInfoKHR { in build() method
41616 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAabbPositionsKHR.…
41626 pub fn builder<'a>() -> AabbPositionsKHRBuilder<'a> { in builder()
41629 marker: ::std::marker::PhantomData, in builder()
41636 marker: ::std::marker::PhantomData<&'a ()>,
41638 impl<'a> ::std::ops::Deref for AabbPositionsKHRBuilder<'a> {
41640 fn deref(&self) -> &Self::Target { in deref()
41644 impl<'a> ::std::ops::DerefMut for AabbPositionsKHRBuilder<'a> {
41645 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
41650 pub fn min_x(mut self, min_x: f32) -> Self { in min_x()
41654 pub fn min_y(mut self, min_y: f32) -> Self { in min_y()
41658 pub fn min_z(mut self, min_z: f32) -> Self { in min_z()
41662 pub fn max_x(mut self, max_x: f32) -> Self { in max_x()
41666 pub fn max_y(mut self, max_y: f32) -> Self { in max_y()
41670 pub fn max_z(mut self, max_z: f32) -> Self { in max_z()
41674 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
41677 pub fn build(self) -> AabbPositionsKHR { in build() method
41694 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAccelerationStruc…
41703 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAccelerationStruc…
41709 impl ::std::default::Default for AccelerationStructureDeviceAddressInfoKHR {
41710 fn default() -> AccelerationStructureDeviceAddressInfoKHR { in default()
41713 p_next: ::std::ptr::null(), in default()
41719 pub fn builder<'a>() -> AccelerationStructureDeviceAddressInfoKHRBuilder<'a> { in builder()
41722 marker: ::std::marker::PhantomData, in builder()
41729 marker: ::std::marker::PhantomData<&'a ()>,
41731 impl<'a> ::std::ops::Deref for AccelerationStructureDeviceAddressInfoKHRBuilder<'a> {
41733 fn deref(&self) -> &Self::Target { in deref()
41737 impl<'a> ::std::ops::DerefMut for AccelerationStructureDeviceAddressInfoKHRBuilder<'a> {
41738 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
41746 ) -> Self { in acceleration_structure()
41750 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
41753 pub fn build(self) -> AccelerationStructureDeviceAddressInfoKHR { in build() method
41759 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAccelerationStruc…
41765 impl ::std::default::Default for AccelerationStructureVersionInfoKHR {
41766 fn default() -> AccelerationStructureVersionInfoKHR { in default()
41769 p_next: ::std::ptr::null(), in default()
41770 p_version_data: ::std::ptr::null(), in default()
41775 pub fn builder<'a>() -> AccelerationStructureVersionInfoKHRBuilder<'a> { in builder()
41778 marker: ::std::marker::PhantomData, in builder()
41785 marker: ::std::marker::PhantomData<&'a ()>,
41787 impl<'a> ::std::ops::Deref for AccelerationStructureVersionInfoKHRBuilder<'a> {
41789 fn deref(&self) -> &Self::Target { in deref()
41793 impl<'a> ::std::ops::DerefMut for AccelerationStructureVersionInfoKHRBuilder<'a> {
41794 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
41799 pub fn version_data(mut self, version_data: &'a [u8; 2 * UUID_SIZE]) -> Self { in version_data()
41803 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
41806 pub fn build(self) -> AccelerationStructureVersionInfoKHR { in build() method
41812 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCopyAccelerationS…
41820 impl ::std::default::Default for CopyAccelerationStructureInfoKHR {
41821 fn default() -> CopyAccelerationStructureInfoKHR { in default()
41824 p_next: ::std::ptr::null(), in default()
41832 pub fn builder<'a>() -> CopyAccelerationStructureInfoKHRBuilder<'a> { in builder()
41835 marker: ::std::marker::PhantomData, in builder()
41842 marker: ::std::marker::PhantomData<&'a ()>,
41844 impl<'a> ::std::ops::Deref for CopyAccelerationStructureInfoKHRBuilder<'a> {
41846 fn deref(&self) -> &Self::Target { in deref()
41850 impl<'a> ::std::ops::DerefMut for CopyAccelerationStructureInfoKHRBuilder<'a> {
41851 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
41856 pub fn src(mut self, src: AccelerationStructureKHR) -> Self { in src()
41860 pub fn dst(mut self, dst: AccelerationStructureKHR) -> Self { in dst()
41864 pub fn mode(mut self, mode: CopyAccelerationStructureModeKHR) -> Self { in mode()
41868 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
41871 pub fn build(self) -> CopyAccelerationStructureInfoKHR { in build() method
41877 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCopyAccelerationS…
41886 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
41896 impl ::std::default::Default for CopyAccelerationStructureToMemoryInfoKHR {
41897 fn default() -> CopyAccelerationStructureToMemoryInfoKHR { in default()
41900 p_next: ::std::ptr::null(), in default()
41908 pub fn builder<'a>() -> CopyAccelerationStructureToMemoryInfoKHRBuilder<'a> { in builder()
41911 marker: ::std::marker::PhantomData, in builder()
41918 marker: ::std::marker::PhantomData<&'a ()>,
41920 impl<'a> ::std::ops::Deref for CopyAccelerationStructureToMemoryInfoKHRBuilder<'a> {
41922 fn deref(&self) -> &Self::Target { in deref()
41926 impl<'a> ::std::ops::DerefMut for CopyAccelerationStructureToMemoryInfoKHRBuilder<'a> {
41927 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
41932 pub fn src(mut self, src: AccelerationStructureKHR) -> Self { in src()
41936 pub fn dst(mut self, dst: DeviceOrHostAddressKHR) -> Self { in dst()
41940 pub fn mode(mut self, mode: CopyAccelerationStructureModeKHR) -> Self { in mode()
41944 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
41947 pub fn build(self) -> CopyAccelerationStructureToMemoryInfoKHR { in build() method
41953 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCopyMemoryToAccel…
41962 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
41972 impl ::std::default::Default for CopyMemoryToAccelerationStructureInfoKHR {
41973 fn default() -> CopyMemoryToAccelerationStructureInfoKHR { in default()
41976 p_next: ::std::ptr::null(), in default()
41984 pub fn builder<'a>() -> CopyMemoryToAccelerationStructureInfoKHRBuilder<'a> { in builder()
41987 marker: ::std::marker::PhantomData, in builder()
41994 marker: ::std::marker::PhantomData<&'a ()>,
41996 impl<'a> ::std::ops::Deref for CopyMemoryToAccelerationStructureInfoKHRBuilder<'a> {
41998 fn deref(&self) -> &Self::Target { in deref()
42002 impl<'a> ::std::ops::DerefMut for CopyMemoryToAccelerationStructureInfoKHRBuilder<'a> {
42003 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
42008 pub fn src(mut self, src: DeviceOrHostAddressConstKHR) -> Self { in src()
42012 pub fn dst(mut self, dst: AccelerationStructureKHR) -> Self { in dst()
42016 pub fn mode(mut self, mode: CopyAccelerationStructureModeKHR) -> Self { in mode()
42020 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
42023 pub fn build(self) -> CopyMemoryToAccelerationStructureInfoKHR { in build() method
42029 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkRayTracingPipelin…
42036 impl ::std::default::Default for RayTracingPipelineInterfaceCreateInfoKHR {
42037 fn default() -> RayTracingPipelineInterfaceCreateInfoKHR { in default()
42040 p_next: ::std::ptr::null(), in default()
42047 pub fn builder<'a>() -> RayTracingPipelineInterfaceCreateInfoKHRBuilder<'a> { in builder()
42050 marker: ::std::marker::PhantomData, in builder()
42057 marker: ::std::marker::PhantomData<&'a ()>,
42059 impl<'a> ::std::ops::Deref for RayTracingPipelineInterfaceCreateInfoKHRBuilder<'a> {
42061 fn deref(&self) -> &Self::Target { in deref()
42065 impl<'a> ::std::ops::DerefMut for RayTracingPipelineInterfaceCreateInfoKHRBuilder<'a> {
42066 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
42071 pub fn max_pipeline_ray_payload_size(mut self, max_pipeline_ray_payload_size: u32) -> Self { in max_pipeline_ray_payload_size()
42078 ) -> Self { in max_pipeline_ray_hit_attribute_size()
42082 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
42085 pub fn build(self) -> RayTracingPipelineInterfaceCreateInfoKHR { in build() method
42091 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineLibraryCr…
42098 impl ::std::default::Default for PipelineLibraryCreateInfoKHR {
42099 fn default() -> PipelineLibraryCreateInfoKHR { in default()
42102 p_next: ::std::ptr::null(), in default()
42104 p_libraries: ::std::ptr::null(), in default()
42109 pub fn builder<'a>() -> PipelineLibraryCreateInfoKHRBuilder<'a> { in builder()
42112 marker: ::std::marker::PhantomData, in builder()
42119 marker: ::std::marker::PhantomData<&'a ()>,
42121 impl<'a> ::std::ops::Deref for PipelineLibraryCreateInfoKHRBuilder<'a> {
42123 fn deref(&self) -> &Self::Target { in deref()
42127 impl<'a> ::std::ops::DerefMut for PipelineLibraryCreateInfoKHRBuilder<'a> {
42128 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
42133 pub fn libraries(mut self, libraries: &'a [Pipeline]) -> Self { in libraries()
42138 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
42141 pub fn build(self) -> PipelineLibraryCreateInfoKHR { in build() method
42147 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceExt…
42153 impl ::std::default::Default for PhysicalDeviceExtendedDynamicStateFeaturesEXT {
42154 fn default() -> PhysicalDeviceExtendedDynamicStateFeaturesEXT { in default()
42157 p_next: ::std::ptr::null_mut(), in default()
42163 pub fn builder<'a>() -> PhysicalDeviceExtendedDynamicStateFeaturesEXTBuilder<'a> { in builder()
42166 marker: ::std::marker::PhantomData, in builder()
42173 marker: ::std::marker::PhantomData<&'a ()>,
42182 impl<'a> ::std::ops::Deref for PhysicalDeviceExtendedDynamicStateFeaturesEXTBuilder<'a> {
42184 fn deref(&self) -> &Self::Target { in deref()
42188 impl<'a> ::std::ops::DerefMut for PhysicalDeviceExtendedDynamicStateFeaturesEXTBuilder<'a> {
42189 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
42194 pub fn extended_dynamic_state(mut self, extended_dynamic_state: bool) -> Self { in extended_dynamic_state()
42198 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
42201 pub fn build(self) -> PhysicalDeviceExtendedDynamicStateFeaturesEXT { in build() method
42207 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceExt…
42215 impl ::std::default::Default for PhysicalDeviceExtendedDynamicState2FeaturesEXT {
42216 fn default() -> PhysicalDeviceExtendedDynamicState2FeaturesEXT { in default()
42219 p_next: ::std::ptr::null_mut(), in default()
42227 pub fn builder<'a>() -> PhysicalDeviceExtendedDynamicState2FeaturesEXTBuilder<'a> { in builder()
42230 marker: ::std::marker::PhantomData, in builder()
42237 marker: ::std::marker::PhantomData<&'a ()>,
42246 impl<'a> ::std::ops::Deref for PhysicalDeviceExtendedDynamicState2FeaturesEXTBuilder<'a> {
42248 fn deref(&self) -> &Self::Target { in deref()
42252 impl<'a> ::std::ops::DerefMut for PhysicalDeviceExtendedDynamicState2FeaturesEXTBuilder<'a> {
42253 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
42258 pub fn extended_dynamic_state2(mut self, extended_dynamic_state2: bool) -> Self { in extended_dynamic_state2()
42265 ) -> Self { in extended_dynamic_state2_logic_op()
42272 ) -> Self { in extended_dynamic_state2_patch_control_points()
42277 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
42280 pub fn build(self) -> PhysicalDeviceExtendedDynamicState2FeaturesEXT { in build() method
42286 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkRenderPassTransfo…
42292 impl ::std::default::Default for RenderPassTransformBeginInfoQCOM {
42293 fn default() -> RenderPassTransformBeginInfoQCOM { in default()
42296 p_next: ::std::ptr::null_mut(), in default()
42302 pub fn builder<'a>() -> RenderPassTransformBeginInfoQCOMBuilder<'a> { in builder()
42305 marker: ::std::marker::PhantomData, in builder()
42312 marker: ::std::marker::PhantomData<&'a ()>,
42316 impl<'a> ::std::ops::Deref for RenderPassTransformBeginInfoQCOMBuilder<'a> {
42318 fn deref(&self) -> &Self::Target { in deref()
42322 impl<'a> ::std::ops::DerefMut for RenderPassTransformBeginInfoQCOMBuilder<'a> {
42323 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
42328 pub fn transform(mut self, transform: SurfaceTransformFlagsKHR) -> Self { in transform()
42332 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
42335 pub fn build(self) -> RenderPassTransformBeginInfoQCOM { in build() method
42341 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCopyCommandTransf…
42347 impl ::std::default::Default for CopyCommandTransformInfoQCOM {
42348 fn default() -> CopyCommandTransformInfoQCOM { in default()
42351 p_next: ::std::ptr::null(), in default()
42357 pub fn builder<'a>() -> CopyCommandTransformInfoQCOMBuilder<'a> { in builder()
42360 marker: ::std::marker::PhantomData, in builder()
42367 marker: ::std::marker::PhantomData<&'a ()>,
42373 impl<'a> ::std::ops::Deref for CopyCommandTransformInfoQCOMBuilder<'a> {
42375 fn deref(&self) -> &Self::Target { in deref()
42379 impl<'a> ::std::ops::DerefMut for CopyCommandTransformInfoQCOMBuilder<'a> {
42380 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
42385 pub fn transform(mut self, transform: SurfaceTransformFlagsKHR) -> Self { in transform()
42389 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
42392 pub fn build(self) -> CopyCommandTransformInfoQCOM { in build() method
42398 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCommandBufferInhe…
42405 impl ::std::default::Default for CommandBufferInheritanceRenderPassTransformInfoQCOM {
42406 fn default() -> CommandBufferInheritanceRenderPassTransformInfoQCOM { in default()
42409 p_next: ::std::ptr::null_mut(), in default()
42416 pub fn builder<'a>() -> CommandBufferInheritanceRenderPassTransformInfoQCOMBuilder<'a> { in builder()
42419 marker: ::std::marker::PhantomData, in builder()
42426 marker: ::std::marker::PhantomData<&'a ()>,
42436 impl<'a> ::std::ops::Deref for CommandBufferInheritanceRenderPassTransformInfoQCOMBuilder<'a> {
42438 fn deref(&self) -> &Self::Target { in deref()
42442 impl<'a> ::std::ops::DerefMut for CommandBufferInheritanceRenderPassTransformInfoQCOMBuilder<'a> {
42443 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
42448 pub fn transform(mut self, transform: SurfaceTransformFlagsKHR) -> Self { in transform()
42452 pub fn render_area(mut self, render_area: Rect2D) -> Self { in render_area()
42456 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
42459 pub fn build(self) -> CommandBufferInheritanceRenderPassTransformInfoQCOM { in build() method
42465 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceDia…
42471 impl ::std::default::Default for PhysicalDeviceDiagnosticsConfigFeaturesNV {
42472 fn default() -> PhysicalDeviceDiagnosticsConfigFeaturesNV { in default()
42475 p_next: ::std::ptr::null_mut(), in default()
42481 pub fn builder<'a>() -> PhysicalDeviceDiagnosticsConfigFeaturesNVBuilder<'a> { in builder()
42484 marker: ::std::marker::PhantomData, in builder()
42491 marker: ::std::marker::PhantomData<&'a ()>,
42500 impl<'a> ::std::ops::Deref for PhysicalDeviceDiagnosticsConfigFeaturesNVBuilder<'a> {
42502 fn deref(&self) -> &Self::Target { in deref()
42506 impl<'a> ::std::ops::DerefMut for PhysicalDeviceDiagnosticsConfigFeaturesNVBuilder<'a> {
42507 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
42512 pub fn diagnostics_config(mut self, diagnostics_config: bool) -> Self { in diagnostics_config()
42516 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
42519 pub fn build(self) -> PhysicalDeviceDiagnosticsConfigFeaturesNV { in build() method
42525 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDeviceDiagnostics…
42531 impl ::std::default::Default for DeviceDiagnosticsConfigCreateInfoNV {
42532 fn default() -> DeviceDiagnosticsConfigCreateInfoNV { in default()
42535 p_next: ::std::ptr::null(), in default()
42541 pub fn builder<'a>() -> DeviceDiagnosticsConfigCreateInfoNVBuilder<'a> { in builder()
42544 marker: ::std::marker::PhantomData, in builder()
42551 marker: ::std::marker::PhantomData<&'a ()>,
42555 impl<'a> ::std::ops::Deref for DeviceDiagnosticsConfigCreateInfoNVBuilder<'a> {
42557 fn deref(&self) -> &Self::Target { in deref()
42561 impl<'a> ::std::ops::DerefMut for DeviceDiagnosticsConfigCreateInfoNVBuilder<'a> {
42562 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
42567 pub fn flags(mut self, flags: DeviceDiagnosticsConfigFlagsNV) -> Self { in flags()
42571 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
42574 pub fn build(self) -> DeviceDiagnosticsConfigCreateInfoNV { in build() method
42580 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceZer…
42586 impl ::std::default::Default for PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR {
42587 fn default() -> PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR { in default()
42590 p_next: ::std::ptr::null_mut(), in default()
42596 pub fn builder<'a>() -> PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRBuilder<'a> { in builder()
42599 marker: ::std::marker::PhantomData, in builder()
42606 marker: ::std::marker::PhantomData<&'a ()>,
42621 impl<'a> ::std::ops::Deref for PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHRBuilder<'a> {
42623 fn deref(&self) -> &Self::Target { in deref()
42627 impl<'a> ::std::ops::DerefMut
42630 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
42638 ) -> Self { in shader_zero_initialize_workgroup_memory()
42643 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
42646 pub fn build(self) -> PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR { in build() method
42652 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSha…
42658 impl ::std::default::Default for PhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR {
42659 fn default() -> PhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR { in default()
42663 p_next: ::std::ptr::null_mut(), in default()
42669 pub fn builder<'a>() -> PhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHRBuilder<'a> { in builder()
42672 marker: ::std::marker::PhantomData, in builder()
42679 marker: ::std::marker::PhantomData<&'a ()>,
42694 impl<'a> ::std::ops::Deref
42698 fn deref(&self) -> &Self::Target { in deref()
42702 impl<'a> ::std::ops::DerefMut
42705 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
42713 ) -> Self { in shader_subgroup_uniform_control_flow()
42718 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
42721 pub fn build(self) -> PhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR { in build() method
42727 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceRob…
42735 impl ::std::default::Default for PhysicalDeviceRobustness2FeaturesEXT {
42736 fn default() -> PhysicalDeviceRobustness2FeaturesEXT { in default()
42739 p_next: ::std::ptr::null_mut(), in default()
42747 pub fn builder<'a>() -> PhysicalDeviceRobustness2FeaturesEXTBuilder<'a> { in builder()
42750 marker: ::std::marker::PhantomData, in builder()
42757 marker: ::std::marker::PhantomData<&'a ()>,
42763 impl<'a> ::std::ops::Deref for PhysicalDeviceRobustness2FeaturesEXTBuilder<'a> {
42765 fn deref(&self) -> &Self::Target { in deref()
42769 impl<'a> ::std::ops::DerefMut for PhysicalDeviceRobustness2FeaturesEXTBuilder<'a> {
42770 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
42775 pub fn robust_buffer_access2(mut self, robust_buffer_access2: bool) -> Self { in robust_buffer_access2()
42779 pub fn robust_image_access2(mut self, robust_image_access2: bool) -> Self { in robust_image_access2()
42783 pub fn null_descriptor(mut self, null_descriptor: bool) -> Self { in null_descriptor()
42787 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
42790 pub fn build(self) -> PhysicalDeviceRobustness2FeaturesEXT { in build() method
42796 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceRob…
42803 impl ::std::default::Default for PhysicalDeviceRobustness2PropertiesEXT {
42804 fn default() -> PhysicalDeviceRobustness2PropertiesEXT { in default()
42807 p_next: ::std::ptr::null_mut(), in default()
42814 pub fn builder<'a>() -> PhysicalDeviceRobustness2PropertiesEXTBuilder<'a> { in builder()
42817 marker: ::std::marker::PhantomData, in builder()
42824 marker: ::std::marker::PhantomData<&'a ()>,
42828 impl<'a> ::std::ops::Deref for PhysicalDeviceRobustness2PropertiesEXTBuilder<'a> {
42830 fn deref(&self) -> &Self::Target { in deref()
42834 impl<'a> ::std::ops::DerefMut for PhysicalDeviceRobustness2PropertiesEXTBuilder<'a> {
42835 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
42843 ) -> Self { in robust_storage_buffer_access_size_alignment()
42851 ) -> Self { in robust_uniform_buffer_access_size_alignment()
42856 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
42859 pub fn build(self) -> PhysicalDeviceRobustness2PropertiesEXT { in build() method
42865 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceIma…
42871 impl ::std::default::Default for PhysicalDeviceImageRobustnessFeaturesEXT {
42872 fn default() -> PhysicalDeviceImageRobustnessFeaturesEXT { in default()
42875 p_next: ::std::ptr::null_mut(), in default()
42881 pub fn builder<'a>() -> PhysicalDeviceImageRobustnessFeaturesEXTBuilder<'a> { in builder()
42884 marker: ::std::marker::PhantomData, in builder()
42891 marker: ::std::marker::PhantomData<&'a ()>,
42897 impl<'a> ::std::ops::Deref for PhysicalDeviceImageRobustnessFeaturesEXTBuilder<'a> {
42899 fn deref(&self) -> &Self::Target { in deref()
42903 impl<'a> ::std::ops::DerefMut for PhysicalDeviceImageRobustnessFeaturesEXTBuilder<'a> {
42904 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
42909 pub fn robust_image_access(mut self, robust_image_access: bool) -> Self { in robust_image_access()
42913 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
42916 pub fn build(self) -> PhysicalDeviceImageRobustnessFeaturesEXT { in build() method
42922 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceWor…
42931 impl ::std::default::Default for PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR {
42932 fn default() -> PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR { in default()
42935 p_next: ::std::ptr::null_mut(), in default()
42944 pub fn builder<'a>() -> PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHRBuilder<'a> { in builder()
42947 marker: ::std::marker::PhantomData, in builder()
42954 marker: ::std::marker::PhantomData<&'a ()>,
42969 impl<'a> ::std::ops::Deref for PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHRBuilder<'a> {
42971 fn deref(&self) -> &Self::Target { in deref()
42975 impl<'a> ::std::ops::DerefMut
42978 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
42986 ) -> Self { in workgroup_memory_explicit_layout()
42993 ) -> Self { in workgroup_memory_explicit_layout_scalar_block_layout()
43002 ) -> Self { in workgroup_memory_explicit_layout8_bit_access()
43010 ) -> Self { in workgroup_memory_explicit_layout16_bit_access()
43015 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
43018 pub fn build(self) -> PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR { in build() method
43024 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDevicePor…
43044 impl ::std::default::Default for PhysicalDevicePortabilitySubsetFeaturesKHR {
43045 fn default() -> PhysicalDevicePortabilitySubsetFeaturesKHR { in default()
43048 p_next: ::std::ptr::null_mut(), in default()
43068 pub fn builder<'a>() -> PhysicalDevicePortabilitySubsetFeaturesKHRBuilder<'a> { in builder()
43071 marker: ::std::marker::PhantomData, in builder()
43078 marker: ::std::marker::PhantomData<&'a ()>,
43087 impl<'a> ::std::ops::Deref for PhysicalDevicePortabilitySubsetFeaturesKHRBuilder<'a> {
43089 fn deref(&self) -> &Self::Target { in deref()
43093 impl<'a> ::std::ops::DerefMut for PhysicalDevicePortabilitySubsetFeaturesKHRBuilder<'a> {
43094 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
43102 ) -> Self { in constant_alpha_color_blend_factors()
43106 pub fn events(mut self, events: bool) -> Self { in events()
43113 ) -> Self { in image_view_format_reinterpretation()
43117 pub fn image_view_format_swizzle(mut self, image_view_format_swizzle: bool) -> Self { in image_view_format_swizzle()
43121 pub fn image_view2_d_on3_d_image(mut self, image_view2_d_on3_d_image: bool) -> Self { in image_view2_d_on3_d_image()
43125 pub fn multisample_array_image(mut self, multisample_array_image: bool) -> Self { in multisample_array_image()
43129 pub fn mutable_comparison_samplers(mut self, mutable_comparison_samplers: bool) -> Self { in mutable_comparison_samplers()
43133 pub fn point_polygons(mut self, point_polygons: bool) -> Self { in point_polygons()
43137 pub fn sampler_mip_lod_bias(mut self, sampler_mip_lod_bias: bool) -> Self { in sampler_mip_lod_bias()
43141 pub fn separate_stencil_mask_ref(mut self, separate_stencil_mask_ref: bool) -> Self { in separate_stencil_mask_ref()
43148 ) -> Self { in shader_sample_rate_interpolation_functions()
43153 pub fn tessellation_isolines(mut self, tessellation_isolines: bool) -> Self { in tessellation_isolines()
43157 pub fn tessellation_point_mode(mut self, tessellation_point_mode: bool) -> Self { in tessellation_point_mode()
43161 pub fn triangle_fans(mut self, triangle_fans: bool) -> Self { in triangle_fans()
43168 ) -> Self { in vertex_attribute_access_beyond_stride()
43173 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
43176 pub fn build(self) -> PhysicalDevicePortabilitySubsetFeaturesKHR { in build() method
43182 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDevicePor…
43188 impl ::std::default::Default for PhysicalDevicePortabilitySubsetPropertiesKHR {
43189 fn default() -> PhysicalDevicePortabilitySubsetPropertiesKHR { in default()
43192 p_next: ::std::ptr::null_mut(), in default()
43198 pub fn builder<'a>() -> PhysicalDevicePortabilitySubsetPropertiesKHRBuilder<'a> { in builder()
43201 marker: ::std::marker::PhantomData, in builder()
43208 marker: ::std::marker::PhantomData<&'a ()>,
43215 impl<'a> ::std::ops::Deref for PhysicalDevicePortabilitySubsetPropertiesKHRBuilder<'a> {
43217 fn deref(&self) -> &Self::Target { in deref()
43221 impl<'a> ::std::ops::DerefMut for PhysicalDevicePortabilitySubsetPropertiesKHRBuilder<'a> {
43222 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
43230 ) -> Self { in min_vertex_input_binding_stride_alignment()
43235 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
43238 pub fn build(self) -> PhysicalDevicePortabilitySubsetPropertiesKHR { in build() method
43244 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDevice444…
43251 impl ::std::default::Default for PhysicalDevice4444FormatsFeaturesEXT {
43252 fn default() -> PhysicalDevice4444FormatsFeaturesEXT { in default()
43255 p_next: ::std::ptr::null_mut(), in default()
43262 pub fn builder<'a>() -> PhysicalDevice4444FormatsFeaturesEXTBuilder<'a> { in builder()
43265 marker: ::std::marker::PhantomData, in builder()
43272 marker: ::std::marker::PhantomData<&'a ()>,
43278 impl<'a> ::std::ops::Deref for PhysicalDevice4444FormatsFeaturesEXTBuilder<'a> {
43280 fn deref(&self) -> &Self::Target { in deref()
43284 impl<'a> ::std::ops::DerefMut for PhysicalDevice4444FormatsFeaturesEXTBuilder<'a> {
43285 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
43290 pub fn format_a4r4g4b4(mut self, format_a4r4g4b4: bool) -> Self { in format_a4r4g4b4()
43294 pub fn format_a4b4g4r4(mut self, format_a4b4g4r4: bool) -> Self { in format_a4b4g4r4()
43298 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
43301 pub fn build(self) -> PhysicalDevice4444FormatsFeaturesEXT { in build() method
43307 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSub…
43313 impl ::std::default::Default for PhysicalDeviceSubpassShadingFeaturesHUAWEI {
43314 fn default() -> PhysicalDeviceSubpassShadingFeaturesHUAWEI { in default()
43317 p_next: ::std::ptr::null_mut(), in default()
43323 pub fn builder<'a>() -> PhysicalDeviceSubpassShadingFeaturesHUAWEIBuilder<'a> { in builder()
43326 marker: ::std::marker::PhantomData, in builder()
43333 marker: ::std::marker::PhantomData<&'a ()>,
43342 impl<'a> ::std::ops::Deref for PhysicalDeviceSubpassShadingFeaturesHUAWEIBuilder<'a> {
43344 fn deref(&self) -> &Self::Target { in deref()
43348 impl<'a> ::std::ops::DerefMut for PhysicalDeviceSubpassShadingFeaturesHUAWEIBuilder<'a> {
43349 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
43354 pub fn subpass_shading(mut self, subpass_shading: bool) -> Self { in subpass_shading()
43358 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
43361 pub fn build(self) -> PhysicalDeviceSubpassShadingFeaturesHUAWEI { in build() method
43367 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBufferCopy2KHR.ht…
43375 impl ::std::default::Default for BufferCopy2KHR {
43376 fn default() -> BufferCopy2KHR { in default()
43379 p_next: ::std::ptr::null(), in default()
43387 pub fn builder<'a>() -> BufferCopy2KHRBuilder<'a> { in builder()
43390 marker: ::std::marker::PhantomData, in builder()
43397 marker: ::std::marker::PhantomData<&'a ()>,
43399 impl<'a> ::std::ops::Deref for BufferCopy2KHRBuilder<'a> {
43401 fn deref(&self) -> &Self::Target { in deref()
43405 impl<'a> ::std::ops::DerefMut for BufferCopy2KHRBuilder<'a> {
43406 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
43411 pub fn src_offset(mut self, src_offset: DeviceSize) -> Self { in src_offset()
43415 pub fn dst_offset(mut self, dst_offset: DeviceSize) -> Self { in dst_offset()
43419 pub fn size(mut self, size: DeviceSize) -> Self { in size()
43423 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
43426 pub fn build(self) -> BufferCopy2KHR { in build() method
43432 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageCopy2KHR.htm…
43442 impl ::std::default::Default for ImageCopy2KHR {
43443 fn default() -> ImageCopy2KHR { in default()
43446 p_next: ::std::ptr::null(), in default()
43456 pub fn builder<'a>() -> ImageCopy2KHRBuilder<'a> { in builder()
43459 marker: ::std::marker::PhantomData, in builder()
43466 marker: ::std::marker::PhantomData<&'a ()>,
43468 impl<'a> ::std::ops::Deref for ImageCopy2KHRBuilder<'a> {
43470 fn deref(&self) -> &Self::Target { in deref()
43474 impl<'a> ::std::ops::DerefMut for ImageCopy2KHRBuilder<'a> {
43475 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
43480 pub fn src_subresource(mut self, src_subresource: ImageSubresourceLayers) -> Self { in src_subresource()
43484 pub fn src_offset(mut self, src_offset: Offset3D) -> Self { in src_offset()
43488 pub fn dst_subresource(mut self, dst_subresource: ImageSubresourceLayers) -> Self { in dst_subresource()
43492 pub fn dst_offset(mut self, dst_offset: Offset3D) -> Self { in dst_offset()
43496 pub fn extent(mut self, extent: Extent3D) -> Self { in extent()
43500 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
43503 pub fn build(self) -> ImageCopy2KHR { in build() method
43509 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageBlit2KHR.htm…
43518 impl ::std::default::Default for ImageBlit2KHR {
43519 fn default() -> ImageBlit2KHR { in default()
43522 p_next: ::std::ptr::null(), in default()
43524 src_offsets: unsafe { ::std::mem::zeroed() }, in default()
43526 dst_offsets: unsafe { ::std::mem::zeroed() }, in default()
43531 pub fn builder<'a>() -> ImageBlit2KHRBuilder<'a> { in builder()
43534 marker: ::std::marker::PhantomData, in builder()
43541 marker: ::std::marker::PhantomData<&'a ()>,
43544 impl<'a> ::std::ops::Deref for ImageBlit2KHRBuilder<'a> {
43546 fn deref(&self) -> &Self::Target { in deref()
43550 impl<'a> ::std::ops::DerefMut for ImageBlit2KHRBuilder<'a> {
43551 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
43556 pub fn src_subresource(mut self, src_subresource: ImageSubresourceLayers) -> Self { in src_subresource()
43560 pub fn src_offsets(mut self, src_offsets: [Offset3D; 2]) -> Self { in src_offsets()
43564 pub fn dst_subresource(mut self, dst_subresource: ImageSubresourceLayers) -> Self { in dst_subresource()
43568 pub fn dst_offsets(mut self, dst_offsets: [Offset3D; 2]) -> Self { in dst_offsets()
43575 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
43576 #[doc = r" chain will look like `A -> D -> B -> C`."]
43577 pub fn push_next<T: ExtendsImageBlit2KHR>(mut self, next: &'a mut T) -> Self { in push_next()
43586 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
43589 pub fn build(self) -> ImageBlit2KHR { in build() method
43595 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBufferImageCopy2K…
43606 impl ::std::default::Default for BufferImageCopy2KHR {
43607 fn default() -> BufferImageCopy2KHR { in default()
43610 p_next: ::std::ptr::null(), in default()
43621 pub fn builder<'a>() -> BufferImageCopy2KHRBuilder<'a> { in builder()
43624 marker: ::std::marker::PhantomData, in builder()
43631 marker: ::std::marker::PhantomData<&'a ()>,
43634 impl<'a> ::std::ops::Deref for BufferImageCopy2KHRBuilder<'a> {
43636 fn deref(&self) -> &Self::Target { in deref()
43640 impl<'a> ::std::ops::DerefMut for BufferImageCopy2KHRBuilder<'a> {
43641 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
43646 pub fn buffer_offset(mut self, buffer_offset: DeviceSize) -> Self { in buffer_offset()
43650 pub fn buffer_row_length(mut self, buffer_row_length: u32) -> Self { in buffer_row_length()
43654 pub fn buffer_image_height(mut self, buffer_image_height: u32) -> Self { in buffer_image_height()
43658 pub fn image_subresource(mut self, image_subresource: ImageSubresourceLayers) -> Self { in image_subresource()
43662 pub fn image_offset(mut self, image_offset: Offset3D) -> Self { in image_offset()
43666 pub fn image_extent(mut self, image_extent: Extent3D) -> Self { in image_extent()
43673 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
43674 #[doc = r" chain will look like `A -> D -> B -> C`."]
43675 pub fn push_next<T: ExtendsBufferImageCopy2KHR>(mut self, next: &'a mut T) -> Self { in push_next()
43684 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
43687 pub fn build(self) -> BufferImageCopy2KHR { in build() method
43693 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageResolve2KHR.…
43703 impl ::std::default::Default for ImageResolve2KHR {
43704 fn default() -> ImageResolve2KHR { in default()
43707 p_next: ::std::ptr::null(), in default()
43717 pub fn builder<'a>() -> ImageResolve2KHRBuilder<'a> { in builder()
43720 marker: ::std::marker::PhantomData, in builder()
43727 marker: ::std::marker::PhantomData<&'a ()>,
43729 impl<'a> ::std::ops::Deref for ImageResolve2KHRBuilder<'a> {
43731 fn deref(&self) -> &Self::Target { in deref()
43735 impl<'a> ::std::ops::DerefMut for ImageResolve2KHRBuilder<'a> {
43736 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
43741 pub fn src_subresource(mut self, src_subresource: ImageSubresourceLayers) -> Self { in src_subresource()
43745 pub fn src_offset(mut self, src_offset: Offset3D) -> Self { in src_offset()
43749 pub fn dst_subresource(mut self, dst_subresource: ImageSubresourceLayers) -> Self { in dst_subresource()
43753 pub fn dst_offset(mut self, dst_offset: Offset3D) -> Self { in dst_offset()
43757 pub fn extent(mut self, extent: Extent3D) -> Self { in extent()
43761 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
43764 pub fn build(self) -> ImageResolve2KHR { in build() method
43770 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCopyBufferInfo2KH…
43779 impl ::std::default::Default for CopyBufferInfo2KHR {
43780 fn default() -> CopyBufferInfo2KHR { in default()
43783 p_next: ::std::ptr::null(), in default()
43787 p_regions: ::std::ptr::null(), in default()
43792 pub fn builder<'a>() -> CopyBufferInfo2KHRBuilder<'a> { in builder()
43795 marker: ::std::marker::PhantomData, in builder()
43802 marker: ::std::marker::PhantomData<&'a ()>,
43804 impl<'a> ::std::ops::Deref for CopyBufferInfo2KHRBuilder<'a> {
43806 fn deref(&self) -> &Self::Target { in deref()
43810 impl<'a> ::std::ops::DerefMut for CopyBufferInfo2KHRBuilder<'a> {
43811 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
43816 pub fn src_buffer(mut self, src_buffer: Buffer) -> Self { in src_buffer()
43820 pub fn dst_buffer(mut self, dst_buffer: Buffer) -> Self { in dst_buffer()
43824 pub fn regions(mut self, regions: &'a [BufferCopy2KHR]) -> Self { in regions()
43829 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
43832 pub fn build(self) -> CopyBufferInfo2KHR { in build() method
43838 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCopyImageInfo2KHR…
43849 impl ::std::default::Default for CopyImageInfo2KHR {
43850 fn default() -> CopyImageInfo2KHR { in default()
43853 p_next: ::std::ptr::null(), in default()
43859 p_regions: ::std::ptr::null(), in default()
43864 pub fn builder<'a>() -> CopyImageInfo2KHRBuilder<'a> { in builder()
43867 marker: ::std::marker::PhantomData, in builder()
43874 marker: ::std::marker::PhantomData<&'a ()>,
43876 impl<'a> ::std::ops::Deref for CopyImageInfo2KHRBuilder<'a> {
43878 fn deref(&self) -> &Self::Target { in deref()
43882 impl<'a> ::std::ops::DerefMut for CopyImageInfo2KHRBuilder<'a> {
43883 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
43888 pub fn src_image(mut self, src_image: Image) -> Self { in src_image()
43892 pub fn src_image_layout(mut self, src_image_layout: ImageLayout) -> Self { in src_image_layout()
43896 pub fn dst_image(mut self, dst_image: Image) -> Self { in dst_image()
43900 pub fn dst_image_layout(mut self, dst_image_layout: ImageLayout) -> Self { in dst_image_layout()
43904 pub fn regions(mut self, regions: &'a [ImageCopy2KHR]) -> Self { in regions()
43909 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
43912 pub fn build(self) -> CopyImageInfo2KHR { in build() method
43918 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBlitImageInfo2KHR…
43930 impl ::std::default::Default for BlitImageInfo2KHR {
43931 fn default() -> BlitImageInfo2KHR { in default()
43934 p_next: ::std::ptr::null(), in default()
43940 p_regions: ::std::ptr::null(), in default()
43946 pub fn builder<'a>() -> BlitImageInfo2KHRBuilder<'a> { in builder()
43949 marker: ::std::marker::PhantomData, in builder()
43956 marker: ::std::marker::PhantomData<&'a ()>,
43958 impl<'a> ::std::ops::Deref for BlitImageInfo2KHRBuilder<'a> {
43960 fn deref(&self) -> &Self::Target { in deref()
43964 impl<'a> ::std::ops::DerefMut for BlitImageInfo2KHRBuilder<'a> {
43965 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
43970 pub fn src_image(mut self, src_image: Image) -> Self { in src_image()
43974 pub fn src_image_layout(mut self, src_image_layout: ImageLayout) -> Self { in src_image_layout()
43978 pub fn dst_image(mut self, dst_image: Image) -> Self { in dst_image()
43982 pub fn dst_image_layout(mut self, dst_image_layout: ImageLayout) -> Self { in dst_image_layout()
43986 pub fn regions(mut self, regions: &'a [ImageBlit2KHR]) -> Self { in regions()
43991 pub fn filter(mut self, filter: Filter) -> Self { in filter()
43995 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
43998 pub fn build(self) -> BlitImageInfo2KHR { in build() method
44004 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCopyBufferToImage…
44014 impl ::std::default::Default for CopyBufferToImageInfo2KHR {
44015 fn default() -> CopyBufferToImageInfo2KHR { in default()
44018 p_next: ::std::ptr::null(), in default()
44023 p_regions: ::std::ptr::null(), in default()
44028 pub fn builder<'a>() -> CopyBufferToImageInfo2KHRBuilder<'a> { in builder()
44031 marker: ::std::marker::PhantomData, in builder()
44038 marker: ::std::marker::PhantomData<&'a ()>,
44040 impl<'a> ::std::ops::Deref for CopyBufferToImageInfo2KHRBuilder<'a> {
44042 fn deref(&self) -> &Self::Target { in deref()
44046 impl<'a> ::std::ops::DerefMut for CopyBufferToImageInfo2KHRBuilder<'a> {
44047 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
44052 pub fn src_buffer(mut self, src_buffer: Buffer) -> Self { in src_buffer()
44056 pub fn dst_image(mut self, dst_image: Image) -> Self { in dst_image()
44060 pub fn dst_image_layout(mut self, dst_image_layout: ImageLayout) -> Self { in dst_image_layout()
44064 pub fn regions(mut self, regions: &'a [BufferImageCopy2KHR]) -> Self { in regions()
44069 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
44072 pub fn build(self) -> CopyBufferToImageInfo2KHR { in build() method
44078 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCopyImageToBuffer…
44088 impl ::std::default::Default for CopyImageToBufferInfo2KHR {
44089 fn default() -> CopyImageToBufferInfo2KHR { in default()
44092 p_next: ::std::ptr::null(), in default()
44097 p_regions: ::std::ptr::null(), in default()
44102 pub fn builder<'a>() -> CopyImageToBufferInfo2KHRBuilder<'a> { in builder()
44105 marker: ::std::marker::PhantomData, in builder()
44112 marker: ::std::marker::PhantomData<&'a ()>,
44114 impl<'a> ::std::ops::Deref for CopyImageToBufferInfo2KHRBuilder<'a> {
44116 fn deref(&self) -> &Self::Target { in deref()
44120 impl<'a> ::std::ops::DerefMut for CopyImageToBufferInfo2KHRBuilder<'a> {
44121 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
44126 pub fn src_image(mut self, src_image: Image) -> Self { in src_image()
44130 pub fn src_image_layout(mut self, src_image_layout: ImageLayout) -> Self { in src_image_layout()
44134 pub fn dst_buffer(mut self, dst_buffer: Buffer) -> Self { in dst_buffer()
44138 pub fn regions(mut self, regions: &'a [BufferImageCopy2KHR]) -> Self { in regions()
44143 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
44146 pub fn build(self) -> CopyImageToBufferInfo2KHR { in build() method
44152 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkResolveImageInfo2…
44163 impl ::std::default::Default for ResolveImageInfo2KHR {
44164 fn default() -> ResolveImageInfo2KHR { in default()
44167 p_next: ::std::ptr::null(), in default()
44173 p_regions: ::std::ptr::null(), in default()
44178 pub fn builder<'a>() -> ResolveImageInfo2KHRBuilder<'a> { in builder()
44181 marker: ::std::marker::PhantomData, in builder()
44188 marker: ::std::marker::PhantomData<&'a ()>,
44190 impl<'a> ::std::ops::Deref for ResolveImageInfo2KHRBuilder<'a> {
44192 fn deref(&self) -> &Self::Target { in deref()
44196 impl<'a> ::std::ops::DerefMut for ResolveImageInfo2KHRBuilder<'a> {
44197 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
44202 pub fn src_image(mut self, src_image: Image) -> Self { in src_image()
44206 pub fn src_image_layout(mut self, src_image_layout: ImageLayout) -> Self { in src_image_layout()
44210 pub fn dst_image(mut self, dst_image: Image) -> Self { in dst_image()
44214 pub fn dst_image_layout(mut self, dst_image_layout: ImageLayout) -> Self { in dst_image_layout()
44218 pub fn regions(mut self, regions: &'a [ImageResolve2KHR]) -> Self { in regions()
44223 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
44226 pub fn build(self) -> ResolveImageInfo2KHR { in build() method
44232 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSha…
44239 impl ::std::default::Default for PhysicalDeviceShaderImageAtomicInt64FeaturesEXT {
44240 fn default() -> PhysicalDeviceShaderImageAtomicInt64FeaturesEXT { in default()
44243 p_next: ::std::ptr::null_mut(), in default()
44250 pub fn builder<'a>() -> PhysicalDeviceShaderImageAtomicInt64FeaturesEXTBuilder<'a> { in builder()
44253 marker: ::std::marker::PhantomData, in builder()
44260 marker: ::std::marker::PhantomData<&'a ()>,
44269 impl<'a> ::std::ops::Deref for PhysicalDeviceShaderImageAtomicInt64FeaturesEXTBuilder<'a> {
44271 fn deref(&self) -> &Self::Target { in deref()
44275 impl<'a> ::std::ops::DerefMut for PhysicalDeviceShaderImageAtomicInt64FeaturesEXTBuilder<'a> {
44276 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
44281 pub fn shader_image_int64_atomics(mut self, shader_image_int64_atomics: bool) -> Self { in shader_image_int64_atomics()
44285 pub fn sparse_image_int64_atomics(mut self, sparse_image_int64_atomics: bool) -> Self { in sparse_image_int64_atomics()
44289 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
44292 pub fn build(self) -> PhysicalDeviceShaderImageAtomicInt64FeaturesEXT { in build() method
44298 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkFragmentShadingRa…
44305 impl ::std::default::Default for FragmentShadingRateAttachmentInfoKHR {
44306 fn default() -> FragmentShadingRateAttachmentInfoKHR { in default()
44309 p_next: ::std::ptr::null(), in default()
44310 p_fragment_shading_rate_attachment: ::std::ptr::null(), in default()
44316 pub fn builder<'a>() -> FragmentShadingRateAttachmentInfoKHRBuilder<'a> { in builder()
44319 marker: ::std::marker::PhantomData, in builder()
44326 marker: ::std::marker::PhantomData<&'a ()>,
44330 impl<'a> ::std::ops::Deref for FragmentShadingRateAttachmentInfoKHRBuilder<'a> {
44332 fn deref(&self) -> &Self::Target { in deref()
44336 impl<'a> ::std::ops::DerefMut for FragmentShadingRateAttachmentInfoKHRBuilder<'a> {
44337 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
44345 ) -> Self { in fragment_shading_rate_attachment()
44352 ) -> Self { in shading_rate_attachment_texel_size()
44356 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
44359 pub fn build(self) -> FragmentShadingRateAttachmentInfoKHR { in build() method
44365 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineFragmentS…
44372 impl ::std::default::Default for PipelineFragmentShadingRateStateCreateInfoKHR {
44373 fn default() -> PipelineFragmentShadingRateStateCreateInfoKHR { in default()
44376 p_next: ::std::ptr::null(), in default()
44378 combiner_ops: unsafe { ::std::mem::zeroed() }, in default()
44383 pub fn builder<'a>() -> PipelineFragmentShadingRateStateCreateInfoKHRBuilder<'a> { in builder()
44386 marker: ::std::marker::PhantomData, in builder()
44393 marker: ::std::marker::PhantomData<&'a ()>,
44400 impl<'a> ::std::ops::Deref for PipelineFragmentShadingRateStateCreateInfoKHRBuilder<'a> {
44402 fn deref(&self) -> &Self::Target { in deref()
44406 impl<'a> ::std::ops::DerefMut for PipelineFragmentShadingRateStateCreateInfoKHRBuilder<'a> {
44407 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
44412 pub fn fragment_size(mut self, fragment_size: Extent2D) -> Self { in fragment_size()
44416 pub fn combiner_ops(mut self, combiner_ops: [FragmentShadingRateCombinerOpKHR; 2]) -> Self { in combiner_ops()
44420 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
44423 pub fn build(self) -> PipelineFragmentShadingRateStateCreateInfoKHR { in build() method
44429 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceFra…
44437 impl ::std::default::Default for PhysicalDeviceFragmentShadingRateFeaturesKHR {
44438 fn default() -> PhysicalDeviceFragmentShadingRateFeaturesKHR { in default()
44441 p_next: ::std::ptr::null_mut(), in default()
44449 pub fn builder<'a>() -> PhysicalDeviceFragmentShadingRateFeaturesKHRBuilder<'a> { in builder()
44452 marker: ::std::marker::PhantomData, in builder()
44459 marker: ::std::marker::PhantomData<&'a ()>,
44468 impl<'a> ::std::ops::Deref for PhysicalDeviceFragmentShadingRateFeaturesKHRBuilder<'a> {
44470 fn deref(&self) -> &Self::Target { in deref()
44474 impl<'a> ::std::ops::DerefMut for PhysicalDeviceFragmentShadingRateFeaturesKHRBuilder<'a> {
44475 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
44480 pub fn pipeline_fragment_shading_rate(mut self, pipeline_fragment_shading_rate: bool) -> Self { in pipeline_fragment_shading_rate()
44487 ) -> Self { in primitive_fragment_shading_rate()
44494 ) -> Self { in attachment_fragment_shading_rate()
44498 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
44501 pub fn build(self) -> PhysicalDeviceFragmentShadingRateFeaturesKHR { in build() method
44507 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceFra…
44529 impl ::std::default::Default for PhysicalDeviceFragmentShadingRatePropertiesKHR {
44530 fn default() -> PhysicalDeviceFragmentShadingRatePropertiesKHR { in default()
44533 p_next: ::std::ptr::null_mut(), in default()
44555 pub fn builder<'a>() -> PhysicalDeviceFragmentShadingRatePropertiesKHRBuilder<'a> { in builder()
44558 marker: ::std::marker::PhantomData, in builder()
44565 marker: ::std::marker::PhantomData<&'a ()>,
44572 impl<'a> ::std::ops::Deref for PhysicalDeviceFragmentShadingRatePropertiesKHRBuilder<'a> {
44574 fn deref(&self) -> &Self::Target { in deref()
44578 impl<'a> ::std::ops::DerefMut for PhysicalDeviceFragmentShadingRatePropertiesKHRBuilder<'a> {
44579 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
44587 ) -> Self { in min_fragment_shading_rate_attachment_texel_size()
44595 ) -> Self { in max_fragment_shading_rate_attachment_texel_size()
44603 ) -> Self { in max_fragment_shading_rate_attachment_texel_size_aspect_ratio()
44612 ) -> Self { in primitive_fragment_shading_rate_with_multiple_viewports()
44621 ) -> Self { in layered_shading_rate_attachments()
44628 ) -> Self { in fragment_shading_rate_non_trivial_combiner_ops()
44633 pub fn max_fragment_size(mut self, max_fragment_size: Extent2D) -> Self { in max_fragment_size()
44637 pub fn max_fragment_size_aspect_ratio(mut self, max_fragment_size_aspect_ratio: u32) -> Self { in max_fragment_size_aspect_ratio()
44644 ) -> Self { in max_fragment_shading_rate_coverage_samples()
44652 ) -> Self { in max_fragment_shading_rate_rasterization_samples()
44660 ) -> Self { in fragment_shading_rate_with_shader_depth_stencil_writes()
44669 ) -> Self { in fragment_shading_rate_with_sample_mask()
44677 ) -> Self { in fragment_shading_rate_with_shader_sample_mask()
44685 ) -> Self { in fragment_shading_rate_with_conservative_rasterization()
44694 ) -> Self { in fragment_shading_rate_with_fragment_shader_interlock()
44703 ) -> Self { in fragment_shading_rate_with_custom_sample_locations()
44712 ) -> Self { in fragment_shading_rate_strict_multiply_combiner()
44717 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
44720 pub fn build(self) -> PhysicalDeviceFragmentShadingRatePropertiesKHR { in build() method
44726 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceFra…
44733 impl ::std::default::Default for PhysicalDeviceFragmentShadingRateKHR {
44734 fn default() -> PhysicalDeviceFragmentShadingRateKHR { in default()
44737 p_next: ::std::ptr::null_mut(), in default()
44744 pub fn builder<'a>() -> PhysicalDeviceFragmentShadingRateKHRBuilder<'a> { in builder()
44747 marker: ::std::marker::PhantomData, in builder()
44754 marker: ::std::marker::PhantomData<&'a ()>,
44756 impl<'a> ::std::ops::Deref for PhysicalDeviceFragmentShadingRateKHRBuilder<'a> {
44758 fn deref(&self) -> &Self::Target { in deref()
44762 impl<'a> ::std::ops::DerefMut for PhysicalDeviceFragmentShadingRateKHRBuilder<'a> {
44763 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
44768 pub fn sample_counts(mut self, sample_counts: SampleCountFlags) -> Self { in sample_counts()
44772 pub fn fragment_size(mut self, fragment_size: Extent2D) -> Self { in fragment_size()
44776 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
44779 pub fn build(self) -> PhysicalDeviceFragmentShadingRateKHR { in build() method
44785 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSha…
44791 impl ::std::default::Default for PhysicalDeviceShaderTerminateInvocationFeaturesKHR {
44792 fn default() -> PhysicalDeviceShaderTerminateInvocationFeaturesKHR { in default()
44795 p_next: ::std::ptr::null_mut(), in default()
44801 pub fn builder<'a>() -> PhysicalDeviceShaderTerminateInvocationFeaturesKHRBuilder<'a> { in builder()
44804 marker: ::std::marker::PhantomData, in builder()
44811 marker: ::std::marker::PhantomData<&'a ()>,
44823 impl<'a> ::std::ops::Deref for PhysicalDeviceShaderTerminateInvocationFeaturesKHRBuilder<'a> {
44825 fn deref(&self) -> &Self::Target { in deref()
44829 impl<'a> ::std::ops::DerefMut for PhysicalDeviceShaderTerminateInvocationFeaturesKHRBuilder<'a> {
44830 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
44835 pub fn shader_terminate_invocation(mut self, shader_terminate_invocation: bool) -> Self { in shader_terminate_invocation()
44839 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
44842 pub fn build(self) -> PhysicalDeviceShaderTerminateInvocationFeaturesKHR { in build() method
44848 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceFra…
44856 impl ::std::default::Default for PhysicalDeviceFragmentShadingRateEnumsFeaturesNV {
44857 fn default() -> PhysicalDeviceFragmentShadingRateEnumsFeaturesNV { in default()
44860 p_next: ::std::ptr::null_mut(), in default()
44868 pub fn builder<'a>() -> PhysicalDeviceFragmentShadingRateEnumsFeaturesNVBuilder<'a> { in builder()
44871 marker: ::std::marker::PhantomData, in builder()
44878 marker: ::std::marker::PhantomData<&'a ()>,
44890 impl<'a> ::std::ops::Deref for PhysicalDeviceFragmentShadingRateEnumsFeaturesNVBuilder<'a> {
44892 fn deref(&self) -> &Self::Target { in deref()
44896 impl<'a> ::std::ops::DerefMut for PhysicalDeviceFragmentShadingRateEnumsFeaturesNVBuilder<'a> {
44897 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
44902 pub fn fragment_shading_rate_enums(mut self, fragment_shading_rate_enums: bool) -> Self { in fragment_shading_rate_enums()
44909 ) -> Self { in supersample_fragment_shading_rates()
44916 ) -> Self { in no_invocation_fragment_shading_rates()
44921 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
44924 pub fn build(self) -> PhysicalDeviceFragmentShadingRateEnumsFeaturesNV { in build() method
44930 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceFra…
44936 impl ::std::default::Default for PhysicalDeviceFragmentShadingRateEnumsPropertiesNV {
44937 fn default() -> PhysicalDeviceFragmentShadingRateEnumsPropertiesNV { in default()
44940 p_next: ::std::ptr::null_mut(), in default()
44946 pub fn builder<'a>() -> PhysicalDeviceFragmentShadingRateEnumsPropertiesNVBuilder<'a> { in builder()
44949 marker: ::std::marker::PhantomData, in builder()
44956 marker: ::std::marker::PhantomData<&'a ()>,
44966 impl<'a> ::std::ops::Deref for PhysicalDeviceFragmentShadingRateEnumsPropertiesNVBuilder<'a> {
44968 fn deref(&self) -> &Self::Target { in deref()
44972 impl<'a> ::std::ops::DerefMut for PhysicalDeviceFragmentShadingRateEnumsPropertiesNVBuilder<'a> {
44973 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
44981 ) -> Self { in max_fragment_shading_rate_invocation_count()
44986 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
44989 pub fn build(self) -> PhysicalDeviceFragmentShadingRateEnumsPropertiesNV { in build() method
44995 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineFragmentS…
45003 impl ::std::default::Default for PipelineFragmentShadingRateEnumStateCreateInfoNV {
45004 fn default() -> PipelineFragmentShadingRateEnumStateCreateInfoNV { in default()
45007 p_next: ::std::ptr::null(), in default()
45010 combiner_ops: unsafe { ::std::mem::zeroed() }, in default()
45015 pub fn builder<'a>() -> PipelineFragmentShadingRateEnumStateCreateInfoNVBuilder<'a> { in builder()
45018 marker: ::std::marker::PhantomData, in builder()
45025 marker: ::std::marker::PhantomData<&'a ()>,
45032 impl<'a> ::std::ops::Deref for PipelineFragmentShadingRateEnumStateCreateInfoNVBuilder<'a> {
45034 fn deref(&self) -> &Self::Target { in deref()
45038 impl<'a> ::std::ops::DerefMut for PipelineFragmentShadingRateEnumStateCreateInfoNVBuilder<'a> {
45039 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
45044 pub fn shading_rate_type(mut self, shading_rate_type: FragmentShadingRateTypeNV) -> Self { in shading_rate_type()
45048 pub fn shading_rate(mut self, shading_rate: FragmentShadingRateNV) -> Self { in shading_rate()
45052 pub fn combiner_ops(mut self, combiner_ops: [FragmentShadingRateCombinerOpKHR; 2]) -> Self { in combiner_ops()
45056 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
45059 pub fn build(self) -> PipelineFragmentShadingRateEnumStateCreateInfoNV { in build() method
45065 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAccelerationStruc…
45073 impl ::std::default::Default for AccelerationStructureBuildSizesInfoKHR {
45074 fn default() -> AccelerationStructureBuildSizesInfoKHR { in default()
45077 p_next: ::std::ptr::null(), in default()
45085 pub fn builder<'a>() -> AccelerationStructureBuildSizesInfoKHRBuilder<'a> { in builder()
45088 marker: ::std::marker::PhantomData, in builder()
45095 marker: ::std::marker::PhantomData<&'a ()>,
45097 impl<'a> ::std::ops::Deref for AccelerationStructureBuildSizesInfoKHRBuilder<'a> {
45099 fn deref(&self) -> &Self::Target { in deref()
45103 impl<'a> ::std::ops::DerefMut for AccelerationStructureBuildSizesInfoKHRBuilder<'a> {
45104 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
45109 pub fn acceleration_structure_size(mut self, acceleration_structure_size: DeviceSize) -> Self { in acceleration_structure_size()
45113 pub fn update_scratch_size(mut self, update_scratch_size: DeviceSize) -> Self { in update_scratch_size()
45117 pub fn build_scratch_size(mut self, build_scratch_size: DeviceSize) -> Self { in build_scratch_size()
45121 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
45124 pub fn build(self) -> AccelerationStructureBuildSizesInfoKHR { in build() method
45130 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceMut…
45136 impl ::std::default::Default for PhysicalDeviceMutableDescriptorTypeFeaturesVALVE {
45137 fn default() -> PhysicalDeviceMutableDescriptorTypeFeaturesVALVE { in default()
45140 p_next: ::std::ptr::null_mut(), in default()
45146 pub fn builder<'a>() -> PhysicalDeviceMutableDescriptorTypeFeaturesVALVEBuilder<'a> { in builder()
45149 marker: ::std::marker::PhantomData, in builder()
45156 marker: ::std::marker::PhantomData<&'a ()>,
45168 impl<'a> ::std::ops::Deref for PhysicalDeviceMutableDescriptorTypeFeaturesVALVEBuilder<'a> {
45170 fn deref(&self) -> &Self::Target { in deref()
45174 impl<'a> ::std::ops::DerefMut for PhysicalDeviceMutableDescriptorTypeFeaturesVALVEBuilder<'a> {
45175 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
45180 pub fn mutable_descriptor_type(mut self, mutable_descriptor_type: bool) -> Self { in mutable_descriptor_type()
45184 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
45187 pub fn build(self) -> PhysicalDeviceMutableDescriptorTypeFeaturesVALVE { in build() method
45193 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMutableDescriptor…
45198 impl ::std::default::Default for MutableDescriptorTypeListVALVE {
45199 fn default() -> MutableDescriptorTypeListVALVE { in default()
45202 p_descriptor_types: ::std::ptr::null(), in default()
45207 pub fn builder<'a>() -> MutableDescriptorTypeListVALVEBuilder<'a> { in builder()
45210 marker: ::std::marker::PhantomData, in builder()
45217 marker: ::std::marker::PhantomData<&'a ()>,
45219 impl<'a> ::std::ops::Deref for MutableDescriptorTypeListVALVEBuilder<'a> {
45221 fn deref(&self) -> &Self::Target { in deref()
45225 impl<'a> ::std::ops::DerefMut for MutableDescriptorTypeListVALVEBuilder<'a> {
45226 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
45231 pub fn descriptor_types(mut self, descriptor_types: &'a [DescriptorType]) -> Self { in descriptor_types()
45236 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
45239 pub fn build(self) -> MutableDescriptorTypeListVALVE { in build() method
45245 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMutableDescriptor…
45252 impl ::std::default::Default for MutableDescriptorTypeCreateInfoVALVE {
45253 fn default() -> MutableDescriptorTypeCreateInfoVALVE { in default()
45256 p_next: ::std::ptr::null(), in default()
45258 p_mutable_descriptor_type_lists: ::std::ptr::null(), in default()
45263 pub fn builder<'a>() -> MutableDescriptorTypeCreateInfoVALVEBuilder<'a> { in builder()
45266 marker: ::std::marker::PhantomData, in builder()
45273 marker: ::std::marker::PhantomData<&'a ()>,
45282 impl<'a> ::std::ops::Deref for MutableDescriptorTypeCreateInfoVALVEBuilder<'a> {
45284 fn deref(&self) -> &Self::Target { in deref()
45288 impl<'a> ::std::ops::DerefMut for MutableDescriptorTypeCreateInfoVALVEBuilder<'a> {
45289 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
45297 ) -> Self { in mutable_descriptor_type_lists()
45302 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
45305 pub fn build(self) -> MutableDescriptorTypeCreateInfoVALVE { in build() method
45311 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceVer…
45317 impl ::std::default::Default for PhysicalDeviceVertexInputDynamicStateFeaturesEXT {
45318 fn default() -> PhysicalDeviceVertexInputDynamicStateFeaturesEXT { in default()
45321 p_next: ::std::ptr::null_mut(), in default()
45327 pub fn builder<'a>() -> PhysicalDeviceVertexInputDynamicStateFeaturesEXTBuilder<'a> { in builder()
45330 marker: ::std::marker::PhantomData, in builder()
45337 marker: ::std::marker::PhantomData<&'a ()>,
45349 impl<'a> ::std::ops::Deref for PhysicalDeviceVertexInputDynamicStateFeaturesEXTBuilder<'a> {
45351 fn deref(&self) -> &Self::Target { in deref()
45355 impl<'a> ::std::ops::DerefMut for PhysicalDeviceVertexInputDynamicStateFeaturesEXTBuilder<'a> {
45356 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
45361 pub fn vertex_input_dynamic_state(mut self, vertex_input_dynamic_state: bool) -> Self { in vertex_input_dynamic_state()
45365 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
45368 pub fn build(self) -> PhysicalDeviceVertexInputDynamicStateFeaturesEXT { in build() method
45374 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceExt…
45380 impl ::std::default::Default for PhysicalDeviceExternalMemoryRDMAFeaturesNV {
45381 fn default() -> PhysicalDeviceExternalMemoryRDMAFeaturesNV { in default()
45384 p_next: ::std::ptr::null_mut(), in default()
45390 pub fn builder<'a>() -> PhysicalDeviceExternalMemoryRDMAFeaturesNVBuilder<'a> { in builder()
45393 marker: ::std::marker::PhantomData, in builder()
45400 marker: ::std::marker::PhantomData<&'a ()>,
45409 impl<'a> ::std::ops::Deref for PhysicalDeviceExternalMemoryRDMAFeaturesNVBuilder<'a> {
45411 fn deref(&self) -> &Self::Target { in deref()
45415 impl<'a> ::std::ops::DerefMut for PhysicalDeviceExternalMemoryRDMAFeaturesNVBuilder<'a> {
45416 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
45421 pub fn external_memory_rdma(mut self, external_memory_rdma: bool) -> Self { in external_memory_rdma()
45425 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
45428 pub fn build(self) -> PhysicalDeviceExternalMemoryRDMAFeaturesNV { in build() method
45434 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVertexInputBindin…
45443 impl ::std::default::Default for VertexInputBindingDescription2EXT {
45444 fn default() -> VertexInputBindingDescription2EXT { in default()
45447 p_next: ::std::ptr::null_mut(), in default()
45456 pub fn builder<'a>() -> VertexInputBindingDescription2EXTBuilder<'a> { in builder()
45459 marker: ::std::marker::PhantomData, in builder()
45466 marker: ::std::marker::PhantomData<&'a ()>,
45468 impl<'a> ::std::ops::Deref for VertexInputBindingDescription2EXTBuilder<'a> {
45470 fn deref(&self) -> &Self::Target { in deref()
45474 impl<'a> ::std::ops::DerefMut for VertexInputBindingDescription2EXTBuilder<'a> {
45475 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
45480 pub fn binding(mut self, binding: u32) -> Self { in binding()
45484 pub fn stride(mut self, stride: u32) -> Self { in stride()
45488 pub fn input_rate(mut self, input_rate: VertexInputRate) -> Self { in input_rate()
45492 pub fn divisor(mut self, divisor: u32) -> Self { in divisor()
45496 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
45499 pub fn build(self) -> VertexInputBindingDescription2EXT { in build() method
45505 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVertexInputAttrib…
45514 impl ::std::default::Default for VertexInputAttributeDescription2EXT {
45515 fn default() -> VertexInputAttributeDescription2EXT { in default()
45518 p_next: ::std::ptr::null_mut(), in default()
45527 pub fn builder<'a>() -> VertexInputAttributeDescription2EXTBuilder<'a> { in builder()
45530 marker: ::std::marker::PhantomData, in builder()
45537 marker: ::std::marker::PhantomData<&'a ()>,
45539 impl<'a> ::std::ops::Deref for VertexInputAttributeDescription2EXTBuilder<'a> {
45541 fn deref(&self) -> &Self::Target { in deref()
45545 impl<'a> ::std::ops::DerefMut for VertexInputAttributeDescription2EXTBuilder<'a> {
45546 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
45551 pub fn location(mut self, location: u32) -> Self { in location()
45555 pub fn binding(mut self, binding: u32) -> Self { in binding()
45559 pub fn format(mut self, format: Format) -> Self { in format()
45563 pub fn offset(mut self, offset: u32) -> Self { in offset()
45567 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
45570 pub fn build(self) -> VertexInputAttributeDescription2EXT { in build() method
45576 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceCol…
45582 impl ::std::default::Default for PhysicalDeviceColorWriteEnableFeaturesEXT {
45583 fn default() -> PhysicalDeviceColorWriteEnableFeaturesEXT { in default()
45586 p_next: ::std::ptr::null_mut(), in default()
45592 pub fn builder<'a>() -> PhysicalDeviceColorWriteEnableFeaturesEXTBuilder<'a> { in builder()
45595 marker: ::std::marker::PhantomData, in builder()
45602 marker: ::std::marker::PhantomData<&'a ()>,
45611 impl<'a> ::std::ops::Deref for PhysicalDeviceColorWriteEnableFeaturesEXTBuilder<'a> {
45613 fn deref(&self) -> &Self::Target { in deref()
45617 impl<'a> ::std::ops::DerefMut for PhysicalDeviceColorWriteEnableFeaturesEXTBuilder<'a> {
45618 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
45623 pub fn color_write_enable(mut self, color_write_enable: bool) -> Self { in color_write_enable()
45627 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
45630 pub fn build(self) -> PhysicalDeviceColorWriteEnableFeaturesEXT { in build() method
45636 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineColorWrit…
45643 impl ::std::default::Default for PipelineColorWriteCreateInfoEXT {
45644 fn default() -> PipelineColorWriteCreateInfoEXT { in default()
45647 p_next: ::std::ptr::null(), in default()
45649 p_color_write_enables: ::std::ptr::null(), in default()
45654 pub fn builder<'a>() -> PipelineColorWriteCreateInfoEXTBuilder<'a> { in builder()
45657 marker: ::std::marker::PhantomData, in builder()
45664 marker: ::std::marker::PhantomData<&'a ()>,
45671 impl<'a> ::std::ops::Deref for PipelineColorWriteCreateInfoEXTBuilder<'a> {
45673 fn deref(&self) -> &Self::Target { in deref()
45677 impl<'a> ::std::ops::DerefMut for PipelineColorWriteCreateInfoEXTBuilder<'a> {
45678 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
45683 pub fn color_write_enables(mut self, color_write_enables: &'a [Bool32]) -> Self { in color_write_enables()
45688 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
45691 pub fn build(self) -> PipelineColorWriteCreateInfoEXT { in build() method
45697 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMemoryBarrier2KHR…
45706 impl ::std::default::Default for MemoryBarrier2KHR {
45707 fn default() -> MemoryBarrier2KHR { in default()
45710 p_next: ::std::ptr::null(), in default()
45719 pub fn builder<'a>() -> MemoryBarrier2KHRBuilder<'a> { in builder()
45722 marker: ::std::marker::PhantomData, in builder()
45729 marker: ::std::marker::PhantomData<&'a ()>,
45733 impl<'a> ::std::ops::Deref for MemoryBarrier2KHRBuilder<'a> {
45735 fn deref(&self) -> &Self::Target { in deref()
45739 impl<'a> ::std::ops::DerefMut for MemoryBarrier2KHRBuilder<'a> {
45740 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
45745 pub fn src_stage_mask(mut self, src_stage_mask: PipelineStageFlags2KHR) -> Self { in src_stage_mask()
45749 pub fn src_access_mask(mut self, src_access_mask: AccessFlags2KHR) -> Self { in src_access_mask()
45753 pub fn dst_stage_mask(mut self, dst_stage_mask: PipelineStageFlags2KHR) -> Self { in dst_stage_mask()
45757 pub fn dst_access_mask(mut self, dst_access_mask: AccessFlags2KHR) -> Self { in dst_access_mask()
45761 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
45764 pub fn build(self) -> MemoryBarrier2KHR { in build() method
45770 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageMemoryBarrie…
45785 impl ::std::default::Default for ImageMemoryBarrier2KHR {
45786 fn default() -> ImageMemoryBarrier2KHR { in default()
45789 p_next: ::std::ptr::null(), in default()
45804 pub fn builder<'a>() -> ImageMemoryBarrier2KHRBuilder<'a> { in builder()
45807 marker: ::std::marker::PhantomData, in builder()
45814 marker: ::std::marker::PhantomData<&'a ()>,
45817 impl<'a> ::std::ops::Deref for ImageMemoryBarrier2KHRBuilder<'a> {
45819 fn deref(&self) -> &Self::Target { in deref()
45823 impl<'a> ::std::ops::DerefMut for ImageMemoryBarrier2KHRBuilder<'a> {
45824 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
45829 pub fn src_stage_mask(mut self, src_stage_mask: PipelineStageFlags2KHR) -> Self { in src_stage_mask()
45833 pub fn src_access_mask(mut self, src_access_mask: AccessFlags2KHR) -> Self { in src_access_mask()
45837 pub fn dst_stage_mask(mut self, dst_stage_mask: PipelineStageFlags2KHR) -> Self { in dst_stage_mask()
45841 pub fn dst_access_mask(mut self, dst_access_mask: AccessFlags2KHR) -> Self { in dst_access_mask()
45845 pub fn old_layout(mut self, old_layout: ImageLayout) -> Self { in old_layout()
45849 pub fn new_layout(mut self, new_layout: ImageLayout) -> Self { in new_layout()
45853 pub fn src_queue_family_index(mut self, src_queue_family_index: u32) -> Self { in src_queue_family_index()
45857 pub fn dst_queue_family_index(mut self, dst_queue_family_index: u32) -> Self { in dst_queue_family_index()
45861 pub fn image(mut self, image: Image) -> Self { in image()
45865 pub fn subresource_range(mut self, subresource_range: ImageSubresourceRange) -> Self { in subresource_range()
45872 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
45873 #[doc = r" chain will look like `A -> D -> B -> C`."]
45874 pub fn push_next<T: ExtendsImageMemoryBarrier2KHR>(mut self, next: &'a mut T) -> Self { in push_next()
45883 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
45886 pub fn build(self) -> ImageMemoryBarrier2KHR { in build() method
45892 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBufferMemoryBarri…
45906 impl ::std::default::Default for BufferMemoryBarrier2KHR {
45907 fn default() -> BufferMemoryBarrier2KHR { in default()
45910 p_next: ::std::ptr::null(), in default()
45924 pub fn builder<'a>() -> BufferMemoryBarrier2KHRBuilder<'a> { in builder()
45927 marker: ::std::marker::PhantomData, in builder()
45934 marker: ::std::marker::PhantomData<&'a ()>,
45936 impl<'a> ::std::ops::Deref for BufferMemoryBarrier2KHRBuilder<'a> {
45938 fn deref(&self) -> &Self::Target { in deref()
45942 impl<'a> ::std::ops::DerefMut for BufferMemoryBarrier2KHRBuilder<'a> {
45943 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
45948 pub fn src_stage_mask(mut self, src_stage_mask: PipelineStageFlags2KHR) -> Self { in src_stage_mask()
45952 pub fn src_access_mask(mut self, src_access_mask: AccessFlags2KHR) -> Self { in src_access_mask()
45956 pub fn dst_stage_mask(mut self, dst_stage_mask: PipelineStageFlags2KHR) -> Self { in dst_stage_mask()
45960 pub fn dst_access_mask(mut self, dst_access_mask: AccessFlags2KHR) -> Self { in dst_access_mask()
45964 pub fn src_queue_family_index(mut self, src_queue_family_index: u32) -> Self { in src_queue_family_index()
45968 pub fn dst_queue_family_index(mut self, dst_queue_family_index: u32) -> Self { in dst_queue_family_index()
45972 pub fn buffer(mut self, buffer: Buffer) -> Self { in buffer()
45976 pub fn offset(mut self, offset: DeviceSize) -> Self { in offset()
45980 pub fn size(mut self, size: DeviceSize) -> Self { in size()
45984 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
45987 pub fn build(self) -> BufferMemoryBarrier2KHR { in build() method
45993 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDependencyInfoKHR…
46005 impl ::std::default::Default for DependencyInfoKHR {
46006 fn default() -> DependencyInfoKHR { in default()
46009 p_next: ::std::ptr::null(), in default()
46012 p_memory_barriers: ::std::ptr::null(), in default()
46014 p_buffer_memory_barriers: ::std::ptr::null(), in default()
46016 p_image_memory_barriers: ::std::ptr::null(), in default()
46021 pub fn builder<'a>() -> DependencyInfoKHRBuilder<'a> { in builder()
46024 marker: ::std::marker::PhantomData, in builder()
46031 marker: ::std::marker::PhantomData<&'a ()>,
46033 impl<'a> ::std::ops::Deref for DependencyInfoKHRBuilder<'a> {
46035 fn deref(&self) -> &Self::Target { in deref()
46039 impl<'a> ::std::ops::DerefMut for DependencyInfoKHRBuilder<'a> {
46040 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
46045 pub fn dependency_flags(mut self, dependency_flags: DependencyFlags) -> Self { in dependency_flags()
46049 pub fn memory_barriers(mut self, memory_barriers: &'a [MemoryBarrier2KHR]) -> Self { in memory_barriers()
46057 ) -> Self { in buffer_memory_barriers()
46065 ) -> Self { in image_memory_barriers()
46070 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
46073 pub fn build(self) -> DependencyInfoKHR { in build() method
46079 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSemaphoreSubmitIn…
46088 impl ::std::default::Default for SemaphoreSubmitInfoKHR {
46089 fn default() -> SemaphoreSubmitInfoKHR { in default()
46092 p_next: ::std::ptr::null(), in default()
46101 pub fn builder<'a>() -> SemaphoreSubmitInfoKHRBuilder<'a> { in builder()
46104 marker: ::std::marker::PhantomData, in builder()
46111 marker: ::std::marker::PhantomData<&'a ()>,
46113 impl<'a> ::std::ops::Deref for SemaphoreSubmitInfoKHRBuilder<'a> {
46115 fn deref(&self) -> &Self::Target { in deref()
46119 impl<'a> ::std::ops::DerefMut for SemaphoreSubmitInfoKHRBuilder<'a> {
46120 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
46125 pub fn semaphore(mut self, semaphore: Semaphore) -> Self { in semaphore()
46129 pub fn value(mut self, value: u64) -> Self { in value()
46133 pub fn stage_mask(mut self, stage_mask: PipelineStageFlags2KHR) -> Self { in stage_mask()
46137 pub fn device_index(mut self, device_index: u32) -> Self { in device_index()
46141 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
46144 pub fn build(self) -> SemaphoreSubmitInfoKHR { in build() method
46150 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCommandBufferSubm…
46157 impl ::std::default::Default for CommandBufferSubmitInfoKHR {
46158 fn default() -> CommandBufferSubmitInfoKHR { in default()
46161 p_next: ::std::ptr::null(), in default()
46168 pub fn builder<'a>() -> CommandBufferSubmitInfoKHRBuilder<'a> { in builder()
46171 marker: ::std::marker::PhantomData, in builder()
46178 marker: ::std::marker::PhantomData<&'a ()>,
46180 impl<'a> ::std::ops::Deref for CommandBufferSubmitInfoKHRBuilder<'a> {
46182 fn deref(&self) -> &Self::Target { in deref()
46186 impl<'a> ::std::ops::DerefMut for CommandBufferSubmitInfoKHRBuilder<'a> {
46187 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
46192 pub fn command_buffer(mut self, command_buffer: CommandBuffer) -> Self { in command_buffer()
46196 pub fn device_mask(mut self, device_mask: u32) -> Self { in device_mask()
46200 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
46203 pub fn build(self) -> CommandBufferSubmitInfoKHR { in build() method
46209 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSubmitInfo2KHR.ht…
46221 impl ::std::default::Default for SubmitInfo2KHR {
46222 fn default() -> SubmitInfo2KHR { in default()
46225 p_next: ::std::ptr::null(), in default()
46228 p_wait_semaphore_infos: ::std::ptr::null(), in default()
46230 p_command_buffer_infos: ::std::ptr::null(), in default()
46232 p_signal_semaphore_infos: ::std::ptr::null(), in default()
46237 pub fn builder<'a>() -> SubmitInfo2KHRBuilder<'a> { in builder()
46240 marker: ::std::marker::PhantomData, in builder()
46247 marker: ::std::marker::PhantomData<&'a ()>,
46250 impl<'a> ::std::ops::Deref for SubmitInfo2KHRBuilder<'a> {
46252 fn deref(&self) -> &Self::Target { in deref()
46256 impl<'a> ::std::ops::DerefMut for SubmitInfo2KHRBuilder<'a> {
46257 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
46262 pub fn flags(mut self, flags: SubmitFlagsKHR) -> Self { in flags()
46269 ) -> Self { in wait_semaphore_infos()
46277 ) -> Self { in command_buffer_infos()
46285 ) -> Self { in signal_semaphore_infos()
46293 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
46294 #[doc = r" chain will look like `A -> D -> B -> C`."]
46295 pub fn push_next<T: ExtendsSubmitInfo2KHR>(mut self, next: &'a mut T) -> Self { in push_next()
46304 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
46307 pub fn build(self) -> SubmitInfo2KHR { in build() method
46313 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkQueueFamilyCheckp…
46319 impl ::std::default::Default for QueueFamilyCheckpointProperties2NV {
46320 fn default() -> QueueFamilyCheckpointProperties2NV { in default()
46323 p_next: ::std::ptr::null_mut(), in default()
46329 pub fn builder<'a>() -> QueueFamilyCheckpointProperties2NVBuilder<'a> { in builder()
46332 marker: ::std::marker::PhantomData, in builder()
46339 marker: ::std::marker::PhantomData<&'a ()>,
46343 impl<'a> ::std::ops::Deref for QueueFamilyCheckpointProperties2NVBuilder<'a> {
46345 fn deref(&self) -> &Self::Target { in deref()
46349 impl<'a> ::std::ops::DerefMut for QueueFamilyCheckpointProperties2NVBuilder<'a> {
46350 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
46358 ) -> Self { in checkpoint_execution_stage_mask()
46362 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
46365 pub fn build(self) -> QueueFamilyCheckpointProperties2NV { in build() method
46371 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCheckpointData2NV…
46378 impl ::std::default::Default for CheckpointData2NV {
46379 fn default() -> CheckpointData2NV { in default()
46382 p_next: ::std::ptr::null_mut(), in default()
46384 p_checkpoint_marker: ::std::ptr::null_mut(), in default()
46389 pub fn builder<'a>() -> CheckpointData2NVBuilder<'a> { in builder()
46392 marker: ::std::marker::PhantomData, in builder()
46399 marker: ::std::marker::PhantomData<&'a ()>,
46401 impl<'a> ::std::ops::Deref for CheckpointData2NVBuilder<'a> {
46403 fn deref(&self) -> &Self::Target { in deref()
46407 impl<'a> ::std::ops::DerefMut for CheckpointData2NVBuilder<'a> {
46408 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
46413 pub fn stage(mut self, stage: PipelineStageFlags2KHR) -> Self { in stage()
46417 pub fn checkpoint_marker(mut self, checkpoint_marker: *mut c_void) -> Self { in checkpoint_marker()
46421 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
46424 pub fn build(self) -> CheckpointData2NV { in build() method
46430 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSyn…
46436 impl ::std::default::Default for PhysicalDeviceSynchronization2FeaturesKHR {
46437 fn default() -> PhysicalDeviceSynchronization2FeaturesKHR { in default()
46440 p_next: ::std::ptr::null_mut(), in default()
46446 pub fn builder<'a>() -> PhysicalDeviceSynchronization2FeaturesKHRBuilder<'a> { in builder()
46449 marker: ::std::marker::PhantomData, in builder()
46456 marker: ::std::marker::PhantomData<&'a ()>,
46465 impl<'a> ::std::ops::Deref for PhysicalDeviceSynchronization2FeaturesKHRBuilder<'a> {
46467 fn deref(&self) -> &Self::Target { in deref()
46471 impl<'a> ::std::ops::DerefMut for PhysicalDeviceSynchronization2FeaturesKHRBuilder<'a> {
46472 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
46477 pub fn synchronization2(mut self, synchronization2: bool) -> Self { in synchronization2()
46481 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
46484 pub fn build(self) -> PhysicalDeviceSynchronization2FeaturesKHR { in build() method
46490 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoQueueFamilyP…
46496 impl ::std::default::Default for VideoQueueFamilyProperties2KHR {
46497 fn default() -> VideoQueueFamilyProperties2KHR { in default()
46500 p_next: ::std::ptr::null_mut(), in default()
46506 pub fn builder<'a>() -> VideoQueueFamilyProperties2KHRBuilder<'a> { in builder()
46509 marker: ::std::marker::PhantomData, in builder()
46516 marker: ::std::marker::PhantomData<&'a ()>,
46520 impl<'a> ::std::ops::Deref for VideoQueueFamilyProperties2KHRBuilder<'a> {
46522 fn deref(&self) -> &Self::Target { in deref()
46526 impl<'a> ::std::ops::DerefMut for VideoQueueFamilyProperties2KHRBuilder<'a> {
46527 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
46535 ) -> Self { in video_codec_operations()
46539 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
46542 pub fn build(self) -> VideoQueueFamilyProperties2KHR { in build() method
46548 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoProfilesKHR.…
46555 impl ::std::default::Default for VideoProfilesKHR {
46556 fn default() -> VideoProfilesKHR { in default()
46559 p_next: ::std::ptr::null_mut(), in default()
46561 p_profiles: ::std::ptr::null(), in default()
46566 pub fn builder<'a>() -> VideoProfilesKHRBuilder<'a> { in builder()
46569 marker: ::std::marker::PhantomData, in builder()
46576 marker: ::std::marker::PhantomData<&'a ()>,
46586 impl<'a> ::std::ops::Deref for VideoProfilesKHRBuilder<'a> {
46588 fn deref(&self) -> &Self::Target { in deref()
46592 impl<'a> ::std::ops::DerefMut for VideoProfilesKHRBuilder<'a> {
46593 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
46598 pub fn profile_count(mut self, profile_count: u32) -> Self { in profile_count()
46602 pub fn profiles(mut self, profiles: &'a VideoProfileKHR) -> Self { in profiles()
46606 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
46609 pub fn build(self) -> VideoProfilesKHR { in build() method
46615 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceVid…
46622 impl ::std::default::Default for PhysicalDeviceVideoFormatInfoKHR {
46623 fn default() -> PhysicalDeviceVideoFormatInfoKHR { in default()
46626 p_next: ::std::ptr::null_mut(), in default()
46628 p_video_profiles: ::std::ptr::null(), in default()
46633 pub fn builder<'a>() -> PhysicalDeviceVideoFormatInfoKHRBuilder<'a> { in builder()
46636 marker: ::std::marker::PhantomData, in builder()
46643 marker: ::std::marker::PhantomData<&'a ()>,
46645 impl<'a> ::std::ops::Deref for PhysicalDeviceVideoFormatInfoKHRBuilder<'a> {
46647 fn deref(&self) -> &Self::Target { in deref()
46651 impl<'a> ::std::ops::DerefMut for PhysicalDeviceVideoFormatInfoKHRBuilder<'a> {
46652 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
46657 pub fn image_usage(mut self, image_usage: ImageUsageFlags) -> Self { in image_usage()
46661 pub fn video_profiles(mut self, video_profiles: &'a VideoProfilesKHR) -> Self { in video_profiles()
46665 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
46668 pub fn build(self) -> PhysicalDeviceVideoFormatInfoKHR { in build() method
46674 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoFormatProper…
46680 impl ::std::default::Default for VideoFormatPropertiesKHR {
46681 fn default() -> VideoFormatPropertiesKHR { in default()
46684 p_next: ::std::ptr::null_mut(), in default()
46690 pub fn builder<'a>() -> VideoFormatPropertiesKHRBuilder<'a> { in builder()
46693 marker: ::std::marker::PhantomData, in builder()
46700 marker: ::std::marker::PhantomData<&'a ()>,
46702 impl<'a> ::std::ops::Deref for VideoFormatPropertiesKHRBuilder<'a> {
46704 fn deref(&self) -> &Self::Target { in deref()
46708 impl<'a> ::std::ops::DerefMut for VideoFormatPropertiesKHRBuilder<'a> {
46709 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
46714 pub fn format(mut self, format: Format) -> Self { in format()
46718 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
46721 pub fn build(self) -> VideoFormatPropertiesKHR { in build() method
46727 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoProfileKHR.h…
46736 impl ::std::default::Default for VideoProfileKHR {
46737 fn default() -> VideoProfileKHR { in default()
46740 p_next: ::std::ptr::null_mut(), in default()
46749 pub fn builder<'a>() -> VideoProfileKHRBuilder<'a> { in builder()
46752 marker: ::std::marker::PhantomData, in builder()
46759 marker: ::std::marker::PhantomData<&'a ()>,
46772 impl<'a> ::std::ops::Deref for VideoProfileKHRBuilder<'a> {
46774 fn deref(&self) -> &Self::Target { in deref()
46778 impl<'a> ::std::ops::DerefMut for VideoProfileKHRBuilder<'a> {
46779 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
46787 ) -> Self { in video_codec_operation()
46794 ) -> Self { in chroma_subsampling()
46798 pub fn luma_bit_depth(mut self, luma_bit_depth: VideoComponentBitDepthFlagsKHR) -> Self { in luma_bit_depth()
46802 pub fn chroma_bit_depth(mut self, chroma_bit_depth: VideoComponentBitDepthFlagsKHR) -> Self { in chroma_bit_depth()
46809 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
46810 #[doc = r" chain will look like `A -> D -> B -> C`."]
46811 pub fn push_next<T: ExtendsVideoProfileKHR>(mut self, next: &'a mut T) -> Self { in push_next()
46820 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
46823 pub fn build(self) -> VideoProfileKHR { in build() method
46829 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoCapabilities…
46842 impl ::std::default::Default for VideoCapabilitiesKHR {
46843 fn default() -> VideoCapabilitiesKHR { in default()
46846 p_next: ::std::ptr::null_mut(), in default()
46859 pub fn builder<'a>() -> VideoCapabilitiesKHRBuilder<'a> { in builder()
46862 marker: ::std::marker::PhantomData, in builder()
46869 marker: ::std::marker::PhantomData<&'a ()>,
46872 impl<'a> ::std::ops::Deref for VideoCapabilitiesKHRBuilder<'a> {
46874 fn deref(&self) -> &Self::Target { in deref()
46878 impl<'a> ::std::ops::DerefMut for VideoCapabilitiesKHRBuilder<'a> {
46879 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
46884 pub fn capability_flags(mut self, capability_flags: VideoCapabilityFlagsKHR) -> Self { in capability_flags()
46891 ) -> Self { in min_bitstream_buffer_offset_alignment()
46898 ) -> Self { in min_bitstream_buffer_size_alignment()
46905 ) -> Self { in video_picture_extent_granularity()
46909 pub fn min_extent(mut self, min_extent: Extent2D) -> Self { in min_extent()
46913 pub fn max_extent(mut self, max_extent: Extent2D) -> Self { in max_extent()
46920 ) -> Self { in max_reference_pictures_slots_count()
46927 ) -> Self { in max_reference_pictures_active_count()
46934 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
46935 #[doc = r" chain will look like `A -> D -> B -> C`."]
46936 pub fn push_next<T: ExtendsVideoCapabilitiesKHR>(mut self, next: &'a mut T) -> Self { in push_next()
46945 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
46948 pub fn build(self) -> VideoCapabilitiesKHR { in build() method
46954 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoGetMemoryPro…
46961 impl ::std::default::Default for VideoGetMemoryPropertiesKHR {
46962 fn default() -> VideoGetMemoryPropertiesKHR { in default()
46965 p_next: ::std::ptr::null(), in default()
46967 p_memory_requirements: ::std::ptr::null_mut(), in default()
46972 pub fn builder<'a>() -> VideoGetMemoryPropertiesKHRBuilder<'a> { in builder()
46975 marker: ::std::marker::PhantomData, in builder()
46982 marker: ::std::marker::PhantomData<&'a ()>,
46984 impl<'a> ::std::ops::Deref for VideoGetMemoryPropertiesKHRBuilder<'a> {
46986 fn deref(&self) -> &Self::Target { in deref()
46990 impl<'a> ::std::ops::DerefMut for VideoGetMemoryPropertiesKHRBuilder<'a> {
46991 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
46996 pub fn memory_bind_index(mut self, memory_bind_index: u32) -> Self { in memory_bind_index()
47000 pub fn memory_requirements(mut self, memory_requirements: &'a mut MemoryRequirements2) -> Self { in memory_requirements()
47004 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
47007 pub fn build(self) -> VideoGetMemoryPropertiesKHR { in build() method
47013 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoBindMemoryKH…
47022 impl ::std::default::Default for VideoBindMemoryKHR {
47023 fn default() -> VideoBindMemoryKHR { in default()
47026 p_next: ::std::ptr::null(), in default()
47035 pub fn builder<'a>() -> VideoBindMemoryKHRBuilder<'a> { in builder()
47038 marker: ::std::marker::PhantomData, in builder()
47045 marker: ::std::marker::PhantomData<&'a ()>,
47047 impl<'a> ::std::ops::Deref for VideoBindMemoryKHRBuilder<'a> {
47049 fn deref(&self) -> &Self::Target { in deref()
47053 impl<'a> ::std::ops::DerefMut for VideoBindMemoryKHRBuilder<'a> {
47054 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
47059 pub fn memory_bind_index(mut self, memory_bind_index: u32) -> Self { in memory_bind_index()
47063 pub fn memory(mut self, memory: DeviceMemory) -> Self { in memory()
47067 pub fn memory_offset(mut self, memory_offset: DeviceSize) -> Self { in memory_offset()
47071 pub fn memory_size(mut self, memory_size: DeviceSize) -> Self { in memory_size()
47075 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
47078 pub fn build(self) -> VideoBindMemoryKHR { in build() method
47084 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoPictureResou…
47093 impl ::std::default::Default for VideoPictureResourceKHR {
47094 fn default() -> VideoPictureResourceKHR { in default()
47097 p_next: ::std::ptr::null(), in default()
47106 pub fn builder<'a>() -> VideoPictureResourceKHRBuilder<'a> { in builder()
47109 marker: ::std::marker::PhantomData, in builder()
47116 marker: ::std::marker::PhantomData<&'a ()>,
47118 impl<'a> ::std::ops::Deref for VideoPictureResourceKHRBuilder<'a> {
47120 fn deref(&self) -> &Self::Target { in deref()
47124 impl<'a> ::std::ops::DerefMut for VideoPictureResourceKHRBuilder<'a> {
47125 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
47130 pub fn coded_offset(mut self, coded_offset: Offset2D) -> Self { in coded_offset()
47134 pub fn coded_extent(mut self, coded_extent: Extent2D) -> Self { in coded_extent()
47138 pub fn base_array_layer(mut self, base_array_layer: u32) -> Self { in base_array_layer()
47142 pub fn image_view_binding(mut self, image_view_binding: ImageView) -> Self { in image_view_binding()
47146 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
47149 pub fn build(self) -> VideoPictureResourceKHR { in build() method
47155 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoReferenceSlo…
47162 impl ::std::default::Default for VideoReferenceSlotKHR {
47163 fn default() -> VideoReferenceSlotKHR { in default()
47166 p_next: ::std::ptr::null(), in default()
47168 p_picture_resource: ::std::ptr::null(), in default()
47173 pub fn builder<'a>() -> VideoReferenceSlotKHRBuilder<'a> { in builder()
47176 marker: ::std::marker::PhantomData, in builder()
47183 marker: ::std::marker::PhantomData<&'a ()>,
47186 impl<'a> ::std::ops::Deref for VideoReferenceSlotKHRBuilder<'a> {
47188 fn deref(&self) -> &Self::Target { in deref()
47192 impl<'a> ::std::ops::DerefMut for VideoReferenceSlotKHRBuilder<'a> {
47193 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
47198 pub fn slot_index(mut self, slot_index: i8) -> Self { in slot_index()
47202 pub fn picture_resource(mut self, picture_resource: &'a VideoPictureResourceKHR) -> Self { in picture_resource()
47209 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
47210 #[doc = r" chain will look like `A -> D -> B -> C`."]
47211 pub fn push_next<T: ExtendsVideoReferenceSlotKHR>(mut self, next: &'a mut T) -> Self { in push_next()
47220 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
47223 pub fn build(self) -> VideoReferenceSlotKHR { in build() method
47229 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoDecodeInfoKH…
47244 impl ::std::default::Default for VideoDecodeInfoKHR {
47245 fn default() -> VideoDecodeInfoKHR { in default()
47248 p_next: ::std::ptr::null(), in default()
47256 p_setup_reference_slot: ::std::ptr::null(), in default()
47258 p_reference_slots: ::std::ptr::null(), in default()
47263 pub fn builder<'a>() -> VideoDecodeInfoKHRBuilder<'a> { in builder()
47266 marker: ::std::marker::PhantomData, in builder()
47273 marker: ::std::marker::PhantomData<&'a ()>,
47276 impl<'a> ::std::ops::Deref for VideoDecodeInfoKHRBuilder<'a> {
47278 fn deref(&self) -> &Self::Target { in deref()
47282 impl<'a> ::std::ops::DerefMut for VideoDecodeInfoKHRBuilder<'a> {
47283 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
47288 pub fn flags(mut self, flags: VideoDecodeFlagsKHR) -> Self { in flags()
47292 pub fn coded_offset(mut self, coded_offset: Offset2D) -> Self { in coded_offset()
47296 pub fn coded_extent(mut self, coded_extent: Extent2D) -> Self { in coded_extent()
47300 pub fn src_buffer(mut self, src_buffer: Buffer) -> Self { in src_buffer()
47304 pub fn src_buffer_offset(mut self, src_buffer_offset: DeviceSize) -> Self { in src_buffer_offset()
47308 pub fn src_buffer_range(mut self, src_buffer_range: DeviceSize) -> Self { in src_buffer_range()
47312 pub fn dst_picture_resource(mut self, dst_picture_resource: VideoPictureResourceKHR) -> Self { in dst_picture_resource()
47316 pub fn setup_reference_slot(mut self, setup_reference_slot: &'a VideoReferenceSlotKHR) -> Self { in setup_reference_slot()
47320 pub fn reference_slots(mut self, reference_slots: &'a [VideoReferenceSlotKHR]) -> Self { in reference_slots()
47328 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
47329 #[doc = r" chain will look like `A -> D -> B -> C`."]
47330 pub fn push_next<T: ExtendsVideoDecodeInfoKHR>(mut self, next: &'a mut T) -> Self { in push_next()
47339 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
47342 pub fn build(self) -> VideoDecodeInfoKHR { in build() method
47348 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoDecodeH264Pr…
47355 impl ::std::default::Default for VideoDecodeH264ProfileEXT {
47356 fn default() -> VideoDecodeH264ProfileEXT { in default()
47359 p_next: ::std::ptr::null(), in default()
47366 pub fn builder<'a>() -> VideoDecodeH264ProfileEXTBuilder<'a> { in builder()
47369 marker: ::std::marker::PhantomData, in builder()
47376 marker: ::std::marker::PhantomData<&'a ()>,
47380 impl<'a> ::std::ops::Deref for VideoDecodeH264ProfileEXTBuilder<'a> {
47382 fn deref(&self) -> &Self::Target { in deref()
47386 impl<'a> ::std::ops::DerefMut for VideoDecodeH264ProfileEXTBuilder<'a> {
47387 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
47392 pub fn std_profile_idc(mut self, std_profile_idc: StdVideoH264ProfileIdc) -> Self { in std_profile_idc()
47396 pub fn picture_layout(mut self, picture_layout: VideoDecodeH264PictureLayoutFlagsEXT) -> Self { in picture_layout()
47400 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
47403 pub fn build(self) -> VideoDecodeH264ProfileEXT { in build() method
47409 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoDecodeH264Ca…
47417 impl ::std::default::Default for VideoDecodeH264CapabilitiesEXT {
47418 fn default() -> VideoDecodeH264CapabilitiesEXT { in default()
47421 p_next: ::std::ptr::null_mut(), in default()
47429 pub fn builder<'a>() -> VideoDecodeH264CapabilitiesEXTBuilder<'a> { in builder()
47432 marker: ::std::marker::PhantomData, in builder()
47439 marker: ::std::marker::PhantomData<&'a ()>,
47443 impl<'a> ::std::ops::Deref for VideoDecodeH264CapabilitiesEXTBuilder<'a> {
47445 fn deref(&self) -> &Self::Target { in deref()
47449 impl<'a> ::std::ops::DerefMut for VideoDecodeH264CapabilitiesEXTBuilder<'a> {
47450 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
47455 pub fn max_level(mut self, max_level: u32) -> Self { in max_level()
47459 pub fn field_offset_granularity(mut self, field_offset_granularity: Offset2D) -> Self { in field_offset_granularity()
47463 pub fn std_extension_version(mut self, std_extension_version: ExtensionProperties) -> Self { in std_extension_version()
47467 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
47470 pub fn build(self) -> VideoDecodeH264CapabilitiesEXT { in build() method
47476 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoDecodeH264Se…
47483 impl ::std::default::Default for VideoDecodeH264SessionCreateInfoEXT {
47484 fn default() -> VideoDecodeH264SessionCreateInfoEXT { in default()
47487 p_next: ::std::ptr::null(), in default()
47489 p_std_extension_version: ::std::ptr::null(), in default()
47494 pub fn builder<'a>() -> VideoDecodeH264SessionCreateInfoEXTBuilder<'a> { in builder()
47497 marker: ::std::marker::PhantomData, in builder()
47504 marker: ::std::marker::PhantomData<&'a ()>,
47508 impl<'a> ::std::ops::Deref for VideoDecodeH264SessionCreateInfoEXTBuilder<'a> {
47510 fn deref(&self) -> &Self::Target { in deref()
47514 impl<'a> ::std::ops::DerefMut for VideoDecodeH264SessionCreateInfoEXTBuilder<'a> {
47515 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
47520 pub fn flags(mut self, flags: VideoDecodeH264CreateFlagsEXT) -> Self { in flags()
47524 pub fn std_extension_version(mut self, std_extension_version: &'a ExtensionProperties) -> Self { in std_extension_version()
47528 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
47531 pub fn build(self) -> VideoDecodeH264SessionCreateInfoEXT { in build() method
47537 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoDecodeH264Se…
47546 impl ::std::default::Default for VideoDecodeH264SessionParametersAddInfoEXT {
47547 fn default() -> VideoDecodeH264SessionParametersAddInfoEXT { in default()
47550 p_next: ::std::ptr::null(), in default()
47552 p_sps_std: ::std::ptr::null(), in default()
47554 p_pps_std: ::std::ptr::null(), in default()
47559 pub fn builder<'a>() -> VideoDecodeH264SessionParametersAddInfoEXTBuilder<'a> { in builder()
47562 marker: ::std::marker::PhantomData, in builder()
47569 marker: ::std::marker::PhantomData<&'a ()>,
47579 impl<'a> ::std::ops::Deref for VideoDecodeH264SessionParametersAddInfoEXTBuilder<'a> {
47581 fn deref(&self) -> &Self::Target { in deref()
47585 impl<'a> ::std::ops::DerefMut for VideoDecodeH264SessionParametersAddInfoEXTBuilder<'a> {
47586 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
47591 pub fn sps_std(mut self, sps_std: &'a [StdVideoH264SequenceParameterSet]) -> Self { in sps_std()
47596 pub fn pps_std(mut self, pps_std: &'a [StdVideoH264PictureParameterSet]) -> Self { in pps_std()
47601 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
47604 pub fn build(self) -> VideoDecodeH264SessionParametersAddInfoEXT { in build() method
47610 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoDecodeH264Se…
47618 impl ::std::default::Default for VideoDecodeH264SessionParametersCreateInfoEXT {
47619 fn default() -> VideoDecodeH264SessionParametersCreateInfoEXT { in default()
47622 p_next: ::std::ptr::null(), in default()
47625 p_parameters_add_info: ::std::ptr::null(), in default()
47630 pub fn builder<'a>() -> VideoDecodeH264SessionParametersCreateInfoEXTBuilder<'a> { in builder()
47633 marker: ::std::marker::PhantomData, in builder()
47640 marker: ::std::marker::PhantomData<&'a ()>,
47650 impl<'a> ::std::ops::Deref for VideoDecodeH264SessionParametersCreateInfoEXTBuilder<'a> {
47652 fn deref(&self) -> &Self::Target { in deref()
47656 impl<'a> ::std::ops::DerefMut for VideoDecodeH264SessionParametersCreateInfoEXTBuilder<'a> {
47657 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
47662 pub fn max_sps_std_count(mut self, max_sps_std_count: u32) -> Self { in max_sps_std_count()
47666 pub fn max_pps_std_count(mut self, max_pps_std_count: u32) -> Self { in max_pps_std_count()
47673 ) -> Self { in parameters_add_info()
47677 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
47680 pub fn build(self) -> VideoDecodeH264SessionParametersCreateInfoEXT { in build() method
47686 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoDecodeH264Pi…
47694 impl ::std::default::Default for VideoDecodeH264PictureInfoEXT {
47695 fn default() -> VideoDecodeH264PictureInfoEXT { in default()
47698 p_next: ::std::ptr::null(), in default()
47699 p_std_picture_info: ::std::ptr::null(), in default()
47701 p_slices_data_offsets: ::std::ptr::null(), in default()
47706 pub fn builder<'a>() -> VideoDecodeH264PictureInfoEXTBuilder<'a> { in builder()
47709 marker: ::std::marker::PhantomData, in builder()
47716 marker: ::std::marker::PhantomData<&'a ()>,
47721 impl<'a> ::std::ops::Deref for VideoDecodeH264PictureInfoEXTBuilder<'a> {
47723 fn deref(&self) -> &Self::Target { in deref()
47727 impl<'a> ::std::ops::DerefMut for VideoDecodeH264PictureInfoEXTBuilder<'a> {
47728 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
47733 pub fn std_picture_info(mut self, std_picture_info: &'a StdVideoDecodeH264PictureInfo) -> Self { in std_picture_info()
47737 pub fn slices_data_offsets(mut self, slices_data_offsets: &'a [u32]) -> Self { in slices_data_offsets()
47745 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
47746 #[doc = r" chain will look like `A -> D -> B -> C`."]
47747 pub fn push_next<T: ExtendsVideoDecodeH264PictureInfoEXT>(mut self, next: &'a mut T) -> Self { in push_next()
47756 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
47759 pub fn build(self) -> VideoDecodeH264PictureInfoEXT { in build() method
47765 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoDecodeH264Dp…
47771 impl ::std::default::Default for VideoDecodeH264DpbSlotInfoEXT {
47772 fn default() -> VideoDecodeH264DpbSlotInfoEXT { in default()
47775 p_next: ::std::ptr::null(), in default()
47776 p_std_reference_info: ::std::ptr::null(), in default()
47781 pub fn builder<'a>() -> VideoDecodeH264DpbSlotInfoEXTBuilder<'a> { in builder()
47784 marker: ::std::marker::PhantomData, in builder()
47791 marker: ::std::marker::PhantomData<&'a ()>,
47795 impl<'a> ::std::ops::Deref for VideoDecodeH264DpbSlotInfoEXTBuilder<'a> {
47797 fn deref(&self) -> &Self::Target { in deref()
47801 impl<'a> ::std::ops::DerefMut for VideoDecodeH264DpbSlotInfoEXTBuilder<'a> {
47802 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
47810 ) -> Self { in std_reference_info()
47814 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
47817 pub fn build(self) -> VideoDecodeH264DpbSlotInfoEXT { in build() method
47823 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoDecodeH264Mv…
47829 impl ::std::default::Default for VideoDecodeH264MvcEXT {
47830 fn default() -> VideoDecodeH264MvcEXT { in default()
47833 p_next: ::std::ptr::null(), in default()
47834 p_std_mvc: ::std::ptr::null(), in default()
47839 pub fn builder<'a>() -> VideoDecodeH264MvcEXTBuilder<'a> { in builder()
47842 marker: ::std::marker::PhantomData, in builder()
47849 marker: ::std::marker::PhantomData<&'a ()>,
47853 impl<'a> ::std::ops::Deref for VideoDecodeH264MvcEXTBuilder<'a> {
47855 fn deref(&self) -> &Self::Target { in deref()
47859 impl<'a> ::std::ops::DerefMut for VideoDecodeH264MvcEXTBuilder<'a> {
47860 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
47865 pub fn std_mvc(mut self, std_mvc: &'a StdVideoDecodeH264Mvc) -> Self { in std_mvc()
47869 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
47872 pub fn build(self) -> VideoDecodeH264MvcEXT { in build() method
47878 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoDecodeH265Pr…
47884 impl ::std::default::Default for VideoDecodeH265ProfileEXT {
47885 fn default() -> VideoDecodeH265ProfileEXT { in default()
47888 p_next: ::std::ptr::null(), in default()
47894 pub fn builder<'a>() -> VideoDecodeH265ProfileEXTBuilder<'a> { in builder()
47897 marker: ::std::marker::PhantomData, in builder()
47904 marker: ::std::marker::PhantomData<&'a ()>,
47908 impl<'a> ::std::ops::Deref for VideoDecodeH265ProfileEXTBuilder<'a> {
47910 fn deref(&self) -> &Self::Target { in deref()
47914 impl<'a> ::std::ops::DerefMut for VideoDecodeH265ProfileEXTBuilder<'a> {
47915 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
47920 pub fn std_profile_idc(mut self, std_profile_idc: StdVideoH265ProfileIdc) -> Self { in std_profile_idc()
47924 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
47927 pub fn build(self) -> VideoDecodeH265ProfileEXT { in build() method
47933 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoDecodeH265Ca…
47940 impl ::std::default::Default for VideoDecodeH265CapabilitiesEXT {
47941 fn default() -> VideoDecodeH265CapabilitiesEXT { in default()
47944 p_next: ::std::ptr::null_mut(), in default()
47951 pub fn builder<'a>() -> VideoDecodeH265CapabilitiesEXTBuilder<'a> { in builder()
47954 marker: ::std::marker::PhantomData, in builder()
47961 marker: ::std::marker::PhantomData<&'a ()>,
47965 impl<'a> ::std::ops::Deref for VideoDecodeH265CapabilitiesEXTBuilder<'a> {
47967 fn deref(&self) -> &Self::Target { in deref()
47971 impl<'a> ::std::ops::DerefMut for VideoDecodeH265CapabilitiesEXTBuilder<'a> {
47972 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
47977 pub fn max_level(mut self, max_level: u32) -> Self { in max_level()
47981 pub fn std_extension_version(mut self, std_extension_version: ExtensionProperties) -> Self { in std_extension_version()
47985 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
47988 pub fn build(self) -> VideoDecodeH265CapabilitiesEXT { in build() method
47994 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoDecodeH265Se…
48001 impl ::std::default::Default for VideoDecodeH265SessionCreateInfoEXT {
48002 fn default() -> VideoDecodeH265SessionCreateInfoEXT { in default()
48005 p_next: ::std::ptr::null(), in default()
48007 p_std_extension_version: ::std::ptr::null(), in default()
48012 pub fn builder<'a>() -> VideoDecodeH265SessionCreateInfoEXTBuilder<'a> { in builder()
48015 marker: ::std::marker::PhantomData, in builder()
48022 marker: ::std::marker::PhantomData<&'a ()>,
48026 impl<'a> ::std::ops::Deref for VideoDecodeH265SessionCreateInfoEXTBuilder<'a> {
48028 fn deref(&self) -> &Self::Target { in deref()
48032 impl<'a> ::std::ops::DerefMut for VideoDecodeH265SessionCreateInfoEXTBuilder<'a> {
48033 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
48038 pub fn flags(mut self, flags: VideoDecodeH265CreateFlagsEXT) -> Self { in flags()
48042 pub fn std_extension_version(mut self, std_extension_version: &'a ExtensionProperties) -> Self { in std_extension_version()
48046 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
48049 pub fn build(self) -> VideoDecodeH265SessionCreateInfoEXT { in build() method
48055 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoDecodeH265Se…
48064 impl ::std::default::Default for VideoDecodeH265SessionParametersAddInfoEXT {
48065 fn default() -> VideoDecodeH265SessionParametersAddInfoEXT { in default()
48068 p_next: ::std::ptr::null(), in default()
48070 p_sps_std: ::std::ptr::null(), in default()
48072 p_pps_std: ::std::ptr::null(), in default()
48077 pub fn builder<'a>() -> VideoDecodeH265SessionParametersAddInfoEXTBuilder<'a> { in builder()
48080 marker: ::std::marker::PhantomData, in builder()
48087 marker: ::std::marker::PhantomData<&'a ()>,
48097 impl<'a> ::std::ops::Deref for VideoDecodeH265SessionParametersAddInfoEXTBuilder<'a> {
48099 fn deref(&self) -> &Self::Target { in deref()
48103 impl<'a> ::std::ops::DerefMut for VideoDecodeH265SessionParametersAddInfoEXTBuilder<'a> {
48104 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
48109 pub fn sps_std(mut self, sps_std: &'a [StdVideoH265SequenceParameterSet]) -> Self { in sps_std()
48114 pub fn pps_std(mut self, pps_std: &'a [StdVideoH265PictureParameterSet]) -> Self { in pps_std()
48119 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
48122 pub fn build(self) -> VideoDecodeH265SessionParametersAddInfoEXT { in build() method
48128 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoDecodeH265Se…
48136 impl ::std::default::Default for VideoDecodeH265SessionParametersCreateInfoEXT {
48137 fn default() -> VideoDecodeH265SessionParametersCreateInfoEXT { in default()
48140 p_next: ::std::ptr::null(), in default()
48143 p_parameters_add_info: ::std::ptr::null(), in default()
48148 pub fn builder<'a>() -> VideoDecodeH265SessionParametersCreateInfoEXTBuilder<'a> { in builder()
48151 marker: ::std::marker::PhantomData, in builder()
48158 marker: ::std::marker::PhantomData<&'a ()>,
48168 impl<'a> ::std::ops::Deref for VideoDecodeH265SessionParametersCreateInfoEXTBuilder<'a> {
48170 fn deref(&self) -> &Self::Target { in deref()
48174 impl<'a> ::std::ops::DerefMut for VideoDecodeH265SessionParametersCreateInfoEXTBuilder<'a> {
48175 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
48180 pub fn max_sps_std_count(mut self, max_sps_std_count: u32) -> Self { in max_sps_std_count()
48184 pub fn max_pps_std_count(mut self, max_pps_std_count: u32) -> Self { in max_pps_std_count()
48191 ) -> Self { in parameters_add_info()
48195 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
48198 pub fn build(self) -> VideoDecodeH265SessionParametersCreateInfoEXT { in build() method
48204 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoDecodeH265Pi…
48212 impl ::std::default::Default for VideoDecodeH265PictureInfoEXT {
48213 fn default() -> VideoDecodeH265PictureInfoEXT { in default()
48216 p_next: ::std::ptr::null(), in default()
48217 p_std_picture_info: ::std::ptr::null_mut(), in default()
48219 p_slices_data_offsets: ::std::ptr::null(), in default()
48224 pub fn builder<'a>() -> VideoDecodeH265PictureInfoEXTBuilder<'a> { in builder()
48227 marker: ::std::marker::PhantomData, in builder()
48234 marker: ::std::marker::PhantomData<&'a ()>,
48238 impl<'a> ::std::ops::Deref for VideoDecodeH265PictureInfoEXTBuilder<'a> {
48240 fn deref(&self) -> &Self::Target { in deref()
48244 impl<'a> ::std::ops::DerefMut for VideoDecodeH265PictureInfoEXTBuilder<'a> {
48245 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
48253 ) -> Self { in std_picture_info()
48257 pub fn slices_data_offsets(mut self, slices_data_offsets: &'a [u32]) -> Self { in slices_data_offsets()
48262 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
48265 pub fn build(self) -> VideoDecodeH265PictureInfoEXT { in build() method
48271 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoDecodeH265Dp…
48277 impl ::std::default::Default for VideoDecodeH265DpbSlotInfoEXT {
48278 fn default() -> VideoDecodeH265DpbSlotInfoEXT { in default()
48281 p_next: ::std::ptr::null(), in default()
48282 p_std_reference_info: ::std::ptr::null(), in default()
48287 pub fn builder<'a>() -> VideoDecodeH265DpbSlotInfoEXTBuilder<'a> { in builder()
48290 marker: ::std::marker::PhantomData, in builder()
48297 marker: ::std::marker::PhantomData<&'a ()>,
48301 impl<'a> ::std::ops::Deref for VideoDecodeH265DpbSlotInfoEXTBuilder<'a> {
48303 fn deref(&self) -> &Self::Target { in deref()
48307 impl<'a> ::std::ops::DerefMut for VideoDecodeH265DpbSlotInfoEXTBuilder<'a> {
48308 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
48316 ) -> Self { in std_reference_info()
48320 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
48323 pub fn build(self) -> VideoDecodeH265DpbSlotInfoEXT { in build() method
48329 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoSessionCreat…
48342 impl ::std::default::Default for VideoSessionCreateInfoKHR {
48343 fn default() -> VideoSessionCreateInfoKHR { in default()
48346 p_next: ::std::ptr::null(), in default()
48349 p_video_profile: ::std::ptr::null(), in default()
48359 pub fn builder<'a>() -> VideoSessionCreateInfoKHRBuilder<'a> { in builder()
48362 marker: ::std::marker::PhantomData, in builder()
48369 marker: ::std::marker::PhantomData<&'a ()>,
48372 impl<'a> ::std::ops::Deref for VideoSessionCreateInfoKHRBuilder<'a> {
48374 fn deref(&self) -> &Self::Target { in deref()
48378 impl<'a> ::std::ops::DerefMut for VideoSessionCreateInfoKHRBuilder<'a> {
48379 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
48384 pub fn queue_family_index(mut self, queue_family_index: u32) -> Self { in queue_family_index()
48388 pub fn flags(mut self, flags: VideoSessionCreateFlagsKHR) -> Self { in flags()
48392 pub fn video_profile(mut self, video_profile: &'a VideoProfileKHR) -> Self { in video_profile()
48396 pub fn picture_format(mut self, picture_format: Format) -> Self { in picture_format()
48400 pub fn max_coded_extent(mut self, max_coded_extent: Extent2D) -> Self { in max_coded_extent()
48404 pub fn reference_pictures_format(mut self, reference_pictures_format: Format) -> Self { in reference_pictures_format()
48411 ) -> Self { in max_reference_pictures_slots_count()
48418 ) -> Self { in max_reference_pictures_active_count()
48425 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
48426 #[doc = r" chain will look like `A -> D -> B -> C`."]
48427 pub fn push_next<T: ExtendsVideoSessionCreateInfoKHR>(mut self, next: &'a mut T) -> Self { in push_next()
48436 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
48439 pub fn build(self) -> VideoSessionCreateInfoKHR { in build() method
48445 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoSessionParam…
48452 impl ::std::default::Default for VideoSessionParametersCreateInfoKHR {
48453 fn default() -> VideoSessionParametersCreateInfoKHR { in default()
48456 p_next: ::std::ptr::null(), in default()
48463 pub fn builder<'a>() -> VideoSessionParametersCreateInfoKHRBuilder<'a> { in builder()
48466 marker: ::std::marker::PhantomData, in builder()
48473 marker: ::std::marker::PhantomData<&'a ()>,
48476 impl<'a> ::std::ops::Deref for VideoSessionParametersCreateInfoKHRBuilder<'a> {
48478 fn deref(&self) -> &Self::Target { in deref()
48482 impl<'a> ::std::ops::DerefMut for VideoSessionParametersCreateInfoKHRBuilder<'a> {
48483 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
48491 ) -> Self { in video_session_parameters_template()
48495 pub fn video_session(mut self, video_session: VideoSessionKHR) -> Self { in video_session()
48502 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
48503 #[doc = r" chain will look like `A -> D -> B -> C`."]
48507 ) -> Self { in push_next()
48516 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
48519 pub fn build(self) -> VideoSessionParametersCreateInfoKHR { in build() method
48525 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoSessionParam…
48531 impl ::std::default::Default for VideoSessionParametersUpdateInfoKHR {
48532 fn default() -> VideoSessionParametersUpdateInfoKHR { in default()
48535 p_next: ::std::ptr::null(), in default()
48541 pub fn builder<'a>() -> VideoSessionParametersUpdateInfoKHRBuilder<'a> { in builder()
48544 marker: ::std::marker::PhantomData, in builder()
48551 marker: ::std::marker::PhantomData<&'a ()>,
48554 impl<'a> ::std::ops::Deref for VideoSessionParametersUpdateInfoKHRBuilder<'a> {
48556 fn deref(&self) -> &Self::Target { in deref()
48560 impl<'a> ::std::ops::DerefMut for VideoSessionParametersUpdateInfoKHRBuilder<'a> {
48561 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
48566 pub fn update_sequence_count(mut self, update_sequence_count: u32) -> Self { in update_sequence_count()
48573 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
48574 #[doc = r" chain will look like `A -> D -> B -> C`."]
48578 ) -> Self { in push_next()
48587 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
48590 pub fn build(self) -> VideoSessionParametersUpdateInfoKHR { in build() method
48596 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoBeginCodingI…
48607 impl ::std::default::Default for VideoBeginCodingInfoKHR {
48608 fn default() -> VideoBeginCodingInfoKHR { in default()
48611 p_next: ::std::ptr::null(), in default()
48617 p_reference_slots: ::std::ptr::null(), in default()
48622 pub fn builder<'a>() -> VideoBeginCodingInfoKHRBuilder<'a> { in builder()
48625 marker: ::std::marker::PhantomData, in builder()
48632 marker: ::std::marker::PhantomData<&'a ()>,
48634 impl<'a> ::std::ops::Deref for VideoBeginCodingInfoKHRBuilder<'a> {
48636 fn deref(&self) -> &Self::Target { in deref()
48640 impl<'a> ::std::ops::DerefMut for VideoBeginCodingInfoKHRBuilder<'a> {
48641 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
48646 pub fn flags(mut self, flags: VideoBeginCodingFlagsKHR) -> Self { in flags()
48653 ) -> Self { in codec_quality_preset()
48657 pub fn video_session(mut self, video_session: VideoSessionKHR) -> Self { in video_session()
48664 ) -> Self { in video_session_parameters()
48668 pub fn reference_slots(mut self, reference_slots: &'a [VideoReferenceSlotKHR]) -> Self { in reference_slots()
48673 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
48676 pub fn build(self) -> VideoBeginCodingInfoKHR { in build() method
48682 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoEndCodingInf…
48688 impl ::std::default::Default for VideoEndCodingInfoKHR {
48689 fn default() -> VideoEndCodingInfoKHR { in default()
48692 p_next: ::std::ptr::null(), in default()
48698 pub fn builder<'a>() -> VideoEndCodingInfoKHRBuilder<'a> { in builder()
48701 marker: ::std::marker::PhantomData, in builder()
48708 marker: ::std::marker::PhantomData<&'a ()>,
48710 impl<'a> ::std::ops::Deref for VideoEndCodingInfoKHRBuilder<'a> {
48712 fn deref(&self) -> &Self::Target { in deref()
48716 impl<'a> ::std::ops::DerefMut for VideoEndCodingInfoKHRBuilder<'a> {
48717 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
48722 pub fn flags(mut self, flags: VideoEndCodingFlagsKHR) -> Self { in flags()
48726 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
48729 pub fn build(self) -> VideoEndCodingInfoKHR { in build() method
48735 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoCodingContro…
48741 impl ::std::default::Default for VideoCodingControlInfoKHR {
48742 fn default() -> VideoCodingControlInfoKHR { in default()
48745 p_next: ::std::ptr::null(), in default()
48751 pub fn builder<'a>() -> VideoCodingControlInfoKHRBuilder<'a> { in builder()
48754 marker: ::std::marker::PhantomData, in builder()
48761 marker: ::std::marker::PhantomData<&'a ()>,
48764 impl<'a> ::std::ops::Deref for VideoCodingControlInfoKHRBuilder<'a> {
48766 fn deref(&self) -> &Self::Target { in deref()
48770 impl<'a> ::std::ops::DerefMut for VideoCodingControlInfoKHRBuilder<'a> {
48771 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
48776 pub fn flags(mut self, flags: VideoCodingControlFlagsKHR) -> Self { in flags()
48783 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
48784 #[doc = r" chain will look like `A -> D -> B -> C`."]
48785 pub fn push_next<T: ExtendsVideoCodingControlInfoKHR>(mut self, next: &'a mut T) -> Self { in push_next()
48794 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
48797 pub fn build(self) -> VideoCodingControlInfoKHR { in build() method
48803 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoEncodeInfoKH…
48818 impl ::std::default::Default for VideoEncodeInfoKHR {
48819 fn default() -> VideoEncodeInfoKHR { in default()
48822 p_next: ::std::ptr::null(), in default()
48830 p_setup_reference_slot: ::std::ptr::null(), in default()
48832 p_reference_slots: ::std::ptr::null(), in default()
48837 pub fn builder<'a>() -> VideoEncodeInfoKHRBuilder<'a> { in builder()
48840 marker: ::std::marker::PhantomData, in builder()
48847 marker: ::std::marker::PhantomData<&'a ()>,
48850 impl<'a> ::std::ops::Deref for VideoEncodeInfoKHRBuilder<'a> {
48852 fn deref(&self) -> &Self::Target { in deref()
48856 impl<'a> ::std::ops::DerefMut for VideoEncodeInfoKHRBuilder<'a> {
48857 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
48862 pub fn flags(mut self, flags: VideoEncodeFlagsKHR) -> Self { in flags()
48866 pub fn quality_level(mut self, quality_level: u32) -> Self { in quality_level()
48870 pub fn coded_extent(mut self, coded_extent: Extent2D) -> Self { in coded_extent()
48874 pub fn dst_bitstream_buffer(mut self, dst_bitstream_buffer: Buffer) -> Self { in dst_bitstream_buffer()
48878 pub fn dst_bitstream_buffer_offset(mut self, dst_bitstream_buffer_offset: DeviceSize) -> Self { in dst_bitstream_buffer_offset()
48885 ) -> Self { in dst_bitstream_buffer_max_range()
48889 pub fn src_picture_resource(mut self, src_picture_resource: VideoPictureResourceKHR) -> Self { in src_picture_resource()
48893 pub fn setup_reference_slot(mut self, setup_reference_slot: &'a VideoReferenceSlotKHR) -> Self { in setup_reference_slot()
48897 pub fn reference_slots(mut self, reference_slots: &'a [VideoReferenceSlotKHR]) -> Self { in reference_slots()
48905 …#[doc = r" If the chain looks like `A -> B -> C`, and you call `builder.push_next(&mut D)`, then t…
48906 #[doc = r" chain will look like `A -> D -> B -> C`."]
48907 pub fn push_next<T: ExtendsVideoEncodeInfoKHR>(mut self, next: &'a mut T) -> Self { in push_next()
48916 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
48919 pub fn build(self) -> VideoEncodeInfoKHR { in build() method
48925 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoEncodeRateCo…
48937 impl ::std::default::Default for VideoEncodeRateControlInfoKHR {
48938 fn default() -> VideoEncodeRateControlInfoKHR { in default()
48941 p_next: ::std::ptr::null(), in default()
48953 pub fn builder<'a>() -> VideoEncodeRateControlInfoKHRBuilder<'a> { in builder()
48956 marker: ::std::marker::PhantomData, in builder()
48963 marker: ::std::marker::PhantomData<&'a ()>,
48967 impl<'a> ::std::ops::Deref for VideoEncodeRateControlInfoKHRBuilder<'a> {
48969 fn deref(&self) -> &Self::Target { in deref()
48973 impl<'a> ::std::ops::DerefMut for VideoEncodeRateControlInfoKHRBuilder<'a> {
48974 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
48979 pub fn flags(mut self, flags: VideoEncodeRateControlFlagsKHR) -> Self { in flags()
48986 ) -> Self { in rate_control_mode()
48990 pub fn average_bitrate(mut self, average_bitrate: u32) -> Self { in average_bitrate()
48994 pub fn peak_to_average_bitrate_ratio(mut self, peak_to_average_bitrate_ratio: u16) -> Self { in peak_to_average_bitrate_ratio()
48998 pub fn frame_rate_numerator(mut self, frame_rate_numerator: u16) -> Self { in frame_rate_numerator()
49002 pub fn frame_rate_denominator(mut self, frame_rate_denominator: u16) -> Self { in frame_rate_denominator()
49006 pub fn virtual_buffer_size_in_ms(mut self, virtual_buffer_size_in_ms: u32) -> Self { in virtual_buffer_size_in_ms()
49010 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
49013 pub fn build(self) -> VideoEncodeRateControlInfoKHR { in build() method
49019 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoEncodeH264Ca…
49035 impl ::std::default::Default for VideoEncodeH264CapabilitiesEXT {
49036 fn default() -> VideoEncodeH264CapabilitiesEXT { in default()
49039 p_next: ::std::ptr::null(), in default()
49055 pub fn builder<'a>() -> VideoEncodeH264CapabilitiesEXTBuilder<'a> { in builder()
49058 marker: ::std::marker::PhantomData, in builder()
49065 marker: ::std::marker::PhantomData<&'a ()>,
49069 impl<'a> ::std::ops::Deref for VideoEncodeH264CapabilitiesEXTBuilder<'a> {
49071 fn deref(&self) -> &Self::Target { in deref()
49075 impl<'a> ::std::ops::DerefMut for VideoEncodeH264CapabilitiesEXTBuilder<'a> {
49076 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
49081 pub fn flags(mut self, flags: VideoEncodeH264CapabilityFlagsEXT) -> Self { in flags()
49085 pub fn input_mode_flags(mut self, input_mode_flags: VideoEncodeH264InputModeFlagsEXT) -> Self { in input_mode_flags()
49092 ) -> Self { in output_mode_flags()
49096 pub fn min_picture_size_in_mbs(mut self, min_picture_size_in_mbs: Extent2D) -> Self { in min_picture_size_in_mbs()
49100 pub fn max_picture_size_in_mbs(mut self, max_picture_size_in_mbs: Extent2D) -> Self { in max_picture_size_in_mbs()
49104 pub fn input_image_data_alignment(mut self, input_image_data_alignment: Extent2D) -> Self { in input_image_data_alignment()
49108 pub fn max_num_l0_reference_for_p(mut self, max_num_l0_reference_for_p: u8) -> Self { in max_num_l0_reference_for_p()
49112 pub fn max_num_l0_reference_for_b(mut self, max_num_l0_reference_for_b: u8) -> Self { in max_num_l0_reference_for_b()
49116 pub fn max_num_l1_reference(mut self, max_num_l1_reference: u8) -> Self { in max_num_l1_reference()
49120 pub fn quality_level_count(mut self, quality_level_count: u8) -> Self { in quality_level_count()
49124 pub fn std_extension_version(mut self, std_extension_version: ExtensionProperties) -> Self { in std_extension_version()
49128 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
49131 pub fn build(self) -> VideoEncodeH264CapabilitiesEXT { in build() method
49137 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoEncodeH264Se…
49145 impl ::std::default::Default for VideoEncodeH264SessionCreateInfoEXT {
49146 fn default() -> VideoEncodeH264SessionCreateInfoEXT { in default()
49149 p_next: ::std::ptr::null(), in default()
49152 p_std_extension_version: ::std::ptr::null(), in default()
49157 pub fn builder<'a>() -> VideoEncodeH264SessionCreateInfoEXTBuilder<'a> { in builder()
49160 marker: ::std::marker::PhantomData, in builder()
49167 marker: ::std::marker::PhantomData<&'a ()>,
49171 impl<'a> ::std::ops::Deref for VideoEncodeH264SessionCreateInfoEXTBuilder<'a> {
49173 fn deref(&self) -> &Self::Target { in deref()
49177 impl<'a> ::std::ops::DerefMut for VideoEncodeH264SessionCreateInfoEXTBuilder<'a> {
49178 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
49183 pub fn flags(mut self, flags: VideoEncodeH264CreateFlagsEXT) -> Self { in flags()
49187 pub fn max_picture_size_in_mbs(mut self, max_picture_size_in_mbs: Extent2D) -> Self { in max_picture_size_in_mbs()
49191 pub fn std_extension_version(mut self, std_extension_version: &'a ExtensionProperties) -> Self { in std_extension_version()
49195 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
49198 pub fn build(self) -> VideoEncodeH264SessionCreateInfoEXT { in build() method
49204 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoEncodeH264Se…
49213 impl ::std::default::Default for VideoEncodeH264SessionParametersAddInfoEXT {
49214 fn default() -> VideoEncodeH264SessionParametersAddInfoEXT { in default()
49217 p_next: ::std::ptr::null(), in default()
49219 p_sps_std: ::std::ptr::null(), in default()
49221 p_pps_std: ::std::ptr::null(), in default()
49226 pub fn builder<'a>() -> VideoEncodeH264SessionParametersAddInfoEXTBuilder<'a> { in builder()
49229 marker: ::std::marker::PhantomData, in builder()
49236 marker: ::std::marker::PhantomData<&'a ()>,
49246 impl<'a> ::std::ops::Deref for VideoEncodeH264SessionParametersAddInfoEXTBuilder<'a> {
49248 fn deref(&self) -> &Self::Target { in deref()
49252 impl<'a> ::std::ops::DerefMut for VideoEncodeH264SessionParametersAddInfoEXTBuilder<'a> {
49253 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
49258 pub fn sps_std(mut self, sps_std: &'a [StdVideoH264SequenceParameterSet]) -> Self { in sps_std()
49263 pub fn pps_std(mut self, pps_std: &'a [StdVideoH264PictureParameterSet]) -> Self { in pps_std()
49268 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
49271 pub fn build(self) -> VideoEncodeH264SessionParametersAddInfoEXT { in build() method
49277 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoEncodeH264Se…
49285 impl ::std::default::Default for VideoEncodeH264SessionParametersCreateInfoEXT {
49286 fn default() -> VideoEncodeH264SessionParametersCreateInfoEXT { in default()
49289 p_next: ::std::ptr::null(), in default()
49292 p_parameters_add_info: ::std::ptr::null(), in default()
49297 pub fn builder<'a>() -> VideoEncodeH264SessionParametersCreateInfoEXTBuilder<'a> { in builder()
49300 marker: ::std::marker::PhantomData, in builder()
49307 marker: ::std::marker::PhantomData<&'a ()>,
49317 impl<'a> ::std::ops::Deref for VideoEncodeH264SessionParametersCreateInfoEXTBuilder<'a> {
49319 fn deref(&self) -> &Self::Target { in deref()
49323 impl<'a> ::std::ops::DerefMut for VideoEncodeH264SessionParametersCreateInfoEXTBuilder<'a> {
49324 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
49329 pub fn max_sps_std_count(mut self, max_sps_std_count: u32) -> Self { in max_sps_std_count()
49333 pub fn max_pps_std_count(mut self, max_pps_std_count: u32) -> Self { in max_pps_std_count()
49340 ) -> Self { in parameters_add_info()
49344 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
49347 pub fn build(self) -> VideoEncodeH264SessionParametersCreateInfoEXT { in build() method
49353 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoEncodeH264Dp…
49360 impl ::std::default::Default for VideoEncodeH264DpbSlotInfoEXT {
49361 fn default() -> VideoEncodeH264DpbSlotInfoEXT { in default()
49364 p_next: ::std::ptr::null(), in default()
49366 p_std_picture_info: ::std::ptr::null(), in default()
49371 pub fn builder<'a>() -> VideoEncodeH264DpbSlotInfoEXTBuilder<'a> { in builder()
49374 marker: ::std::marker::PhantomData, in builder()
49381 marker: ::std::marker::PhantomData<&'a ()>,
49383 impl<'a> ::std::ops::Deref for VideoEncodeH264DpbSlotInfoEXTBuilder<'a> {
49385 fn deref(&self) -> &Self::Target { in deref()
49389 impl<'a> ::std::ops::DerefMut for VideoEncodeH264DpbSlotInfoEXTBuilder<'a> {
49390 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
49395 pub fn slot_index(mut self, slot_index: i8) -> Self { in slot_index()
49399 pub fn std_picture_info(mut self, std_picture_info: &'a StdVideoEncodeH264PictureInfo) -> Self { in std_picture_info()
49403 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
49406 pub fn build(self) -> VideoEncodeH264DpbSlotInfoEXT { in build() method
49412 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoEncodeH264Vc…
49424 impl ::std::default::Default for VideoEncodeH264VclFrameInfoEXT {
49425 fn default() -> VideoEncodeH264VclFrameInfoEXT { in default()
49428 p_next: ::std::ptr::null(), in default()
49430 p_ref_default_final_list0_entries: ::std::ptr::null(), in default()
49432 p_ref_default_final_list1_entries: ::std::ptr::null(), in default()
49434 p_nalu_slice_entries: ::std::ptr::null(), in default()
49435 p_current_picture_info: ::std::ptr::null(), in default()
49440 pub fn builder<'a>() -> VideoEncodeH264VclFrameInfoEXTBuilder<'a> { in builder()
49443 marker: ::std::marker::PhantomData, in builder()
49450 marker: ::std::marker::PhantomData<&'a ()>,
49454 impl<'a> ::std::ops::Deref for VideoEncodeH264VclFrameInfoEXTBuilder<'a> {
49456 fn deref(&self) -> &Self::Target { in deref()
49460 impl<'a> ::std::ops::DerefMut for VideoEncodeH264VclFrameInfoEXTBuilder<'a> {
49461 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
49469 ) -> Self { in ref_default_final_list0_entries()
49477 ) -> Self { in ref_default_final_list1_entries()
49485 ) -> Self { in nalu_slice_entries()
49493 ) -> Self { in current_picture_info()
49497 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
49500 pub fn build(self) -> VideoEncodeH264VclFrameInfoEXT { in build() method
49506 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoEncodeH264Em…
49515 impl ::std::default::Default for VideoEncodeH264EmitPictureParametersEXT {
49516 fn default() -> VideoEncodeH264EmitPictureParametersEXT { in default()
49519 p_next: ::std::ptr::null(), in default()
49523 pps_id_entries: ::std::ptr::null(), in default()
49528 pub fn builder<'a>() -> VideoEncodeH264EmitPictureParametersEXTBuilder<'a> { in builder()
49531 marker: ::std::marker::PhantomData, in builder()
49538 marker: ::std::marker::PhantomData<&'a ()>,
49542 impl<'a> ::std::ops::Deref for VideoEncodeH264EmitPictureParametersEXTBuilder<'a> {
49544 fn deref(&self) -> &Self::Target { in deref()
49548 impl<'a> ::std::ops::DerefMut for VideoEncodeH264EmitPictureParametersEXTBuilder<'a> {
49549 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
49554 pub fn sps_id(mut self, sps_id: u8) -> Self { in sps_id()
49558 pub fn emit_sps_enable(mut self, emit_sps_enable: bool) -> Self { in emit_sps_enable()
49562 pub fn pps_id_entries(mut self, pps_id_entries: &'a [u8]) -> Self { in pps_id_entries()
49567 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
49570 pub fn build(self) -> VideoEncodeH264EmitPictureParametersEXT { in build() method
49576 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoEncodeH264Pr…
49582 impl ::std::default::Default for VideoEncodeH264ProfileEXT {
49583 fn default() -> VideoEncodeH264ProfileEXT { in default()
49586 p_next: ::std::ptr::null(), in default()
49592 pub fn builder<'a>() -> VideoEncodeH264ProfileEXTBuilder<'a> { in builder()
49595 marker: ::std::marker::PhantomData, in builder()
49602 marker: ::std::marker::PhantomData<&'a ()>,
49606 impl<'a> ::std::ops::Deref for VideoEncodeH264ProfileEXTBuilder<'a> {
49608 fn deref(&self) -> &Self::Target { in deref()
49612 impl<'a> ::std::ops::DerefMut for VideoEncodeH264ProfileEXTBuilder<'a> {
49613 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
49618 pub fn std_profile_idc(mut self, std_profile_idc: StdVideoH264ProfileIdc) -> Self { in std_profile_idc()
49622 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
49625 pub fn build(self) -> VideoEncodeH264ProfileEXT { in build() method
49631 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkVideoEncodeH264Na…
49645 impl ::std::default::Default for VideoEncodeH264NaluSliceEXT {
49646 fn default() -> VideoEncodeH264NaluSliceEXT { in default()
49649 p_next: ::std::ptr::null(), in default()
49650 p_slice_header_std: ::std::ptr::null(), in default()
49653 p_ref_final_list0_entries: ::std::ptr::null(), in default()
49655 p_ref_final_list1_entries: ::std::ptr::null(), in default()
49663 pub fn builder<'a>() -> VideoEncodeH264NaluSliceEXTBuilder<'a> { in builder()
49666 marker: ::std::marker::PhantomData, in builder()
49673 marker: ::std::marker::PhantomData<&'a ()>,
49675 impl<'a> ::std::ops::Deref for VideoEncodeH264NaluSliceEXTBuilder<'a> {
49677 fn deref(&self) -> &Self::Target { in deref()
49681 impl<'a> ::std::ops::DerefMut for VideoEncodeH264NaluSliceEXTBuilder<'a> {
49682 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
49687 pub fn slice_header_std(mut self, slice_header_std: &'a StdVideoEncodeH264SliceHeader) -> Self { in slice_header_std()
49691 pub fn mb_count(mut self, mb_count: u32) -> Self { in mb_count()
49698 ) -> Self { in ref_final_list0_entries()
49706 ) -> Self { in ref_final_list1_entries()
49711 pub fn preceding_nalu_bytes(mut self, preceding_nalu_bytes: u32) -> Self { in preceding_nalu_bytes()
49715 pub fn min_qp(mut self, min_qp: u8) -> Self { in min_qp()
49719 pub fn max_qp(mut self, max_qp: u8) -> Self { in max_qp()
49723 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
49726 pub fn build(self) -> VideoEncodeH264NaluSliceEXT { in build() method
49732 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceInh…
49738 impl ::std::default::Default for PhysicalDeviceInheritedViewportScissorFeaturesNV {
49739 fn default() -> PhysicalDeviceInheritedViewportScissorFeaturesNV { in default()
49742 p_next: ::std::ptr::null_mut(), in default()
49748 pub fn builder<'a>() -> PhysicalDeviceInheritedViewportScissorFeaturesNVBuilder<'a> { in builder()
49751 marker: ::std::marker::PhantomData, in builder()
49758 marker: ::std::marker::PhantomData<&'a ()>,
49770 impl<'a> ::std::ops::Deref for PhysicalDeviceInheritedViewportScissorFeaturesNVBuilder<'a> {
49772 fn deref(&self) -> &Self::Target { in deref()
49776 impl<'a> ::std::ops::DerefMut for PhysicalDeviceInheritedViewportScissorFeaturesNVBuilder<'a> {
49777 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
49782 pub fn inherited_viewport_scissor2_d(mut self, inherited_viewport_scissor2_d: bool) -> Self { in inherited_viewport_scissor2_d()
49786 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
49789 pub fn build(self) -> PhysicalDeviceInheritedViewportScissorFeaturesNV { in build() method
49795 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCommandBufferInhe…
49803 impl ::std::default::Default for CommandBufferInheritanceViewportScissorInfoNV {
49804 fn default() -> CommandBufferInheritanceViewportScissorInfoNV { in default()
49807 p_next: ::std::ptr::null(), in default()
49810 p_viewport_depths: ::std::ptr::null(), in default()
49815 pub fn builder<'a>() -> CommandBufferInheritanceViewportScissorInfoNVBuilder<'a> { in builder()
49818 marker: ::std::marker::PhantomData, in builder()
49825 marker: ::std::marker::PhantomData<&'a ()>,
49832 impl<'a> ::std::ops::Deref for CommandBufferInheritanceViewportScissorInfoNVBuilder<'a> {
49834 fn deref(&self) -> &Self::Target { in deref()
49838 impl<'a> ::std::ops::DerefMut for CommandBufferInheritanceViewportScissorInfoNVBuilder<'a> {
49839 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
49844 pub fn viewport_scissor2_d(mut self, viewport_scissor2_d: bool) -> Self { in viewport_scissor2_d()
49848 pub fn viewport_depth_count(mut self, viewport_depth_count: u32) -> Self { in viewport_depth_count()
49852 pub fn viewport_depths(mut self, viewport_depths: &'a Viewport) -> Self { in viewport_depths()
49856 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
49859 pub fn build(self) -> CommandBufferInheritanceViewportScissorInfoNV { in build() method
49865 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceYcb…
49871 impl ::std::default::Default for PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT {
49872 fn default() -> PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT { in default()
49875 p_next: ::std::ptr::null_mut(), in default()
49881 pub fn builder<'a>() -> PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXTBuilder<'a> { in builder()
49884 marker: ::std::marker::PhantomData, in builder()
49891 marker: ::std::marker::PhantomData<&'a ()>,
49900 impl<'a> ::std::ops::Deref for PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXTBuilder<'a> {
49902 fn deref(&self) -> &Self::Target { in deref()
49906 impl<'a> ::std::ops::DerefMut for PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXTBuilder<'a> {
49907 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
49912 pub fn ycbcr2plane444_formats(mut self, ycbcr2plane444_formats: bool) -> Self { in ycbcr2plane444_formats()
49916 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
49919 pub fn build(self) -> PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT { in build() method
49925 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDevicePro…
49932 impl ::std::default::Default for PhysicalDeviceProvokingVertexFeaturesEXT {
49933 fn default() -> PhysicalDeviceProvokingVertexFeaturesEXT { in default()
49936 p_next: ::std::ptr::null_mut(), in default()
49943 pub fn builder<'a>() -> PhysicalDeviceProvokingVertexFeaturesEXTBuilder<'a> { in builder()
49946 marker: ::std::marker::PhantomData, in builder()
49953 marker: ::std::marker::PhantomData<&'a ()>,
49959 impl<'a> ::std::ops::Deref for PhysicalDeviceProvokingVertexFeaturesEXTBuilder<'a> {
49961 fn deref(&self) -> &Self::Target { in deref()
49965 impl<'a> ::std::ops::DerefMut for PhysicalDeviceProvokingVertexFeaturesEXTBuilder<'a> {
49966 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
49971 pub fn provoking_vertex_last(mut self, provoking_vertex_last: bool) -> Self { in provoking_vertex_last()
49978 ) -> Self { in transform_feedback_preserves_provoking_vertex()
49983 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
49986 pub fn build(self) -> PhysicalDeviceProvokingVertexFeaturesEXT { in build() method
49992 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDevicePro…
49999 impl ::std::default::Default for PhysicalDeviceProvokingVertexPropertiesEXT {
50000 fn default() -> PhysicalDeviceProvokingVertexPropertiesEXT { in default()
50003 p_next: ::std::ptr::null_mut(), in default()
50010 pub fn builder<'a>() -> PhysicalDeviceProvokingVertexPropertiesEXTBuilder<'a> { in builder()
50013 marker: ::std::marker::PhantomData, in builder()
50020 marker: ::std::marker::PhantomData<&'a ()>,
50027 impl<'a> ::std::ops::Deref for PhysicalDeviceProvokingVertexPropertiesEXTBuilder<'a> {
50029 fn deref(&self) -> &Self::Target { in deref()
50033 impl<'a> ::std::ops::DerefMut for PhysicalDeviceProvokingVertexPropertiesEXTBuilder<'a> {
50034 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
50042 ) -> Self { in provoking_vertex_mode_per_pipeline()
50049 ) -> Self { in transform_feedback_preserves_triangle_fan_provoking_vertex()
50055 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
50058 pub fn build(self) -> PhysicalDeviceProvokingVertexPropertiesEXT { in build() method
50064 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineRasteriza…
50070 impl ::std::default::Default for PipelineRasterizationProvokingVertexStateCreateInfoEXT {
50071 fn default() -> PipelineRasterizationProvokingVertexStateCreateInfoEXT { in default()
50074 p_next: ::std::ptr::null(), in default()
50080 pub fn builder<'a>() -> PipelineRasterizationProvokingVertexStateCreateInfoEXTBuilder<'a> { in builder()
50083 marker: ::std::marker::PhantomData, in builder()
50090 marker: ::std::marker::PhantomData<&'a ()>,
50100 impl<'a> ::std::ops::Deref for PipelineRasterizationProvokingVertexStateCreateInfoEXTBuilder<'a> {
50102 fn deref(&self) -> &Self::Target { in deref()
50106 impl<'a> ::std::ops::DerefMut
50109 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
50114 pub fn provoking_vertex_mode(mut self, provoking_vertex_mode: ProvokingVertexModeEXT) -> Self { in provoking_vertex_mode()
50118 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
50121 pub fn build(self) -> PipelineRasterizationProvokingVertexStateCreateInfoEXT { in build() method
50127 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCuModuleCreateInf…
50134 impl ::std::default::Default for CuModuleCreateInfoNVX {
50135 fn default() -> CuModuleCreateInfoNVX { in default()
50138 p_next: ::std::ptr::null(), in default()
50140 p_data: ::std::ptr::null(), in default()
50145 pub fn builder<'a>() -> CuModuleCreateInfoNVXBuilder<'a> { in builder()
50148 marker: ::std::marker::PhantomData, in builder()
50155 marker: ::std::marker::PhantomData<&'a ()>,
50157 impl<'a> ::std::ops::Deref for CuModuleCreateInfoNVXBuilder<'a> {
50159 fn deref(&self) -> &Self::Target { in deref()
50163 impl<'a> ::std::ops::DerefMut for CuModuleCreateInfoNVXBuilder<'a> {
50164 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
50169 pub fn data_size(mut self, data_size: usize) -> Self { in data_size()
50173 pub fn data(mut self, data: *const c_void) -> Self { in data()
50177 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
50180 pub fn build(self) -> CuModuleCreateInfoNVX { in build() method
50186 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCuFunctionCreateI…
50193 impl ::std::default::Default for CuFunctionCreateInfoNVX {
50194 fn default() -> CuFunctionCreateInfoNVX { in default()
50197 p_next: ::std::ptr::null(), in default()
50199 p_name: ::std::ptr::null(), in default()
50204 pub fn builder<'a>() -> CuFunctionCreateInfoNVXBuilder<'a> { in builder()
50207 marker: ::std::marker::PhantomData, in builder()
50214 marker: ::std::marker::PhantomData<&'a ()>,
50216 impl<'a> ::std::ops::Deref for CuFunctionCreateInfoNVXBuilder<'a> {
50218 fn deref(&self) -> &Self::Target { in deref()
50222 impl<'a> ::std::ops::DerefMut for CuFunctionCreateInfoNVXBuilder<'a> {
50223 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
50228 pub fn module(mut self, module: CuModuleNVX) -> Self { in module()
50232 pub fn name(mut self, name: &'a ::std::ffi::CStr) -> Self { in name()
50236 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
50239 pub fn build(self) -> CuFunctionCreateInfoNVX { in build() method
50245 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkCuLaunchInfoNVX.h…
50262 impl ::std::default::Default for CuLaunchInfoNVX {
50263 fn default() -> CuLaunchInfoNVX { in default()
50266 p_next: ::std::ptr::null(), in default()
50276 p_params: ::std::ptr::null(), in default()
50278 p_extras: ::std::ptr::null(), in default()
50283 pub fn builder<'a>() -> CuLaunchInfoNVXBuilder<'a> { in builder()
50286 marker: ::std::marker::PhantomData, in builder()
50293 marker: ::std::marker::PhantomData<&'a ()>,
50295 impl<'a> ::std::ops::Deref for CuLaunchInfoNVXBuilder<'a> {
50297 fn deref(&self) -> &Self::Target { in deref()
50301 impl<'a> ::std::ops::DerefMut for CuLaunchInfoNVXBuilder<'a> {
50302 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
50307 pub fn function(mut self, function: CuFunctionNVX) -> Self { in function()
50311 pub fn grid_dim_x(mut self, grid_dim_x: u32) -> Self { in grid_dim_x()
50315 pub fn grid_dim_y(mut self, grid_dim_y: u32) -> Self { in grid_dim_y()
50319 pub fn grid_dim_z(mut self, grid_dim_z: u32) -> Self { in grid_dim_z()
50323 pub fn block_dim_x(mut self, block_dim_x: u32) -> Self { in block_dim_x()
50327 pub fn block_dim_y(mut self, block_dim_y: u32) -> Self { in block_dim_y()
50331 pub fn block_dim_z(mut self, block_dim_z: u32) -> Self { in block_dim_z()
50335 pub fn shared_mem_bytes(mut self, shared_mem_bytes: u32) -> Self { in shared_mem_bytes()
50339 pub fn params(mut self, params: &'a [*const c_void]) -> Self { in params()
50344 pub fn extras(mut self, extras: &'a [*const c_void]) -> Self { in extras()
50349 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
50352 pub fn build(self) -> CuLaunchInfoNVX { in build() method
50358 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSha…
50364 impl ::std::default::Default for PhysicalDeviceShaderIntegerDotProductFeaturesKHR {
50365 fn default() -> PhysicalDeviceShaderIntegerDotProductFeaturesKHR { in default()
50368 p_next: ::std::ptr::null_mut(), in default()
50374 pub fn builder<'a>() -> PhysicalDeviceShaderIntegerDotProductFeaturesKHRBuilder<'a> { in builder()
50377 marker: ::std::marker::PhantomData, in builder()
50384 marker: ::std::marker::PhantomData<&'a ()>,
50396 impl<'a> ::std::ops::Deref for PhysicalDeviceShaderIntegerDotProductFeaturesKHRBuilder<'a> {
50398 fn deref(&self) -> &Self::Target { in deref()
50402 impl<'a> ::std::ops::DerefMut for PhysicalDeviceShaderIntegerDotProductFeaturesKHRBuilder<'a> {
50403 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
50408 pub fn shader_integer_dot_product(mut self, shader_integer_dot_product: bool) -> Self { in shader_integer_dot_product()
50412 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
50415 pub fn build(self) -> PhysicalDeviceShaderIntegerDotProductFeaturesKHR { in build() method
50421 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceSha…
50457 impl ::std::default::Default for PhysicalDeviceShaderIntegerDotProductPropertiesKHR {
50458 fn default() -> PhysicalDeviceShaderIntegerDotProductPropertiesKHR { in default()
50459 …:: PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_PROPERTIES_KHR , p_next : :: std :: ptr :: null_mut … in default()
50463 pub fn builder<'a>() -> PhysicalDeviceShaderIntegerDotProductPropertiesKHRBuilder<'a> { in builder()
50466 marker: ::std::marker::PhantomData, in builder()
50473 marker: ::std::marker::PhantomData<&'a ()>,
50483 impl<'a> ::std::ops::Deref for PhysicalDeviceShaderIntegerDotProductPropertiesKHRBuilder<'a> {
50485 fn deref(&self) -> &Self::Target { in deref()
50489 impl<'a> ::std::ops::DerefMut for PhysicalDeviceShaderIntegerDotProductPropertiesKHRBuilder<'a> {
50490 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
50498 ) -> Self { in integer_dot_product8_bit_unsigned_accelerated()
50506 ) -> Self { in integer_dot_product8_bit_signed_accelerated()
50514 ) -> Self { in integer_dot_product8_bit_mixed_signedness_accelerated()
50523 ) -> Self { in integer_dot_product4x8_bit_packed_unsigned_accelerated()
50532 ) -> Self { in integer_dot_product4x8_bit_packed_signed_accelerated()
50541 ) -> Self { in integer_dot_product4x8_bit_packed_mixed_signedness_accelerated()
50550 ) -> Self { in integer_dot_product16_bit_unsigned_accelerated()
50558 ) -> Self { in integer_dot_product16_bit_signed_accelerated()
50566 ) -> Self { in integer_dot_product16_bit_mixed_signedness_accelerated()
50575 ) -> Self { in integer_dot_product32_bit_unsigned_accelerated()
50583 ) -> Self { in integer_dot_product32_bit_signed_accelerated()
50591 ) -> Self { in integer_dot_product32_bit_mixed_signedness_accelerated()
50600 ) -> Self { in integer_dot_product64_bit_unsigned_accelerated()
50608 ) -> Self { in integer_dot_product64_bit_signed_accelerated()
50616 ) -> Self { in integer_dot_product64_bit_mixed_signedness_accelerated()
50625 ) -> Self { in integer_dot_product_accumulating_saturating8_bit_unsigned_accelerated()
50634 ) -> Self { in integer_dot_product_accumulating_saturating8_bit_signed_accelerated()
50643 ) -> Self { in integer_dot_product_accumulating_saturating8_bit_mixed_signedness_accelerated()
50652 ) -> Self { in integer_dot_product_accumulating_saturating4x8_bit_packed_unsigned_accelerated()
50661 ) -> Self { in integer_dot_product_accumulating_saturating4x8_bit_packed_signed_accelerated()
50670 ) -> Self { in integer_dot_product_accumulating_saturating4x8_bit_packed_mixed_signedness_accelerated()
50677 ) -> Self { in integer_dot_product_accumulating_saturating16_bit_unsigned_accelerated()
50686 ) -> Self { in integer_dot_product_accumulating_saturating16_bit_signed_accelerated()
50695 ) -> Self { in integer_dot_product_accumulating_saturating16_bit_mixed_signedness_accelerated()
50704 ) -> Self { in integer_dot_product_accumulating_saturating32_bit_unsigned_accelerated()
50713 ) -> Self { in integer_dot_product_accumulating_saturating32_bit_signed_accelerated()
50722 ) -> Self { in integer_dot_product_accumulating_saturating32_bit_mixed_signedness_accelerated()
50731 ) -> Self { in integer_dot_product_accumulating_saturating64_bit_unsigned_accelerated()
50740 ) -> Self { in integer_dot_product_accumulating_saturating64_bit_signed_accelerated()
50749 ) -> Self { in integer_dot_product_accumulating_saturating64_bit_mixed_signedness_accelerated()
50755 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
50758 pub fn build(self) -> PhysicalDeviceShaderIntegerDotProductPropertiesKHR { in build() method
50764 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceDrm…
50775 impl ::std::default::Default for PhysicalDeviceDrmPropertiesEXT {
50776 fn default() -> PhysicalDeviceDrmPropertiesEXT { in default()
50779 p_next: ::std::ptr::null_mut(), in default()
50790 pub fn builder<'a>() -> PhysicalDeviceDrmPropertiesEXTBuilder<'a> { in builder()
50793 marker: ::std::marker::PhantomData, in builder()
50800 marker: ::std::marker::PhantomData<&'a ()>,
50804 impl<'a> ::std::ops::Deref for PhysicalDeviceDrmPropertiesEXTBuilder<'a> {
50806 fn deref(&self) -> &Self::Target { in deref()
50810 impl<'a> ::std::ops::DerefMut for PhysicalDeviceDrmPropertiesEXTBuilder<'a> {
50811 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
50816 pub fn has_primary(mut self, has_primary: bool) -> Self { in has_primary()
50820 pub fn has_render(mut self, has_render: bool) -> Self { in has_render()
50824 pub fn primary_major(mut self, primary_major: i64) -> Self { in primary_major()
50828 pub fn primary_minor(mut self, primary_minor: i64) -> Self { in primary_minor()
50832 pub fn render_major(mut self, render_major: i64) -> Self { in render_major()
50836 pub fn render_minor(mut self, render_minor: i64) -> Self { in render_minor()
50840 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
50843 pub fn build(self) -> PhysicalDeviceDrmPropertiesEXT { in build() method
50849 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPhysicalDeviceRay…
50856 impl ::std::default::Default for PhysicalDeviceRayTracingMotionBlurFeaturesNV {
50857 fn default() -> PhysicalDeviceRayTracingMotionBlurFeaturesNV { in default()
50860 p_next: ::std::ptr::null_mut(), in default()
50867 pub fn builder<'a>() -> PhysicalDeviceRayTracingMotionBlurFeaturesNVBuilder<'a> { in builder()
50870 marker: ::std::marker::PhantomData, in builder()
50877 marker: ::std::marker::PhantomData<&'a ()>,
50886 impl<'a> ::std::ops::Deref for PhysicalDeviceRayTracingMotionBlurFeaturesNVBuilder<'a> {
50888 fn deref(&self) -> &Self::Target { in deref()
50892 impl<'a> ::std::ops::DerefMut for PhysicalDeviceRayTracingMotionBlurFeaturesNVBuilder<'a> {
50893 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
50898 pub fn ray_tracing_motion_blur(mut self, ray_tracing_motion_blur: bool) -> Self { in ray_tracing_motion_blur()
50905 ) -> Self { in ray_tracing_motion_blur_pipeline_trace_rays_indirect()
50911 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
50914 pub fn build(self) -> PhysicalDeviceRayTracingMotionBlurFeaturesNV { in build() method
50920 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAccelerationStruc…
50927 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
50935 impl ::std::default::Default for AccelerationStructureGeometryMotionTrianglesDataNV {
50936 fn default() -> AccelerationStructureGeometryMotionTrianglesDataNV { in default()
50939 p_next: ::std::ptr::null(), in default()
50945 pub fn builder<'a>() -> AccelerationStructureGeometryMotionTrianglesDataNVBuilder<'a> { in builder()
50948 marker: ::std::marker::PhantomData, in builder()
50955 marker: ::std::marker::PhantomData<&'a ()>,
50965 impl<'a> ::std::ops::Deref for AccelerationStructureGeometryMotionTrianglesDataNVBuilder<'a> {
50967 fn deref(&self) -> &Self::Target { in deref()
50971 impl<'a> ::std::ops::DerefMut for AccelerationStructureGeometryMotionTrianglesDataNVBuilder<'a> {
50972 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
50977 pub fn vertex_data(mut self, vertex_data: DeviceOrHostAddressConstKHR) -> Self { in vertex_data()
50981 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
50984 pub fn build(self) -> AccelerationStructureGeometryMotionTrianglesDataNV { in build() method
50990 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAccelerationStruc…
50997 impl ::std::default::Default for AccelerationStructureMotionInfoNV {
50998 fn default() -> AccelerationStructureMotionInfoNV { in default()
51001 p_next: ::std::ptr::null(), in default()
51008 pub fn builder<'a>() -> AccelerationStructureMotionInfoNVBuilder<'a> { in builder()
51011 marker: ::std::marker::PhantomData, in builder()
51018 marker: ::std::marker::PhantomData<&'a ()>,
51025 impl<'a> ::std::ops::Deref for AccelerationStructureMotionInfoNVBuilder<'a> {
51027 fn deref(&self) -> &Self::Target { in deref()
51031 impl<'a> ::std::ops::DerefMut for AccelerationStructureMotionInfoNVBuilder<'a> {
51032 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
51037 pub fn max_instances(mut self, max_instances: u32) -> Self { in max_instances()
51041 pub fn flags(mut self, flags: AccelerationStructureMotionInfoFlagsNV) -> Self { in flags()
51045 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
51048 pub fn build(self) -> AccelerationStructureMotionInfoNV { in build() method
51054 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSRTDataNV.html>"]
51074 pub fn builder<'a>() -> SRTDataNVBuilder<'a> { in builder()
51077 marker: ::std::marker::PhantomData, in builder()
51084 marker: ::std::marker::PhantomData<&'a ()>,
51086 impl<'a> ::std::ops::Deref for SRTDataNVBuilder<'a> {
51088 fn deref(&self) -> &Self::Target { in deref()
51092 impl<'a> ::std::ops::DerefMut for SRTDataNVBuilder<'a> {
51093 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
51098 pub fn sx(mut self, sx: f32) -> Self { in sx()
51102 pub fn a(mut self, a: f32) -> Self { in a()
51106 pub fn b(mut self, b: f32) -> Self { in b()
51110 pub fn pvx(mut self, pvx: f32) -> Self { in pvx()
51114 pub fn sy(mut self, sy: f32) -> Self { in sy()
51118 pub fn c(mut self, c: f32) -> Self { in c()
51122 pub fn pvy(mut self, pvy: f32) -> Self { in pvy()
51126 pub fn sz(mut self, sz: f32) -> Self { in sz()
51130 pub fn pvz(mut self, pvz: f32) -> Self { in pvz()
51134 pub fn qx(mut self, qx: f32) -> Self { in qx()
51138 pub fn qy(mut self, qy: f32) -> Self { in qy()
51142 pub fn qz(mut self, qz: f32) -> Self { in qz()
51146 pub fn qw(mut self, qw: f32) -> Self { in qw()
51150 pub fn tx(mut self, tx: f32) -> Self { in tx()
51154 pub fn ty(mut self, ty: f32) -> Self { in ty()
51158 pub fn tz(mut self, tz: f32) -> Self { in tz()
51162 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
51165 pub fn build(self) -> SRTDataNV { in build() method
51171 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAccelerationStruc…
51181 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/AccelerationStructu…
51191 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAccelerationStruc…
51197 impl ::std::default::Default for AccelerationStructureMotionInstanceDataNV {
51198 fn default() -> AccelerationStructureMotionInstanceDataNV { in default()
51199 unsafe { ::std::mem::zeroed() } in default()
51204 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAccelerationStruc…
51211 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt()
51220 pub fn builder<'a>() -> AccelerationStructureMotionInstanceNVBuilder<'a> { in builder()
51223 marker: ::std::marker::PhantomData, in builder()
51230 marker: ::std::marker::PhantomData<&'a ()>,
51232 impl<'a> ::std::ops::Deref for AccelerationStructureMotionInstanceNVBuilder<'a> {
51234 fn deref(&self) -> &Self::Target { in deref()
51238 impl<'a> ::std::ops::DerefMut for AccelerationStructureMotionInstanceNVBuilder<'a> {
51239 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
51244 pub fn ty(mut self, ty: AccelerationStructureMotionInstanceTypeNV) -> Self { in ty()
51248 pub fn flags(mut self, flags: AccelerationStructureMotionInstanceFlagsNV) -> Self { in flags()
51252 pub fn data(mut self, data: AccelerationStructureMotionInstanceDataNV) -> Self { in data()
51256 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
51259 pub fn build(self) -> AccelerationStructureMotionInstanceNV { in build() method
51263 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkRemoteAddressNV.h…
51267 #[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkMemoryGetRemoteAd…
51274 impl ::std::default::Default for MemoryGetRemoteAddressInfoNV {
51275 fn default() -> MemoryGetRemoteAddressInfoNV { in default()
51278 p_next: ::std::ptr::null(), in default()
51285 pub fn builder<'a>() -> MemoryGetRemoteAddressInfoNVBuilder<'a> { in builder()
51288 marker: ::std::marker::PhantomData, in builder()
51295 marker: ::std::marker::PhantomData<&'a ()>,
51297 impl<'a> ::std::ops::Deref for MemoryGetRemoteAddressInfoNVBuilder<'a> {
51299 fn deref(&self) -> &Self::Target { in deref()
51303 impl<'a> ::std::ops::DerefMut for MemoryGetRemoteAddressInfoNVBuilder<'a> {
51304 fn deref_mut(&mut self) -> &mut Self::Target { in deref_mut()
51309 pub fn memory(mut self, memory: DeviceMemory) -> Self { in memory()
51313 pub fn handle_type(mut self, handle_type: ExternalMemoryHandleTypeFlags) -> Self { in handle_type()
51317 #[doc = r" Calling build will **discard** all the lifetime information. Only call this if"]
51320 pub fn build(self) -> MemoryGetRemoteAddressInfoNV { in build() method