Realm

vk · Structs · D10

16 public declarations with native signatures and source-owned contracts.

StRustExperimental

Stvk::DeviceGroupPresentModeFlagBitsKHR

Contract

Open integer representation of VkDeviceGroupPresentModeFlagBitsKHR.

Khronos reference: VkDeviceGroupPresentModeFlagBitsKHR

Fields

0

Field
0: u32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: u32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> u32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

Output

Method
type Output = DeviceGroupPresentModeFlagBitsKHR
The resulting type after applying the & operator.

Output-1

Method
type Output = DeviceGroupPresentModeFlagBitsKHR
The resulting type after applying the | operator.

Output-2

Method
type Output = DeviceGroupPresentModeFlagBitsKHR
The resulting type after applying the ^ operator.

clone

Method
fn clone(&self) -> DeviceGroupPresentModeFlagBitsKHR
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> DeviceGroupPresentModeFlagBitsKHR
Returns the “default value” for a type. Read more

Output-3

Method
type Output = DeviceGroupPresentModeFlagBitsKHR
The resulting type after applying the ! operator.

eq

Method
fn eq(&self, other: &DeviceGroupPresentModeFlagBitsKHR) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::DeviceGroupRenderPassBeginInfo

pub struct DeviceGroupRenderPassBeginInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub device_mask: u32, pub device_render_area_count: u32, pub p_device_render_areas: *const Rect2D, /* private fields */ }
Native structure VkDeviceGroupRenderPassBeginInfo.

Contract

Native structure VkDeviceGroupRenderPassBeginInfo.

Khronos reference: VkDeviceGroupRenderPassBeginInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

device_mask

Field
device_mask: u32

Native field deviceMask.

device_render_area_count

Field
device_render_area_count: u32

Native field deviceRenderAreaCount.

p_device_render_areas

Field
p_device_render_areas: *const Rect2D

Native field pDeviceRenderAreas.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_device_mask

Method
pub fn set_device_mask(self, value: u32) -> Self

Set native field deviceMask without native effects.

set_device_render_area_count

Method
pub fn set_device_render_area_count(self, value: u32) -> Self

Set native count deviceRenderAreaCount directly without checking associated pointer extents. Use the borrowed array helpers to derive matching storage and counts together. Direct count edits support null-query/dynamic-state paths and remain a native-call validity obligation, including after earlier borrowed setters.

set_device_render_areas

Method
pub fn set_device_render_areas( self, value: &'a [Rect2D], ) -> Result<Self, ConstructionError>

Borrow pDeviceRenderAreas and set checked native count deviceRenderAreaCount. The borrow covers this storage only; nested raw pointers, format, alignment and asynchronous retention remain native-call obligations. Output storage must be initialized; returned sizes do not enlarge its capacity.

Errors

Returns a construction error if the length exceeds the native count width.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::DeviceGroupSubmitInfo

pub struct DeviceGroupSubmitInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub wait_semaphore_count: u32, pub p_wait_semaphore_device_indices: *const u32, pub command_buffer_count: u32, pub p_command_buffer_device_masks: *const u32, pub signal_semaphore_count: u32, pub p_signal_semaphore_device_indices: *const u32, /* private fields */ }
Native structure VkDeviceGroupSubmitInfo.

Contract

Native structure VkDeviceGroupSubmitInfo.

Khronos reference: VkDeviceGroupSubmitInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

wait_semaphore_count

Field
wait_semaphore_count: u32

Native field waitSemaphoreCount.

p_wait_semaphore_device_indices

Field
p_wait_semaphore_device_indices: *const u32

Native field pWaitSemaphoreDeviceIndices.

command_buffer_count

Field
command_buffer_count: u32

Native field commandBufferCount.

p_command_buffer_device_masks

Field
p_command_buffer_device_masks: *const u32

Native field pCommandBufferDeviceMasks.

signal_semaphore_count

Field
signal_semaphore_count: u32

