Realm

vk · Structs · P35

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

StRustExperimental

Stvk::PipelineRasterizationStateRasterizationOrderAMD

pub struct PipelineRasterizationStateRasterizationOrderAMD<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub rasterization_order: RasterizationOrderAMD, /* private fields */ }
Native structure VkPipelineRasterizationStateRasterizationOrderAMD.

Contract

Native structure VkPipelineRasterizationStateRasterizationOrderAMD.

Khronos reference: VkPipelineRasterizationStateRasterizationOrderAMD

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

rasterization_order

Field
rasterization_order: RasterizationOrderAMD

Native field rasterizationOrder.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_rasterization_order

Method
pub fn set_rasterization_order(self, value: RasterizationOrderAMD) -> Self

Set native field rasterizationOrder 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::PipelineRasterizationStateStreamCreateFlagsEXT

Contract

Open integer representation of VkPipelineRasterizationStateStreamCreateFlagsEXT.

Khronos reference: VkPipelineRasterizationStateStreamCreateFlagsEXT

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::PipelineRasterizationStateStreamCreateInfoEXT

pub struct PipelineRasterizationStateStreamCreateInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: PipelineRasterizationStateStreamCreateFlagsEXT, pub rasterization_stream: u32, /* private fields */ }
Native structure VkPipelineRasterizationStateStreamCreateInfoEXT.

Contract

Native structure VkPipelineRasterizationStateStreamCreateInfoEXT.

Khronos reference: VkPipelineRasterizationStateStreamCreateInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: PipelineRasterizationStateStreamCreateFlagsEXT

Native field flags.

rasterization_stream

Field
rasterization_stream: u32

Native field rasterizationStream.

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: PipelineRasterizationStateStreamCreateFlagsEXT, ) -> Self

Set native field flags without native effects.

set_rasterization_stream

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

Set native field rasterizationStream 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::PipelineRenderingCreateInfo

pub struct PipelineRenderingCreateInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub view_mask: u32, pub color_attachment_count: u32, pub p_color_attachment_formats: *const Format, pub depth_attachment_format: Format, pub stencil_attachment_format: Format, /* private fields */ }
Native structure VkPipelineRenderingCreateInfo.

Contract

Native structure VkPipelineRenderingCreateInfo.

Khronos reference: VkPipelineRenderingCreateInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

view_mask

Field
view_mask: u32

Native field viewMask.

color_attachment_count

Field
color_attachment_count: u32

Native field colorAttachmentCount.

p_color_attachment_formats

Field
p_color_attachment_formats: *const Format

Native field pColorAttachmentFormats.

depth_attachment_format

Field
depth_attachment_format: Format

Native field depthAttachmentFormat.

stencil_attachment_format

Field
stencil_attachment_format: Format

Native field stencilAttachmentFormat.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_view_mask

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

Set native field viewMask without native effects.

set_color_attachment_count

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

Set native count colorAttachmentCount 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_color_attachment_formats

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

Borrow pColorAttachmentFormats and set checked native count colorAttachmentCount. 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_depth_attachment_format

Method
pub fn set_depth_attachment_format(self, value: Format) -> Self

Set native field depthAttachmentFormat without native effects.

set_stencil_attachment_format

Method
pub fn set_stencil_attachment_format(self, value: Format) -> Self

Set native field stencilAttachmentFormat 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::PipelineRepresentativeFragmentTestStateCreateInfoNV

pub struct PipelineRepresentativeFragmentTestStateCreateInfoNV<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub representative_fragment_test_enable: Bool32, /* private fields */ }
Native structure VkPipelineRepresentativeFragmentTestStateCreateInfoNV.

Contract

Native structure VkPipelineRepresentativeFragmentTestStateCreateInfoNV.

Khronos reference: VkPipelineRepresentativeFragmentTestStateCreateInfoNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

representative_fragment_test_enable

Field
representative_fragment_test_enable: Bool32

Native field representativeFragmentTestEnable.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_representative_fragment_test_enable

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

Set native field representativeFragmentTestEnable 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::PipelineRobustnessBufferBehavior

Contract

Open integer representation of VkPipelineRobustnessBufferBehavior.

Khronos reference: VkPipelineRobustnessBufferBehavior

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

eq

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

Stvk::PipelineRobustnessCreateInfo

pub struct PipelineRobustnessCreateInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub storage_buffers: PipelineRobustnessBufferBehavior, pub uniform_buffers: PipelineRobustnessBufferBehavior, pub vertex_inputs: PipelineRobustnessBufferBehavior, pub images: PipelineRobustnessImageBehavior, /* private fields */ }
Native structure VkPipelineRobustnessCreateInfo.

Contract

Native structure VkPipelineRobustnessCreateInfo.

Khronos reference: VkPipelineRobustnessCreateInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

storage_buffers

Field
storage_buffers: PipelineRobustnessBufferBehavior

Native field storageBuffers.

uniform_buffers

Field
uniform_buffers: PipelineRobustnessBufferBehavior

Native field uniformBuffers.

vertex_inputs

Field
vertex_inputs: PipelineRobustnessBufferBehavior

Native field vertexInputs.

images

Field
images: PipelineRobustnessImageBehavior

Native field images.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_storage_buffers

Method
pub fn set_storage_buffers( self, value: PipelineRobustnessBufferBehavior, ) -> Self

Set native field storageBuffers without native effects.

set_uniform_buffers

