Realm

vk · Structs · B3

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

StRustExperimental

Stvk::BlockMatchWindowCompareModeQCOM

Contract

Open integer representation of VkBlockMatchWindowCompareModeQCOM.

Khronos reference: VkBlockMatchWindowCompareModeQCOM

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

eq

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

Stvk::BorderColor

Contract

Open integer representation of VkBorderColor.

Khronos reference: VkBorderColor

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

eq

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

Stvk::Buffer

Contract

Raw Vulkan handle VkBuffer.

Khronos reference: VkBuffer 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: &Buffer) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::BufferCaptureDescriptorDataInfoEXT

pub struct BufferCaptureDescriptorDataInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub buffer: Buffer, /* private fields */ }
Native structure VkBufferCaptureDescriptorDataInfoEXT.

Contract

Native structure VkBufferCaptureDescriptorDataInfoEXT.

Khronos reference: VkBufferCaptureDescriptorDataInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

buffer

Field
buffer: Buffer

Native field buffer.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_buffer

Method
pub fn set_buffer(self, value: Buffer) -> Self

Set native field buffer 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::BufferCollectionBufferCreateInfoFUCHSIA

pub struct BufferCollectionBufferCreateInfoFUCHSIA<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub collection: BufferCollectionFUCHSIA, pub index: u32, /* private fields */ }
Native structure VkBufferCollectionBufferCreateInfoFUCHSIA.

Contract

Native structure VkBufferCollectionBufferCreateInfoFUCHSIA.

Khronos reference: VkBufferCollectionBufferCreateInfoFUCHSIA

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

collection

Field
collection: BufferCollectionFUCHSIA

Native field collection.

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_collection

Method
pub fn set_collection(self, value: BufferCollectionFUCHSIA) -> Self

Set native field collection 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::BufferCollectionConstraintsInfoFUCHSIA

pub struct BufferCollectionConstraintsInfoFUCHSIA<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub min_buffer_count: u32, pub max_buffer_count: u32, pub min_buffer_count_for_camping: u32, pub min_buffer_count_for_dedicated_slack: u32, pub min_buffer_count_for_shared_slack: u32, /* private fields */ }
Native structure VkBufferCollectionConstraintsInfoFUCHSIA.

Contract

Native structure VkBufferCollectionConstraintsInfoFUCHSIA.

Khronos reference: VkBufferCollectionConstraintsInfoFUCHSIA

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

min_buffer_count

Field
min_buffer_count: u32

Native field minBufferCount.

max_buffer_count

Field
max_buffer_count: u32

Native field maxBufferCount.

min_buffer_count_for_camping

Field
min_buffer_count_for_camping: u32

Native field minBufferCountForCamping.

min_buffer_count_for_dedicated_slack

Field
min_buffer_count_for_dedicated_slack: u32

Native field minBufferCountForDedicatedSlack.

min_buffer_count_for_shared_slack

Field
min_buffer_count_for_shared_slack: u32

Native field minBufferCountForSharedSlack.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_min_buffer_count

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

Set native field minBufferCount without native effects.

set_max_buffer_count

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

Set native field maxBufferCount without native effects.

set_min_buffer_count_for_camping

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

Set native field minBufferCountForCamping without native effects.

set_min_buffer_count_for_dedicated_slack

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

Set native field minBufferCountForDedicatedSlack without native effects.

set_min_buffer_count_for_shared_slack

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

Set native field minBufferCountForSharedSlack 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::BufferCollectionCreateInfoFUCHSIA

pub struct BufferCollectionCreateInfoFUCHSIA<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub collection_token: zx_handle_t, /* private fields */ }
Native structure VkBufferCollectionCreateInfoFUCHSIA.

Contract

Native structure VkBufferCollectionCreateInfoFUCHSIA.

Khronos reference: VkBufferCollectionCreateInfoFUCHSIA

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

collection_token

Field
collection_token: zx_handle_t

Native field collectionToken.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_collection_token

Method
pub fn set_collection_token(self, value: zx_handle_t) -> Self

Set native field collectionToken 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::BufferCollectionFUCHSIA

Contract

Raw Vulkan handle VkBufferCollectionFUCHSIA.

Khronos reference: VkBufferCollectionFUCHSIA 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) -> BufferCollectionFUCHSIA
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: &BufferCollectionFUCHSIA) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::BufferCollectionImageCreateInfoFUCHSIA

