Realm

vk · Structs · D3

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

StRustExperimental

Stvk::DataGraphPipelineSessionCreateFlagBitsARM

Contract

Open integer representation of VkDataGraphPipelineSessionCreateFlagBitsARM.

Khronos reference: VkDataGraphPipelineSessionCreateFlagBitsARM

Fields

0

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

Methods and associated items

from_raw

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

as_raw

Method
pub const fn as_raw(self) -> u64
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 = DataGraphPipelineSessionCreateFlagBitsARM
The resulting type after applying the & operator.

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::DataGraphPipelineSessionCreateInfoARM

pub struct DataGraphPipelineSessionCreateInfoARM<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: DataGraphPipelineSessionCreateFlagsARM, pub data_graph_pipeline: Pipeline, /* private fields */ }
Native structure VkDataGraphPipelineSessionCreateInfoARM.

Contract

Native structure VkDataGraphPipelineSessionCreateInfoARM.

Khronos reference: VkDataGraphPipelineSessionCreateInfoARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: DataGraphPipelineSessionCreateFlagsARM

Native field flags.

data_graph_pipeline

Field
data_graph_pipeline: Pipeline

Native field dataGraphPipeline.

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

Set native field flags without native effects.

set_data_graph_pipeline

Method
pub fn set_data_graph_pipeline(self, value: Pipeline) -> Self

Set native field dataGraphPipeline 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::DataGraphPipelineSessionMemoryRequirementsInfoARM

pub struct DataGraphPipelineSessionMemoryRequirementsInfoARM<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub session: DataGraphPipelineSessionARM, pub bind_point: DataGraphPipelineSessionBindPointARM, pub object_index: u32, /* private fields */ }
Native structure VkDataGraphPipelineSessionMemoryRequirementsInfoARM.

Contract

Native structure VkDataGraphPipelineSessionMemoryRequirementsInfoARM.

Khronos reference: VkDataGraphPipelineSessionMemoryRequirementsInfoARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

session

Field
session: DataGraphPipelineSessionARM

Native field session.

bind_point

Field
bind_point: DataGraphPipelineSessionBindPointARM

Native field bindPoint.

object_index

Field
object_index: u32

Native field objectIndex.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_session

Method
pub fn set_session(self, value: DataGraphPipelineSessionARM) -> Self

Set native field session without native effects.

set_bind_point

Method
pub fn set_bind_point(self, value: DataGraphPipelineSessionBindPointARM) -> Self

Set native field bindPoint without native effects.

set_object_index

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

Set native field objectIndex 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::DataGraphPipelineSessionNeuralStatisticsCreateInfoARM

pub struct DataGraphPipelineSessionNeuralStatisticsCreateInfoARM<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub mode: NeuralAcceleratorStatisticsModeARM, /* private fields */ }
Native structure VkDataGraphPipelineSessionNeuralStatisticsCreateInfoARM.

Contract

Native structure VkDataGraphPipelineSessionNeuralStatisticsCreateInfoARM.

Khronos reference: VkDataGraphPipelineSessionNeuralStatisticsCreateInfoARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

mode

Field
mode: NeuralAcceleratorStatisticsModeARM

Native field mode.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_mode

Method
pub fn set_mode(self, value: NeuralAcceleratorStatisticsModeARM) -> Self

Set native field mode 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::DataGraphPipelineShaderModuleCreateInfoARM

pub struct DataGraphPipelineShaderModuleCreateInfoARM<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub module: ShaderModule, pub p_name: *const c_char, pub p_specialization_info: *const SpecializationInfo<'a>, pub constant_count: u32, pub p_constants: *const DataGraphPipelineConstantARM<'a>, /* private fields */ }
Native structure VkDataGraphPipelineShaderModuleCreateInfoARM.

Contract

Native structure VkDataGraphPipelineShaderModuleCreateInfoARM.

Khronos reference: VkDataGraphPipelineShaderModuleCreateInfoARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

module

Field
module: ShaderModule

Native field module.

p_name

Field
p_name: *const c_char

Native field pName.

p_specialization_info

Field
p_specialization_info: *const SpecializationInfo<'a>

Native field pSpecializationInfo.

