Realm

vk · Structs · D8

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

StRustExperimental

Stvk::DescriptorUpdateTemplateCreateFlags

Contract

Open integer representation of VkDescriptorUpdateTemplateCreateFlags.

Khronos reference: VkDescriptorUpdateTemplateCreateFlags

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 = DescriptorUpdateTemplateCreateFlags
The resulting type after applying the & operator.

Output-1

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

Output-2

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

clone

Method
fn clone(&self) -> DescriptorUpdateTemplateCreateFlags
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() -> DescriptorUpdateTemplateCreateFlags
Returns the “default value” for a type. Read more

Output-3

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

eq

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

Stvk::DescriptorUpdateTemplateCreateInfo

pub struct DescriptorUpdateTemplateCreateInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: DescriptorUpdateTemplateCreateFlags, pub descriptor_update_entry_count: u32, pub p_descriptor_update_entries: *const DescriptorUpdateTemplateEntry, pub template_type: DescriptorUpdateTemplateType, pub descriptor_set_layout: DescriptorSetLayout, pub pipeline_bind_point: PipelineBindPoint, pub pipeline_layout: PipelineLayout, pub set: u32, /* private fields */ }
Native structure VkDescriptorUpdateTemplateCreateInfo.

Contract

Native structure VkDescriptorUpdateTemplateCreateInfo.

Khronos reference: VkDescriptorUpdateTemplateCreateInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: DescriptorUpdateTemplateCreateFlags

Native field flags.

descriptor_update_entry_count

Field
descriptor_update_entry_count: u32

Native field descriptorUpdateEntryCount.

p_descriptor_update_entries

Field
p_descriptor_update_entries: *const DescriptorUpdateTemplateEntry

Native field pDescriptorUpdateEntries.

template_type

Field
template_type: DescriptorUpdateTemplateType

Native field templateType.

descriptor_set_layout

Field
descriptor_set_layout: DescriptorSetLayout

Native field descriptorSetLayout.

pipeline_bind_point

Field
pipeline_bind_point: PipelineBindPoint

Native field pipelineBindPoint.

pipeline_layout

Field
pipeline_layout: PipelineLayout

Native field pipelineLayout.

set

Field
set: u32

Native field set.

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: DescriptorUpdateTemplateCreateFlags) -> Self

Set native field flags without native effects.

set_descriptor_update_entry_count

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

Set native count descriptorUpdateEntryCount 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_descriptor_update_entries

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

Borrow pDescriptorUpdateEntries and set checked native count descriptorUpdateEntryCount. 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_template_type

Method
pub fn set_template_type(self, value: DescriptorUpdateTemplateType) -> Self

Set native field templateType without native effects.

set_descriptor_set_layout

Method
pub fn set_descriptor_set_layout(self, value: DescriptorSetLayout) -> Self

Set native field descriptorSetLayout without native effects.

set_pipeline_bind_point

Method
pub fn set_pipeline_bind_point(self, value: PipelineBindPoint) -> Self

Set native field pipelineBindPoint without native effects.

set_pipeline_layout

Method
pub fn set_pipeline_layout(self, value: PipelineLayout) -> Self

Set native field pipelineLayout without native effects.

set_set

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

Set native field set 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::DescriptorUpdateTemplateEntry

#[repr(C)]pub struct DescriptorUpdateTemplateEntry { pub dst_binding: u32, pub dst_array_element: u32, pub descriptor_count: u32, pub descriptor_type: DescriptorType, pub offset: usize, pub stride: usize, }
Native structure VkDescriptorUpdateTemplateEntry.

Contract

Native structure VkDescriptorUpdateTemplateEntry.

Khronos reference: VkDescriptorUpdateTemplateEntry

Fields

dst_binding

Field
dst_binding: u32

Native field dstBinding.

dst_array_element

Field
dst_array_element: u32

Native field dstArrayElement.

descriptor_count

Field
descriptor_count: u32

Native field descriptorCount.

descriptor_type

Field
descriptor_type: DescriptorType

Native field descriptorType.

offset

Field
offset: usize

Native field offset.

stride

Field
stride: usize

Native field stride.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_dst_binding

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

Set native field dstBinding without native effects.

set_dst_array_element

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

Set native field dstArrayElement without native effects.

set_descriptor_count

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

Set native field descriptorCount without native effects.

set_descriptor_type

Method
pub fn set_descriptor_type(self, value: DescriptorType) -> Self

Set native field descriptorType without native effects.

set_offset

Method
pub fn set_offset(self, value: usize) -> Self

Set native field offset without native effects.

set_stride

Method
pub fn set_stride(self, value: usize) -> Self

Set native field stride without native effects.

clone

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

Stvk::DescriptorUpdateTemplateType

Contract

Open integer representation of VkDescriptorUpdateTemplateType.