pub struct BufferCollectionImageCreateInfoFUCHSIA<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub collection: BufferCollectionFUCHSIA, pub index: u32, /* private fields */ }
Native structure VkBufferCollectionImageCreateInfoFUCHSIA.

Contract

Native structure VkBufferCollectionImageCreateInfoFUCHSIA.

Khronos reference: VkBufferCollectionImageCreateInfoFUCHSIA

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

collection

Field
collection: BufferCollectionFUCHSIA

Native field collection.

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_collection

Method
pub fn set_collection(self, value: BufferCollectionFUCHSIA) -> Self

Set native field collection 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::BufferCollectionPropertiesFUCHSIA

pub struct BufferCollectionPropertiesFUCHSIA<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub memory_type_bits: u32, pub buffer_count: u32, pub create_info_index: u32, pub sysmem_pixel_format: u64, pub format_features: FormatFeatureFlags, pub sysmem_color_space_index: SysmemColorSpaceFUCHSIA<'a>, pub sampler_ycbcr_conversion_components: ComponentMapping, pub suggested_ycbcr_model: SamplerYcbcrModelConversion, pub suggested_ycbcr_range: SamplerYcbcrRange, pub suggested_x_chroma_offset: ChromaLocation, pub suggested_y_chroma_offset: ChromaLocation, /* private fields */ }
Native structure VkBufferCollectionPropertiesFUCHSIA.

Contract

Native structure VkBufferCollectionPropertiesFUCHSIA.

Khronos reference: VkBufferCollectionPropertiesFUCHSIA

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

memory_type_bits

Field
memory_type_bits: u32

Native field memoryTypeBits.

buffer_count

Field
buffer_count: u32

Native field bufferCount.

create_info_index

Field
create_info_index: u32

Native field createInfoIndex.

sysmem_pixel_format

Field
sysmem_pixel_format: u64

Native field sysmemPixelFormat.

format_features

Field
format_features: FormatFeatureFlags

Native field formatFeatures.

sysmem_color_space_index

Field
sysmem_color_space_index: SysmemColorSpaceFUCHSIA<'a>

Native field sysmemColorSpaceIndex.

sampler_ycbcr_conversion_components

Field
sampler_ycbcr_conversion_components: ComponentMapping

Native field samplerYcbcrConversionComponents.

suggested_ycbcr_model

Field
suggested_ycbcr_model: SamplerYcbcrModelConversion

Native field suggestedYcbcrModel.

suggested_ycbcr_range

Field
suggested_ycbcr_range: SamplerYcbcrRange

Native field suggestedYcbcrRange.

suggested_x_chroma_offset

Field
suggested_x_chroma_offset: ChromaLocation

Native field suggestedXChromaOffset.

suggested_y_chroma_offset

Field
suggested_y_chroma_offset: ChromaLocation

Native field suggestedYChromaOffset.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_memory_type_bits

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

Set native field memoryTypeBits without native effects.

set_buffer_count

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

Set native field bufferCount without native effects.

set_create_info_index

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

Set native field createInfoIndex without native effects.

set_sysmem_pixel_format

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

Set native field sysmemPixelFormat without native effects.

set_format_features

Method
pub fn set_format_features(self, value: FormatFeatureFlags) -> Self

Set native field formatFeatures without native effects.

set_sysmem_color_space_index

Method
pub fn set_sysmem_color_space_index( self, value: SysmemColorSpaceFUCHSIA<'a>, ) -> Self

Set native field sysmemColorSpaceIndex without native effects.

set_sampler_ycbcr_conversion_components

Method
pub fn set_sampler_ycbcr_conversion_components( self, value: ComponentMapping, ) -> Self

Set native field samplerYcbcrConversionComponents without native effects.

set_suggested_ycbcr_model

Method
pub fn set_suggested_ycbcr_model( self, value: SamplerYcbcrModelConversion, ) -> Self

Set native field suggestedYcbcrModel without native effects.

set_suggested_ycbcr_range

Method
pub fn set_suggested_ycbcr_range(self, value: SamplerYcbcrRange) -> Self

Set native field suggestedYcbcrRange without native effects.

set_suggested_x_chroma_offset

Method
pub fn set_suggested_x_chroma_offset(self, value: ChromaLocation) -> Self

Set native field suggestedXChromaOffset without native effects.

set_suggested_y_chroma_offset

Method
pub fn set_suggested_y_chroma_offset(self, value: ChromaLocation) -> Self

Set native field suggestedYChromaOffset 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::BufferConstraintsInfoFUCHSIA

pub struct BufferConstraintsInfoFUCHSIA<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub create_info: BufferCreateInfo<'a>, pub required_format_features: FormatFeatureFlags, pub buffer_collection_constraints: BufferCollectionConstraintsInfoFUCHSIA<'a>, /* private fields */ }
Native structure VkBufferConstraintsInfoFUCHSIA.