Native field signalSemaphoreCount.

p_signal_semaphore_device_indices

Field
p_signal_semaphore_device_indices: *const u32

Native field pSignalSemaphoreDeviceIndices.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_wait_semaphore_count

Method
pub fn set_wait_semaphore_count(self, value: u32) -> Self

Set native count waitSemaphoreCount directly without checking associated pointer extents. Use the borrowed array helpers to derive matching storage and counts together. Direct count edits support null-query/dynamic-state paths and remain a native-call validity obligation, including after earlier borrowed setters.

set_wait_semaphore_device_indices

Method
pub fn set_wait_semaphore_device_indices( self, value: &'a [u32], ) -> Result<Self, ConstructionError>

Borrow pWaitSemaphoreDeviceIndices and set checked native count waitSemaphoreCount. The borrow covers this storage only; nested raw pointers, format, alignment and asynchronous retention remain native-call obligations. Output storage must be initialized; returned sizes do not enlarge its capacity.

Errors

Returns a construction error if the length exceeds the native count width.

set_command_buffer_count

Method
pub fn set_command_buffer_count(self, value: u32) -> Self

Set native count commandBufferCount directly without checking associated pointer extents. Use the borrowed array helpers to derive matching storage and counts together. Direct count edits support null-query/dynamic-state paths and remain a native-call validity obligation, including after earlier borrowed setters.

set_command_buffer_device_masks

Method
pub fn set_command_buffer_device_masks( self, value: &'a [u32], ) -> Result<Self, ConstructionError>

Borrow pCommandBufferDeviceMasks and set checked native count commandBufferCount. The borrow covers this storage only; nested raw pointers, format, alignment and asynchronous retention remain native-call obligations. Output storage must be initialized; returned sizes do not enlarge its capacity.

Errors

Returns a construction error if the length exceeds the native count width.

set_signal_semaphore_count

Method
pub fn set_signal_semaphore_count(self, value: u32) -> Self

Set native count signalSemaphoreCount directly without checking associated pointer extents. Use the borrowed array helpers to derive matching storage and counts together. Direct count edits support null-query/dynamic-state paths and remain a native-call validity obligation, including after earlier borrowed setters.

set_signal_semaphore_device_indices

Method
pub fn set_signal_semaphore_device_indices( self, value: &'a [u32], ) -> Result<Self, ConstructionError>

Borrow pSignalSemaphoreDeviceIndices and set checked native count signalSemaphoreCount. The borrow covers this storage only; nested raw pointers, format, alignment and asynchronous retention remain native-call obligations. Output storage must be initialized; returned sizes do not enlarge its capacity.

Errors

Returns a construction error if the length exceeds the native count width.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::DeviceGroupSwapchainCreateInfoKHR

pub struct DeviceGroupSwapchainCreateInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub modes: DeviceGroupPresentModeFlagsKHR, /* private fields */ }
Native structure VkDeviceGroupSwapchainCreateInfoKHR.

Contract

Native structure VkDeviceGroupSwapchainCreateInfoKHR.

Khronos reference: VkDeviceGroupSwapchainCreateInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

modes

Field
modes: DeviceGroupPresentModeFlagsKHR

Native field modes.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_modes

Method
pub fn set_modes(self, value: DeviceGroupPresentModeFlagsKHR) -> Self

Set native field modes without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::DeviceHandle

Contract

Raw Vulkan handle VkDevice.

Khronos reference: VkDevice Calls using this identity must satisfy Vulkan lifetime and synchronization rules.

Fields

0

Field
0: *mut c_void
No public source comment is attached to this declaration.

Methods and associated items

NULL

Method
pub const NULL: Self
No public source comment is attached to this declaration.

is_null

Method
pub fn is_null(self) -> bool
No public source comment is attached to this declaration.

from_raw

Method
pub fn from_raw(value: u64) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub fn as_raw(self) -> u64
No public source comment is attached to this declaration.

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

eq

Method
fn eq(&self, other: &DeviceHandle) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::DeviceImageMemoryRequirements

pub struct DeviceImageMemoryRequirements<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_create_info: *const ImageCreateInfo<'a>, pub plane_aspect: ImageAspectFlagBits, /* private fields */ }
Native structure VkDeviceImageMemoryRequirements.

Contract

Native structure VkDeviceImageMemoryRequirements.

Khronos reference: VkDeviceImageMemoryRequirements

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

p_create_info

Field
p_create_info: *const ImageCreateInfo<'a>

Native field pCreateInfo.

plane_aspect

Field
plane_aspect: ImageAspectFlagBits

Native field planeAspect.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_create_info

Method
pub fn set_create_info(self, value: &'a ImageCreateInfo<'a>) -> Self

Set native field pCreateInfo without native effects.

set_plane_aspect

Method
pub fn set_plane_aspect(self, value: ImageAspectFlagBits) -> Self

Set native field planeAspect without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::DeviceImageSubresourceInfo

pub struct DeviceImageSubresourceInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_create_info: *const ImageCreateInfo<'a>, pub p_subresource: *const ImageSubresource2<'a>, /* private fields */ }
Native structure VkDeviceImageSubresourceInfo.

Contract

Native structure VkDeviceImageSubresourceInfo.

Khronos reference: VkDeviceImageSubresourceInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

p_create_info

Field
p_create_info: *const ImageCreateInfo<'a>

Native field pCreateInfo.

p_subresource

Field
p_subresource: *const ImageSubresource2<'a>

Native field pSubresource.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_create_info

Method
pub fn set_create_info(self, value: &'a ImageCreateInfo<'a>) -> Self

Set native field pCreateInfo without native effects.

set_subresource

Method
pub fn set_subresource(self, value: &'a ImageSubresource2<'a>) -> Self

Set native field pSubresource without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::DeviceMemory

Contract

Raw Vulkan handle VkDeviceMemory.

Khronos reference: VkDeviceMemory Calls using this identity must satisfy Vulkan lifetime and synchronization rules.

Fields

0

Field
0: u64
No public source comment is attached to this declaration.

Methods and associated items

NULL

Method
pub const NULL: Self
No public source comment is attached to this declaration.

is_null

Method
pub fn is_null(self) -> bool
No public source comment is attached to this declaration.

from_raw

Method
pub fn from_raw(value: u64) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub fn as_raw(self) -> u64
No public source comment is attached to this declaration.

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

eq

Method
fn eq(&self, other: &DeviceMemory) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::DeviceMemoryCopyKHR

pub struct DeviceMemoryCopyKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub src_range: DeviceAddressRangeKHR, pub src_flags: AddressCommandFlagsKHR, pub dst_range: DeviceAddressRangeKHR, pub dst_flags: AddressCommandFlagsKHR, /* private fields */ }
Native structure VkDeviceMemoryCopyKHR.