Khronos reference: VkDescriptorUpdateTemplateType

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) -> DescriptorUpdateTemplateType
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() -> DescriptorUpdateTemplateType
Returns the “default value” for a type. Read more

eq

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

Stvk::DeviceAddressBindingCallbackDataEXT

pub struct DeviceAddressBindingCallbackDataEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub flags: DeviceAddressBindingFlagsEXT, pub base_address: DeviceAddress, pub size: DeviceSize, pub binding_type: DeviceAddressBindingTypeEXT, /* private fields */ }
Native structure VkDeviceAddressBindingCallbackDataEXT.

Contract

Native structure VkDeviceAddressBindingCallbackDataEXT.

Khronos reference: VkDeviceAddressBindingCallbackDataEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

flags

Field
flags: DeviceAddressBindingFlagsEXT

Native field flags.

base_address

Field
base_address: DeviceAddress

Native field baseAddress.

size

Field
size: DeviceSize

Native field size.

binding_type

Field
binding_type: DeviceAddressBindingTypeEXT

Native field bindingType.

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: DeviceAddressBindingFlagsEXT) -> Self

Set native field flags without native effects.

set_base_address

Method
pub fn set_base_address(self, value: DeviceAddress) -> Self

Set native field baseAddress without native effects.

set_size

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

Set native field size without native effects.

set_binding_type

Method
pub fn set_binding_type(self, value: DeviceAddressBindingTypeEXT) -> Self

Set native field bindingType 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::DeviceAddressBindingFlagBitsEXT

Contract

Open integer representation of VkDeviceAddressBindingFlagBitsEXT.

Khronos reference: VkDeviceAddressBindingFlagBitsEXT

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 = DeviceAddressBindingFlagBitsEXT
The resulting type after applying the & operator.

Output-1

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

Output-2

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

clone

Method
fn clone(&self) -> DeviceAddressBindingFlagBitsEXT
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() -> DeviceAddressBindingFlagBitsEXT
Returns the “default value” for a type. Read more

Output-3

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

eq

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

Stvk::DeviceAddressBindingTypeEXT

Contract

Open integer representation of VkDeviceAddressBindingTypeEXT.

Khronos reference: VkDeviceAddressBindingTypeEXT

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) -> DeviceAddressBindingTypeEXT
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() -> DeviceAddressBindingTypeEXT
Returns the “default value” for a type. Read more

eq

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

Stvk::DeviceAddressRangeKHR

Contract

Native structure VkDeviceAddressRangeKHR.

Khronos reference: VkDeviceAddressRangeKHR

Fields

address

Field
address: DeviceAddress

Native field address.

size

Field
size: DeviceSize

Native field size.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_address

Method
pub fn set_address(self, value: DeviceAddress) -> Self

Set native field address without native effects.

set_size

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

Set native field size without native effects.

clone

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

Stvk::DeviceBufferMemoryRequirements

pub struct DeviceBufferMemoryRequirements<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_create_info: *const BufferCreateInfo<'a>, /* private fields */ }
Native structure VkDeviceBufferMemoryRequirements.

Contract

Native structure VkDeviceBufferMemoryRequirements.

Khronos reference: VkDeviceBufferMemoryRequirements

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 BufferCreateInfo<'a>

Native field pCreateInfo.

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 BufferCreateInfo<'a>) -> Self

Set native field pCreateInfo 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::DeviceCreateFlags

Contract

Open integer representation of VkDeviceCreateFlags.

Khronos reference: VkDeviceCreateFlags

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 = DeviceCreateFlags
The resulting type after applying the & operator.

Output-1

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

Output-2

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

fmt

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

default

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

Output-3

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

eq

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

Stvk::DeviceCreateInfo

pub struct DeviceCreateInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: DeviceCreateFlags, pub queue_create_info_count: u32, pub p_queue_create_infos: *const DeviceQueueCreateInfo<'a>, pub enabled_layer_count: u32, pub pp_enabled_layer_names: *const *const c_char, pub enabled_extension_count: u32, pub pp_enabled_extension_names: *const *const c_char, pub p_enabled_features: *const PhysicalDeviceFeatures, /* private fields */ }
Native structure VkDeviceCreateInfo.

Contract

Native structure VkDeviceCreateInfo.

Khronos reference: VkDeviceCreateInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: DeviceCreateFlags

Native field flags.

queue_create_info_count

Field
queue_create_info_count: u32

Native field queueCreateInfoCount.

p_queue_create_infos

Field
p_queue_create_infos: *const DeviceQueueCreateInfo<'a>

Native field pQueueCreateInfos.

enabled_layer_count

Field
enabled_layer_count: u32

Native field enabledLayerCount.

pp_enabled_layer_names

Field
pp_enabled_layer_names: *const *const c_char