Contract

Native structure VkBufferConstraintsInfoFUCHSIA.

Khronos reference: VkBufferConstraintsInfoFUCHSIA

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

create_info

Field
create_info: BufferCreateInfo<'a>

Native field createInfo.

required_format_features

Field
required_format_features: FormatFeatureFlags

Native field requiredFormatFeatures.

buffer_collection_constraints

Field
buffer_collection_constraints: BufferCollectionConstraintsInfoFUCHSIA<'a>

Native field bufferCollectionConstraints.

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

Set native field createInfo without native effects.

set_required_format_features

Method
pub fn set_required_format_features(self, value: FormatFeatureFlags) -> Self

Set native field requiredFormatFeatures without native effects.

set_buffer_collection_constraints

Method
pub fn set_buffer_collection_constraints( self, value: BufferCollectionConstraintsInfoFUCHSIA<'a>, ) -> Self

Set native field bufferCollectionConstraints 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::BufferCopy

Contract

Native structure VkBufferCopy.

Khronos reference: VkBufferCopy

Fields

src_offset

Field
src_offset: DeviceSize

Native field srcOffset.

dst_offset

Field
dst_offset: DeviceSize

Native field dstOffset.

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_src_offset

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

Set native field srcOffset without native effects.

set_dst_offset

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

Set native field dstOffset without native effects.

set_size

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

Set native field size without native effects.

Stvk::BufferCopy2

pub struct BufferCopy2<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub src_offset: DeviceSize, pub dst_offset: DeviceSize, pub size: DeviceSize, /* private fields */ }
Native structure VkBufferCopy2.

Contract

Native structure VkBufferCopy2.

Khronos reference: VkBufferCopy2

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

src_offset

Field
src_offset: DeviceSize

Native field srcOffset.

dst_offset

Field
dst_offset: DeviceSize

Native field dstOffset.

size

Field
size: DeviceSize

Native field size.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_src_offset

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

Set native field srcOffset without native effects.

set_dst_offset

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

Set native field dstOffset without native effects.

set_size

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

Set native field size 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::BufferCreateFlagBits

Contract

Open integer representation of VkBufferCreateFlagBits.

Khronos reference: VkBufferCreateFlagBits

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::BufferCreateInfo

pub struct BufferCreateInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: BufferCreateFlags, pub size: DeviceSize, pub usage: BufferUsageFlags, pub sharing_mode: SharingMode, pub queue_family_index_count: u32, pub p_queue_family_indices: *const u32, /* private fields */ }
Native structure VkBufferCreateInfo.

Contract

Native structure VkBufferCreateInfo.

Khronos reference: VkBufferCreateInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: BufferCreateFlags

Native field flags.

size

Field
size: DeviceSize

Native field size.

usage

Field
usage: BufferUsageFlags

Native field usage.

sharing_mode

Field
sharing_mode: SharingMode

Native field sharingMode.

queue_family_index_count

Field
queue_family_index_count: u32

Native field queueFamilyIndexCount.

p_queue_family_indices

Field
p_queue_family_indices: *const u32

Native field pQueueFamilyIndices.

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

Set native field flags without native effects.

set_size

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

Set native field size without native effects.

set_usage

Method
pub fn set_usage(self, value: BufferUsageFlags) -> Self

Set native field usage without native effects.

set_sharing_mode

Method
pub fn set_sharing_mode(self, value: SharingMode) -> Self

Set native field sharingMode without native effects.

set_queue_family_index_count

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

Set native count queueFamilyIndexCount 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_family_indices

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

Borrow pQueueFamilyIndices and set checked native count queueFamilyIndexCount. 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::BufferDeviceAddressAlignmentAllocateInfoVALVE

pub struct BufferDeviceAddressAlignmentAllocateInfoVALVE<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub alignment: u32, /* private fields */ }
Native structure VkBufferDeviceAddressAlignmentAllocateInfoVALVE.

Contract

Native structure VkBufferDeviceAddressAlignmentAllocateInfoVALVE.

Khronos reference: VkBufferDeviceAddressAlignmentAllocateInfoVALVE

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

alignment

Field
alignment: u32

Native field alignment.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_alignment

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

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