Realm

vk · Structs · B4

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

StRustExperimental

Stvk::BufferDeviceAddressCreateInfoEXT

pub struct BufferDeviceAddressCreateInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub device_address: DeviceAddress, /* private fields */ }
Native structure VkBufferDeviceAddressCreateInfoEXT.

Contract

Native structure VkBufferDeviceAddressCreateInfoEXT.

Khronos reference: VkBufferDeviceAddressCreateInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

device_address

Field
device_address: DeviceAddress

Native field deviceAddress.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_device_address

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

Set native field deviceAddress 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::BufferDeviceAddressInfo

Contract

Native structure VkBufferDeviceAddressInfo.

Khronos reference: VkBufferDeviceAddressInfo

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

#[repr(C)]pub struct BufferImageCopy { pub buffer_offset: DeviceSize, pub buffer_row_length: u32, pub buffer_image_height: u32, pub image_subresource: ImageSubresourceLayers, pub image_offset: Offset3D, pub image_extent: Extent3D, }
Native structure VkBufferImageCopy.

Contract

Native structure VkBufferImageCopy.

Khronos reference: VkBufferImageCopy

Fields

buffer_offset

Field
buffer_offset: DeviceSize

Native field bufferOffset.

buffer_row_length

Field
buffer_row_length: u32

Native field bufferRowLength.

buffer_image_height

Field
buffer_image_height: u32

Native field bufferImageHeight.

image_subresource

Field
image_subresource: ImageSubresourceLayers

Native field imageSubresource.

image_offset

Field
image_offset: Offset3D

Native field imageOffset.

image_extent

Field
image_extent: Extent3D

Native field imageExtent.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_buffer_offset

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

Set native field bufferOffset without native effects.

set_buffer_row_length

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

Set native field bufferRowLength without native effects.

set_buffer_image_height

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

Set native field bufferImageHeight without native effects.

set_image_subresource

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

Set native field imageSubresource without native effects.

set_image_offset

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

Set native field imageOffset without native effects.

set_image_extent

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

Set native field imageExtent without native effects.

Stvk::BufferImageCopy2

pub struct BufferImageCopy2<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub buffer_offset: DeviceSize, pub buffer_row_length: u32, pub buffer_image_height: u32, pub image_subresource: ImageSubresourceLayers, pub image_offset: Offset3D, pub image_extent: Extent3D, /* private fields */ }
Native structure VkBufferImageCopy2.

Contract

Native structure VkBufferImageCopy2.

Khronos reference: VkBufferImageCopy2

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

buffer_offset

Field
buffer_offset: DeviceSize

Native field bufferOffset.

buffer_row_length

Field
buffer_row_length: u32

Native field bufferRowLength.

buffer_image_height

Field
buffer_image_height: u32

Native field bufferImageHeight.

image_subresource

Field
image_subresource: ImageSubresourceLayers

Native field imageSubresource.

image_offset

Field
image_offset: Offset3D

Native field imageOffset.

image_extent

Field
image_extent: Extent3D

Native field imageExtent.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_buffer_offset

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

Set native field bufferOffset without native effects.

set_buffer_row_length

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

Set native field bufferRowLength without native effects.

set_buffer_image_height

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

Set native field bufferImageHeight without native effects.

set_image_subresource

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

Set native field imageSubresource without native effects.

set_image_offset

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

Set native field imageOffset without native effects.

set_image_extent

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

Set native field imageExtent without native effects.

push_next

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

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

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

Errors

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

Stvk::BufferMemoryBarrier

pub struct BufferMemoryBarrier<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub src_access_mask: AccessFlags, pub dst_access_mask: AccessFlags, pub src_queue_family_index: u32, pub dst_queue_family_index: u32, pub buffer: Buffer, pub offset: DeviceSize, pub size: DeviceSize, /* private fields */ }
Native structure VkBufferMemoryBarrier.

Contract

Native structure VkBufferMemoryBarrier.

Khronos reference: VkBufferMemoryBarrier

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

src_access_mask

Field
src_access_mask: AccessFlags

Native field srcAccessMask.

dst_access_mask

Field
dst_access_mask: AccessFlags

Native field dstAccessMask.

src_queue_family_index

Field
src_queue_family_index: u32

Native field srcQueueFamilyIndex.

dst_queue_family_index

Field
dst_queue_family_index: u32

Native field dstQueueFamilyIndex.

buffer

Field
buffer: Buffer

Native field buffer.

offset

Field
offset: DeviceSize

Native field offset.

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_access_mask

Method
pub fn set_src_access_mask(self, value: AccessFlags) -> Self

Set native field srcAccessMask without native effects.

set_dst_access_mask

Method
pub fn set_dst_access_mask(self, value: AccessFlags) -> Self

Set native field dstAccessMask without native effects.

set_src_queue_family_index

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

Set native field srcQueueFamilyIndex without native effects.

set_dst_queue_family_index

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

Set native field dstQueueFamilyIndex without native effects.

set_buffer

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

Set native field buffer without native effects.

set_offset

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

Set native field offset 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::BufferMemoryBarrier2