Native field ppEnabledLayerNames.

enabled_extension_count

Field
enabled_extension_count: u32

Native field enabledExtensionCount.

pp_enabled_extension_names

Field
pp_enabled_extension_names: *const *const c_char

Native field ppEnabledExtensionNames.

p_enabled_features

Field
p_enabled_features: *const PhysicalDeviceFeatures

Native field pEnabledFeatures.

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: DeviceCreateFlags) -> Self

Set native field flags without native effects.

set_queue_create_info_count

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

Set native count queueCreateInfoCount 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_queue_create_infos

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

Borrow pQueueCreateInfos and set checked native count queueCreateInfoCount. 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_enabled_layer_count

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

Set native count enabledLayerCount 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_enabled_layer_names

Method
pub fn set_enabled_layer_names( self, value: &'a [*const c_char], ) -> Result<Self, ConstructionError>

Borrow ppEnabledLayerNames and set checked native count enabledLayerCount. 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_enabled_extension_count

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

Set native count enabledExtensionCount 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_enabled_extension_names

Method
pub fn set_enabled_extension_names( self, value: &'a [*const c_char], ) -> Result<Self, ConstructionError>

Borrow ppEnabledExtensionNames and set checked native count enabledExtensionCount. 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_enabled_features

Method
pub fn set_enabled_features(self, value: &'a PhysicalDeviceFeatures) -> Self

Set native field pEnabledFeatures 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::DeviceDeviceMemoryReportCreateInfoEXT

pub struct DeviceDeviceMemoryReportCreateInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: DeviceMemoryReportFlagsEXT, pub pfn_user_callback: PFN_vkDeviceMemoryReportCallbackEXT, pub p_user_data: *mut c_void, /* private fields */ }
Native structure VkDeviceDeviceMemoryReportCreateInfoEXT.

Contract

Native structure VkDeviceDeviceMemoryReportCreateInfoEXT.

Khronos reference: VkDeviceDeviceMemoryReportCreateInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: DeviceMemoryReportFlagsEXT

Native field flags.

pfn_user_callback

Field
pfn_user_callback: PFN_vkDeviceMemoryReportCallbackEXT

Native field pfnUserCallback.

p_user_data

Field
p_user_data: *mut c_void

Native field pUserData.

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_pfn_user_callback

Method
pub fn set_pfn_user_callback( self, value: PFN_vkDeviceMemoryReportCallbackEXT, ) -> Self

Set native field pfnUserCallback without native effects.

set_user_data

Method
pub unsafe fn set_user_data(self, value: *mut c_void) -> Self

Set native pointer pUserData explicitly. No borrow or extent is inferred.

Safety

The caller must establish pointee validity, extent, alignment, aliasing and the full native retention lifetime before using this record in a native call. Callback, external-object and nested-pointer contracts remain caller obligations.

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::DeviceDiagnosticsConfigCreateInfoNV

pub struct DeviceDiagnosticsConfigCreateInfoNV<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: DeviceDiagnosticsConfigFlagsNV, /* private fields */ }
Native structure VkDeviceDiagnosticsConfigCreateInfoNV.

Contract

Native structure VkDeviceDiagnosticsConfigCreateInfoNV.

Khronos reference: VkDeviceDiagnosticsConfigCreateInfoNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: DeviceDiagnosticsConfigFlagsNV

Native field flags.

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: DeviceDiagnosticsConfigFlagsNV) -> Self

Set native field flags 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::DeviceDiagnosticsConfigFlagBitsNV

Contract

Open integer representation of VkDeviceDiagnosticsConfigFlagBitsNV.

Khronos reference: VkDeviceDiagnosticsConfigFlagBitsNV

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 = DeviceDiagnosticsConfigFlagBitsNV
The resulting type after applying the & operator.

Output-1

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

Output-2

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

clone

Method
fn clone(&self) -> DeviceDiagnosticsConfigFlagBitsNV
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() -> DeviceDiagnosticsConfigFlagBitsNV
Returns the “default value” for a type. Read more

Output-3

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

eq

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

Stvk::DeviceEventInfoEXT

pub struct DeviceEventInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub device_event: DeviceEventTypeEXT, /* private fields */ }
Native structure VkDeviceEventInfoEXT.

Contract

Native structure VkDeviceEventInfoEXT.

Khronos reference: VkDeviceEventInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

device_event

Field
device_event: DeviceEventTypeEXT

Native field deviceEvent.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_device_event

Method
pub fn set_device_event(self, value: DeviceEventTypeEXT) -> Self

Set native field deviceEvent 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::DeviceEventTypeEXT

Contract

Open integer representation of VkDeviceEventTypeEXT.

Khronos reference: VkDeviceEventTypeEXT

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.

fmt

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

default

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

eq

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