Contract

Native structure VkDeviceMemoryCopyKHR.

Khronos reference: VkDeviceMemoryCopyKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

src_range

Field
src_range: DeviceAddressRangeKHR

Native field srcRange.

src_flags

Field
src_flags: AddressCommandFlagsKHR

Native field srcFlags.

dst_range

Field
dst_range: DeviceAddressRangeKHR

Native field dstRange.

dst_flags

Field
dst_flags: AddressCommandFlagsKHR

Native field dstFlags.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_src_range

Method
pub fn set_src_range(self, value: DeviceAddressRangeKHR) -> Self

Set native field srcRange without native effects.

set_src_flags

Method
pub fn set_src_flags(self, value: AddressCommandFlagsKHR) -> Self

Set native field srcFlags without native effects.

set_dst_range

Method
pub fn set_dst_range(self, value: DeviceAddressRangeKHR) -> Self

Set native field dstRange without native effects.

set_dst_flags

Method
pub fn set_dst_flags(self, value: AddressCommandFlagsKHR) -> Self

Set native field dstFlags without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::DeviceMemoryImageCopyKHR

pub struct DeviceMemoryImageCopyKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub address_range: DeviceAddressRangeKHR, pub address_flags: AddressCommandFlagsKHR, pub address_row_length: u32, pub address_image_height: u32, pub image_subresource: ImageSubresourceLayers, pub image_layout: ImageLayout, pub image_offset: Offset3D, pub image_extent: Extent3D, /* private fields */ }
Native structure VkDeviceMemoryImageCopyKHR.