pub struct BufferMemoryBarrier2<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub src_stage_mask: PipelineStageFlags2, pub src_access_mask: AccessFlags2, pub dst_stage_mask: PipelineStageFlags2, pub dst_access_mask: AccessFlags2, pub src_queue_family_index: u32, pub dst_queue_family_index: u32, pub buffer: Buffer, pub offset: DeviceSize, pub size: DeviceSize, /* private fields */ }
Native structure VkBufferMemoryBarrier2.

Contract

Native structure VkBufferMemoryBarrier2.

Khronos reference: VkBufferMemoryBarrier2

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

src_stage_mask

Field
src_stage_mask: PipelineStageFlags2

Native field srcStageMask.

src_access_mask

Field
src_access_mask: AccessFlags2

Native field srcAccessMask.

dst_stage_mask

Field
dst_stage_mask: PipelineStageFlags2

Native field dstStageMask.

dst_access_mask

Field
dst_access_mask: AccessFlags2

Native field dstAccessMask.

src_queue_family_index

Field
src_queue_family_index: u32

Native field srcQueueFamilyIndex.

dst_queue_family_index

Field
dst_queue_family_index: u32

Native field dstQueueFamilyIndex.

buffer

Field
buffer: Buffer

Native field buffer.

offset

Field
offset: DeviceSize

Native field offset.

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_stage_mask

Method
pub fn set_src_stage_mask(self, value: PipelineStageFlags2) -> Self

Set native field srcStageMask without native effects.

set_src_access_mask

Method
pub fn set_src_access_mask(self, value: AccessFlags2) -> Self

Set native field srcAccessMask without native effects.

set_dst_stage_mask

Method
pub fn set_dst_stage_mask(self, value: PipelineStageFlags2) -> Self

Set native field dstStageMask without native effects.

set_dst_access_mask

Method
pub fn set_dst_access_mask(self, value: AccessFlags2) -> Self

Set native field dstAccessMask without native effects.

set_src_queue_family_index

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

Set native field srcQueueFamilyIndex without native effects.

set_dst_queue_family_index

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

Set native field dstQueueFamilyIndex without native effects.

set_buffer

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

Set native field buffer without native effects.

set_offset

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

Set native field offset 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::BufferMemoryRequirementsInfo2

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

Contract

Native structure VkBufferMemoryRequirementsInfo2.

Khronos reference: VkBufferMemoryRequirementsInfo2

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

pub struct BufferOpaqueCaptureAddressCreateInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub opaque_capture_address: u64, /* private fields */ }
Native structure VkBufferOpaqueCaptureAddressCreateInfo.

Contract

Native structure VkBufferOpaqueCaptureAddressCreateInfo.

Khronos reference: VkBufferOpaqueCaptureAddressCreateInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

opaque_capture_address

Field
opaque_capture_address: u64

Native field opaqueCaptureAddress.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_opaque_capture_address

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

Set native field opaqueCaptureAddress 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::BufferUsageFlagBits

Contract

Open integer representation of VkBufferUsageFlagBits.

Khronos reference: VkBufferUsageFlagBits

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

Output-1

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

Output-2

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

Output-3

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

eq

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

Stvk::BufferUsageFlagBits2

Contract

Open integer representation of VkBufferUsageFlagBits2.

Khronos reference: VkBufferUsageFlagBits2

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::BufferUsageFlags2CreateInfo

pub struct BufferUsageFlags2CreateInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub usage: BufferUsageFlags2, /* private fields */ }
Native structure VkBufferUsageFlags2CreateInfo.

Contract

Native structure VkBufferUsageFlags2CreateInfo.

Khronos reference: VkBufferUsageFlags2CreateInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

usage

Field
usage: BufferUsageFlags2

Native field usage.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_usage

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

Set native field usage 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::BufferView

Contract

Raw Vulkan handle VkBufferView.

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

Stvk::BufferViewCreateFlags

Contract

Open integer representation of VkBufferViewCreateFlags.

Khronos reference: VkBufferViewCreateFlags

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::BufferViewCreateInfo

pub struct BufferViewCreateInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: BufferViewCreateFlags, pub buffer: Buffer, pub format: Format, pub offset: DeviceSize, pub range: DeviceSize, /* private fields */ }
Native structure VkBufferViewCreateInfo.

Contract

Native structure VkBufferViewCreateInfo.

Khronos reference: VkBufferViewCreateInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: BufferViewCreateFlags

Native field flags.

buffer

Field
buffer: Buffer

Native field buffer.

format

Field
format: Format

Native field format.

offset

Field
offset: DeviceSize

Native field offset.

range

Field
range: DeviceSize

Native field range.

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

Set native field flags without native effects.

set_buffer

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

Set native field buffer without native effects.

set_format

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

Set native field format without native effects.

set_offset

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

Set native field offset without native effects.

set_range

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

Set native field range 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::BuildAccelerationStructureFlagBitsKHR

Contract

Open integer representation of VkBuildAccelerationStructureFlagBitsKHR.

Khronos reference: VkBuildAccelerationStructureFlagBitsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::BuildAccelerationStructureModeKHR

Contract

Open integer representation of VkBuildAccelerationStructureModeKHR.

Khronos reference: VkBuildAccelerationStructureModeKHR

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

eq

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