Method
pub fn set_uniform_buffers( self, value: PipelineRobustnessBufferBehavior, ) -> Self

Set native field uniformBuffers without native effects.

set_vertex_inputs

Method
pub fn set_vertex_inputs(self, value: PipelineRobustnessBufferBehavior) -> Self

Set native field vertexInputs without native effects.

set_images

Method
pub fn set_images(self, value: PipelineRobustnessImageBehavior) -> Self

Set native field images 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::PipelineRobustnessImageBehavior

Contract

Open integer representation of VkPipelineRobustnessImageBehavior.

Khronos reference: VkPipelineRobustnessImageBehavior

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

eq

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

Stvk::PipelineSampleLocationsStateCreateInfoEXT

pub struct PipelineSampleLocationsStateCreateInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub sample_locations_enable: Bool32, pub sample_locations_info: SampleLocationsInfoEXT<'a>, /* private fields */ }
Native structure VkPipelineSampleLocationsStateCreateInfoEXT.

Contract

Native structure VkPipelineSampleLocationsStateCreateInfoEXT.

Khronos reference: VkPipelineSampleLocationsStateCreateInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

sample_locations_enable

Field
sample_locations_enable: Bool32

Native field sampleLocationsEnable.

sample_locations_info

Field
sample_locations_info: SampleLocationsInfoEXT<'a>

Native field sampleLocationsInfo.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_sample_locations_enable

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

Set native field sampleLocationsEnable without native effects.

set_sample_locations_info

Method
pub fn set_sample_locations_info( self, value: SampleLocationsInfoEXT<'a>, ) -> Self

Set native field sampleLocationsInfo 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::PipelineShaderStageCreateFlagBits

Contract

Open integer representation of VkPipelineShaderStageCreateFlagBits.

Khronos reference: VkPipelineShaderStageCreateFlagBits

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::PipelineShaderStageCreateInfo

pub struct PipelineShaderStageCreateInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: PipelineShaderStageCreateFlags, pub stage: ShaderStageFlagBits, pub module: ShaderModule, pub p_name: *const c_char, pub p_specialization_info: *const SpecializationInfo<'a>, /* private fields */ }
Native structure VkPipelineShaderStageCreateInfo.

Contract

Native structure VkPipelineShaderStageCreateInfo.

Khronos reference: VkPipelineShaderStageCreateInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: PipelineShaderStageCreateFlags

Native field flags.

stage

Field
stage: ShaderStageFlagBits

Native field stage.

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.

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

Set native field flags without native effects.

set_stage

Method
pub fn set_stage(self, value: ShaderStageFlagBits) -> Self

Set native field stage without native effects.

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.

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

pub struct PipelineShaderStageModuleIdentifierCreateInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub identifier_size: u32, pub p_identifier: *const u8, /* private fields */ }
Native structure VkPipelineShaderStageModuleIdentifierCreateInfoEXT.

Contract

Native structure VkPipelineShaderStageModuleIdentifierCreateInfoEXT.

Khronos reference: VkPipelineShaderStageModuleIdentifierCreateInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

identifier_size

Field
identifier_size: u32

Native field identifierSize.

p_identifier

Field
p_identifier: *const u8

Native field pIdentifier.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_identifier_size

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

Set native count identifierSize 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_identifier

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

Borrow pIdentifier and set checked native count identifierSize. 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::PipelineShaderStageNodeCreateInfoAMDX

pub struct PipelineShaderStageNodeCreateInfoAMDX<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_name: *const c_char, pub index: u32, /* private fields */ }
Native structure VkPipelineShaderStageNodeCreateInfoAMDX.

Contract

Native structure VkPipelineShaderStageNodeCreateInfoAMDX.

Khronos reference: VkPipelineShaderStageNodeCreateInfoAMDX

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

p_name

Field
p_name: *const c_char

Native field pName.

index

Field
index: u32

Native field index.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_name

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

Set native field pName without native effects.

set_index

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

Set native field index 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::PipelineShaderStageRequiredSubgroupSizeCreateInfo

pub struct PipelineShaderStageRequiredSubgroupSizeCreateInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub required_subgroup_size: u32, /* private fields */ }
Native structure VkPipelineShaderStageRequiredSubgroupSizeCreateInfo.

Contract

Native structure VkPipelineShaderStageRequiredSubgroupSizeCreateInfo.

Khronos reference: VkPipelineShaderStageRequiredSubgroupSizeCreateInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

required_subgroup_size

Field
required_subgroup_size: u32

Native field requiredSubgroupSize.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_required_subgroup_size

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

Set native field requiredSubgroupSize 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::PipelineStageFlagBits

Contract

Open integer representation of VkPipelineStageFlagBits.

Khronos reference: VkPipelineStageFlagBits

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::PipelineTessellationDomainOriginStateCreateInfo

pub struct PipelineTessellationDomainOriginStateCreateInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub domain_origin: TessellationDomainOrigin, /* private fields */ }
Native structure VkPipelineTessellationDomainOriginStateCreateInfo.

Contract

Native structure VkPipelineTessellationDomainOriginStateCreateInfo.

Khronos reference: VkPipelineTessellationDomainOriginStateCreateInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

domain_origin

Field
domain_origin: TessellationDomainOrigin

Native field domainOrigin.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_domain_origin

Method
pub fn set_domain_origin(self, value: TessellationDomainOrigin) -> Self

Set native field domainOrigin 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.