Contract

Native structure VkDeviceMemoryImageCopyKHR.

Khronos reference: VkDeviceMemoryImageCopyKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

address_range

Field
address_range: DeviceAddressRangeKHR

Native field addressRange.

address_flags

Field
address_flags: AddressCommandFlagsKHR

Native field addressFlags.

address_row_length

Field
address_row_length: u32

Native field addressRowLength.

address_image_height

Field
address_image_height: u32

Native field addressImageHeight.

image_subresource

Field
image_subresource: ImageSubresourceLayers

Native field imageSubresource.

image_layout

Field
image_layout: ImageLayout

Native field imageLayout.

image_offset

Field
image_offset: Offset3D

Native field imageOffset.

image_extent

Field
image_extent: Extent3D

Native field imageExtent.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_address_range

Method
pub fn set_address_range(self, value: DeviceAddressRangeKHR) -> Self

Set native field addressRange without native effects.

set_address_flags

Method
pub fn set_address_flags(self, value: AddressCommandFlagsKHR) -> Self

Set native field addressFlags without native effects.

set_address_row_length

Method
pub fn set_address_row_length(self, value: u32) -> Self

Set native field addressRowLength without native effects.

set_address_image_height

Method
pub fn set_address_image_height(self, value: u32) -> Self

Set native field addressImageHeight without native effects.

set_image_subresource

Method
pub fn set_image_subresource(self, value: ImageSubresourceLayers) -> Self

Set native field imageSubresource without native effects.

set_image_layout

Method
pub fn set_image_layout(self, value: ImageLayout) -> Self

Set native field imageLayout without native effects.

set_image_offset

Method
pub fn set_image_offset(self, value: Offset3D) -> Self

Set native field imageOffset without native effects.

set_image_extent

Method
pub fn set_image_extent(self, value: Extent3D) -> Self

Set native field imageExtent without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::DeviceMemoryOpaqueCaptureAddressInfo

pub struct DeviceMemoryOpaqueCaptureAddressInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub memory: DeviceMemory, /* private fields */ }
Native structure VkDeviceMemoryOpaqueCaptureAddressInfo.

Contract

Native structure VkDeviceMemoryOpaqueCaptureAddressInfo.

Khronos reference: VkDeviceMemoryOpaqueCaptureAddressInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

memory

Field
memory: DeviceMemory

Native field memory.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_memory

Method
pub fn set_memory(self, value: DeviceMemory) -> Self

Set native field memory without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::DeviceMemoryOverallocationCreateInfoAMD

pub struct DeviceMemoryOverallocationCreateInfoAMD<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub overallocation_behavior: MemoryOverallocationBehaviorAMD, /* private fields */ }
Native structure VkDeviceMemoryOverallocationCreateInfoAMD.

Contract

Native structure VkDeviceMemoryOverallocationCreateInfoAMD.

Khronos reference: VkDeviceMemoryOverallocationCreateInfoAMD

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

overallocation_behavior

Field
overallocation_behavior: MemoryOverallocationBehaviorAMD

Native field overallocationBehavior.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_overallocation_behavior

Method
pub fn set_overallocation_behavior( self, value: MemoryOverallocationBehaviorAMD, ) -> Self

Set native field overallocationBehavior without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::DeviceMemoryReportCallbackDataEXT

pub struct DeviceMemoryReportCallbackDataEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub flags: DeviceMemoryReportFlagsEXT, pub type: DeviceMemoryReportEventTypeEXT, pub memory_object_id: u64, pub size: DeviceSize, pub object_type: ObjectType, pub object_handle: u64, pub heap_index: u32, /* private fields */ }
Native structure VkDeviceMemoryReportCallbackDataEXT.

Contract

Native structure VkDeviceMemoryReportCallbackDataEXT.

Khronos reference: VkDeviceMemoryReportCallbackDataEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

flags

Field
flags: DeviceMemoryReportFlagsEXT

Native field flags.

type

Field
type: DeviceMemoryReportEventTypeEXT

Native field type.

memory_object_id

Field
memory_object_id: u64

Native field memoryObjectId.

size

Field
size: DeviceSize

Native field size.

object_type

Field
object_type: ObjectType

Native field objectType.

object_handle

Field
object_handle: u64

Native field objectHandle.

heap_index

Field
heap_index: u32

Native field heapIndex.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_flags

Method
pub fn set_flags(self, value: DeviceMemoryReportFlagsEXT) -> Self

Set native field flags without native effects.

set_type

Method
pub fn set_type(self, value: DeviceMemoryReportEventTypeEXT) -> Self

Set native field type without native effects.

set_memory_object_id

Method
pub fn set_memory_object_id(self, value: u64) -> Self

Set native field memoryObjectId without native effects.

set_size

Method
pub fn set_size(self, value: DeviceSize) -> Self

Set native field size without native effects.

set_object_type

Method
pub fn set_object_type(self, value: ObjectType) -> Self

Set native field objectType without native effects.

set_object_handle

Method
pub fn set_object_handle(self, value: u64) -> Self

Set native field objectHandle without native effects.

set_heap_index

Method
pub fn set_heap_index(self, value: u32) -> Self

Set native field heapIndex without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::DeviceMemoryReportEventTypeEXT

Contract

Open integer representation of VkDeviceMemoryReportEventTypeEXT.

Khronos reference: VkDeviceMemoryReportEventTypeEXT

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

Method
fn clone(&self) -> DeviceMemoryReportEventTypeEXT
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> DeviceMemoryReportEventTypeEXT
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &DeviceMemoryReportEventTypeEXT) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::DeviceMemoryReportFlagsEXT

Contract

Open integer representation of VkDeviceMemoryReportFlagsEXT.

Khronos reference: VkDeviceMemoryReportFlagsEXT

Fields

0

Field
0: u32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: u32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> u32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

Output

Method
type Output = DeviceMemoryReportFlagsEXT
The resulting type after applying the & operator.

Output-1

Method
type Output = DeviceMemoryReportFlagsEXT
The resulting type after applying the | operator.

Output-2

Method
type Output = DeviceMemoryReportFlagsEXT
The resulting type after applying the ^ operator.

clone

Method
fn clone(&self) -> DeviceMemoryReportFlagsEXT
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> DeviceMemoryReportFlagsEXT
Returns the “default value” for a type. Read more

Output-3

Method
type Output = DeviceMemoryReportFlagsEXT
The resulting type after applying the ! operator.

eq

Method
fn eq(&self, other: &DeviceMemoryReportFlagsEXT) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::DevicePipelineBinaryInternalCacheControlKHR

pub struct DevicePipelineBinaryInternalCacheControlKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub disable_internal_cache: Bool32, /* private fields */ }
Native structure VkDevicePipelineBinaryInternalCacheControlKHR.

Contract

Native structure VkDevicePipelineBinaryInternalCacheControlKHR.

Khronos reference: VkDevicePipelineBinaryInternalCacheControlKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

disable_internal_cache

Field
disable_internal_cache: Bool32

Native field disableInternalCache.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_disable_internal_cache

Method
pub fn set_disable_internal_cache(self, value: Bool32) -> Self

Set native field disableInternalCache without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.