constant_count

Field
constant_count: u32

Native field constantCount.

p_constants

Field
p_constants: *const DataGraphPipelineConstantARM<'a>

Native field pConstants.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_module

Method
pub fn set_module(self, value: ShaderModule) -> Self

Set native field module without native effects.

set_name

Method
pub fn set_name(self, value: &'a CStr) -> Self

Set native field pName without native effects.

set_specialization_info

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

Set native field pSpecializationInfo without native effects.

set_constant_count

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

Set native count constantCount 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_constants

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

Borrow pConstants and set checked native count constantCount. 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::DataGraphPipelineSingleNodeConnectionARM

pub struct DataGraphPipelineSingleNodeConnectionARM<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub set: u32, pub binding: u32, pub connection: DataGraphPipelineNodeConnectionTypeARM, /* private fields */ }
Native structure VkDataGraphPipelineSingleNodeConnectionARM.

Contract

Native structure VkDataGraphPipelineSingleNodeConnectionARM.

Khronos reference: VkDataGraphPipelineSingleNodeConnectionARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

set

Field
set: u32

Native field set.

binding

Field
binding: u32

Native field binding.

connection

Field
connection: DataGraphPipelineNodeConnectionTypeARM

Native field connection.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_set

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

Set native field set without native effects.

set_binding

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

Set native field binding without native effects.

set_connection

Method
pub fn set_connection( self, value: DataGraphPipelineNodeConnectionTypeARM, ) -> Self

Set native field connection 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::DataGraphPipelineSingleNodeCreateInfoARM

pub struct DataGraphPipelineSingleNodeCreateInfoARM<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub node_type: DataGraphPipelineNodeTypeARM, pub connection_count: u32, pub p_connections: *const DataGraphPipelineSingleNodeConnectionARM<'a>, /* private fields */ }
Native structure VkDataGraphPipelineSingleNodeCreateInfoARM.

Contract

Native structure VkDataGraphPipelineSingleNodeCreateInfoARM.

Khronos reference: VkDataGraphPipelineSingleNodeCreateInfoARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

node_type

Field
node_type: DataGraphPipelineNodeTypeARM

Native field nodeType.

connection_count

Field
connection_count: u32

Native field connectionCount.

p_connections

Field
p_connections: *const DataGraphPipelineSingleNodeConnectionARM<'a>

Native field pConnections.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_node_type

Method
pub fn set_node_type(self, value: DataGraphPipelineNodeTypeARM) -> Self

Set native field nodeType without native effects.

set_connection_count

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

Set native count connectionCount 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_connections

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

Borrow pConnections and set checked native count connectionCount. 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::DataGraphProcessingEngineCreateInfoARM

pub struct DataGraphProcessingEngineCreateInfoARM<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub processing_engine_count: u32, pub p_processing_engines: *mut PhysicalDeviceDataGraphProcessingEngineARM, /* private fields */ }
Native structure VkDataGraphProcessingEngineCreateInfoARM.

Contract

Native structure VkDataGraphProcessingEngineCreateInfoARM.

Khronos reference: VkDataGraphProcessingEngineCreateInfoARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

processing_engine_count

Field
processing_engine_count: u32

Native field processingEngineCount.

p_processing_engines

Field
p_processing_engines: *mut PhysicalDeviceDataGraphProcessingEngineARM

Native field pProcessingEngines.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_processing_engine_count

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

Set native count processingEngineCount 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_processing_engines

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

Borrow pProcessingEngines and set checked native count processingEngineCount. 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::DataGraphTOSALevelARM

Contract

Open integer representation of VkDataGraphTOSALevelARM.

Khronos reference: VkDataGraphTOSALevelARM

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

eq

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

Stvk::DataGraphTOSANameQualityARM

Contract

Native structure VkDataGraphTOSANameQualityARM.

Khronos reference: VkDataGraphTOSANameQualityARM

Fields

name

Field
name: [c_char; 128]

Native field name.

quality_flags

Field
quality_flags: DataGraphTOSAQualityFlagsARM

Native field qualityFlags.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_name

Method
pub fn set_name(self, value: [c_char; 128]) -> Self

Set native field name without native effects.

set_quality_flags

Method
pub fn set_quality_flags(self, value: DataGraphTOSAQualityFlagsARM) -> Self

Set native field qualityFlags without native effects.

clone

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

Stvk::DataGraphTOSAQualityFlagBitsARM

Contract

Open integer representation of VkDataGraphTOSAQualityFlagBitsARM.

Khronos reference: VkDataGraphTOSAQualityFlagBitsARM

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::DebugMarkerMarkerInfoEXT

pub struct DebugMarkerMarkerInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_marker_name: *const c_char, pub color: [f32; 4], /* private fields */ }
Native structure VkDebugMarkerMarkerInfoEXT.

Contract

Native structure VkDebugMarkerMarkerInfoEXT.

Khronos reference: VkDebugMarkerMarkerInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

p_marker_name

Field
p_marker_name: *const c_char

Native field pMarkerName.

color

Field
color: [f32; 4]

Native field color.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_marker_name

Method
pub fn set_marker_name(self, value: &'a CStr) -> Self

Set native field pMarkerName without native effects.

set_color

Method
pub fn set_color(self, value: [f32; 4]) -> Self

Set native field color 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::DebugMarkerObjectNameInfoEXT

pub struct DebugMarkerObjectNameInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub object_type: DebugReportObjectTypeEXT, pub object: u64, pub p_object_name: *const c_char, /* private fields */ }
Native structure VkDebugMarkerObjectNameInfoEXT.

Contract

Native structure VkDebugMarkerObjectNameInfoEXT.

Khronos reference: VkDebugMarkerObjectNameInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

object_type

Field
object_type: DebugReportObjectTypeEXT

Native field objectType.

object

Field
object: u64

Native field object.

p_object_name

Field
p_object_name: *const c_char

Native field pObjectName.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_object_type

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

Set native field objectType without native effects.

set_object

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

Set native field object without native effects.

set_object_name

Method
pub fn set_object_name(self, value: &'a CStr) -> Self

Set native field pObjectName 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::DebugMarkerObjectTagInfoEXT

pub struct DebugMarkerObjectTagInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub object_type: DebugReportObjectTypeEXT, pub object: u64, pub tag_name: u64, pub tag_size: usize, pub p_tag: *const c_void, /* private fields */ }
Native structure VkDebugMarkerObjectTagInfoEXT.

Contract

Native structure VkDebugMarkerObjectTagInfoEXT.

Khronos reference: VkDebugMarkerObjectTagInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

object_type

Field
object_type: DebugReportObjectTypeEXT

Native field objectType.

object

Field
object: u64

Native field object.

tag_name

Field
tag_name: u64

Native field tagName.

tag_size

Field
tag_size: usize

Native field tagSize.

p_tag

Field
p_tag: *const c_void

Native field pTag.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_object_type

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

Set native field objectType without native effects.

set_object

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

Set native field object without native effects.

set_tag_name

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

Set native field tagName without native effects.

set_tag_size

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

Set native count tagSize 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_tag

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

Borrow pTag and set checked native byte size tagSize. 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::DebugReportCallbackCreateInfoEXT

pub struct DebugReportCallbackCreateInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: DebugReportFlagsEXT, pub pfn_callback: PFN_vkDebugReportCallbackEXT, pub p_user_data: *mut c_void, /* private fields */ }
Native structure VkDebugReportCallbackCreateInfoEXT.

Contract

Native structure VkDebugReportCallbackCreateInfoEXT.

Khronos reference: VkDebugReportCallbackCreateInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: DebugReportFlagsEXT

Native field flags.

pfn_callback

Field
pfn_callback: PFN_vkDebugReportCallbackEXT

Native field pfnCallback.

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

Set native field flags without native effects.

set_pfn_callback

Method
pub fn set_pfn_callback(self, value: PFN_vkDebugReportCallbackEXT) -> Self

Set native field pfnCallback 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::DebugReportCallbackEXT

Contract

Raw Vulkan handle VkDebugReportCallbackEXT.

Khronos reference: VkDebugReportCallbackEXT 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.

clone

Method
fn clone(&self) -> DebugReportCallbackEXT
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

eq

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