Realm

vk · Structs · C7

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

StRustExperimental

Stvk::CopyMicromapModeEXT

Contract

Open integer representation of VkCopyMicromapModeEXT.

Khronos reference: VkCopyMicromapModeEXT

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

eq

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

Stvk::CopyMicromapToMemoryInfoEXT

pub struct CopyMicromapToMemoryInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub src: MicromapEXT, pub dst: DeviceOrHostAddressKHR, pub mode: CopyMicromapModeEXT, /* private fields */ }
Native structure VkCopyMicromapToMemoryInfoEXT.

Contract

Native structure VkCopyMicromapToMemoryInfoEXT.

Khronos reference: VkCopyMicromapToMemoryInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

src

Field
src: MicromapEXT

Native field src.

dst

Field
dst: DeviceOrHostAddressKHR

Native field dst.

mode

Field
mode: CopyMicromapModeEXT

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_src

Method
pub fn set_src(self, value: MicromapEXT) -> Self

Set native field src without native effects.

set_dst

Method
pub fn set_dst(self, value: DeviceOrHostAddressKHR) -> Self

Set native field dst without native effects.

set_mode

Method
pub fn set_mode(self, value: CopyMicromapModeEXT) -> 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::CopyTensorInfoARM

pub struct CopyTensorInfoARM<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub src_tensor: TensorARM, pub dst_tensor: TensorARM, pub region_count: u32, pub p_regions: *const TensorCopyARM<'a>, /* private fields */ }
Native structure VkCopyTensorInfoARM.

Contract

Native structure VkCopyTensorInfoARM.

Khronos reference: VkCopyTensorInfoARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

src_tensor

Field
src_tensor: TensorARM

Native field srcTensor.

dst_tensor

Field
dst_tensor: TensorARM

Native field dstTensor.

region_count

Field
region_count: u32

Native field regionCount.

p_regions

Field
p_regions: *const TensorCopyARM<'a>

Native field pRegions.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_src_tensor

Method
pub fn set_src_tensor(self, value: TensorARM) -> Self

Set native field srcTensor without native effects.

set_dst_tensor

Method
pub fn set_dst_tensor(self, value: TensorARM) -> Self

Set native field dstTensor without native effects.

set_region_count

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

Set native count regionCount 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_regions

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

Borrow pRegions and set checked native count regionCount. 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::CoverageModulationModeNV

Contract

Open integer representation of VkCoverageModulationModeNV.

Khronos reference: VkCoverageModulationModeNV

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

eq

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

Stvk::CoverageReductionModeNV

Contract

Open integer representation of VkCoverageReductionModeNV.

Khronos reference: VkCoverageReductionModeNV

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

eq

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

Stvk::CubicFilterWeightsQCOM

Contract

Open integer representation of VkCubicFilterWeightsQCOM.

Khronos reference: VkCubicFilterWeightsQCOM

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

eq

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

Stvk::CudaFunctionCreateInfoNV

pub struct CudaFunctionCreateInfoNV<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub module: CudaModuleNV, pub p_name: *const c_char, /* private fields */ }
Native structure VkCudaFunctionCreateInfoNV.

Contract

Native structure VkCudaFunctionCreateInfoNV.

Khronos reference: VkCudaFunctionCreateInfoNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

module

Field
module: CudaModuleNV

Native field module.

p_name

Field
p_name: *const c_char

Native field pName.

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: CudaModuleNV) -> 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.

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

Contract

Raw Vulkan handle VkCudaFunctionNV.

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

Stvk::CudaLaunchInfoNV

pub struct CudaLaunchInfoNV<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub function: CudaFunctionNV, pub grid_dim_x: u32, pub grid_dim_y: u32, pub grid_dim_z: u32, pub block_dim_x: u32, pub block_dim_y: u32, pub block_dim_z: u32, pub shared_mem_bytes: u32, pub param_count: usize, pub p_params: *const *const c_void, pub extra_count: usize, pub p_extras: *const *const c_void, /* private fields */ }
Native structure VkCudaLaunchInfoNV.

Contract

Native structure VkCudaLaunchInfoNV.

Khronos reference: VkCudaLaunchInfoNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

function

Field
function: CudaFunctionNV

Native field function.

grid_dim_x

Field
grid_dim_x: u32

Native field gridDimX.

grid_dim_y

Field
grid_dim_y: u32

Native field gridDimY.

grid_dim_z

Field
grid_dim_z: u32

Native field gridDimZ.

block_dim_x

Field
block_dim_x: u32

Native field blockDimX.

block_dim_y

Field
block_dim_y: u32

Native field blockDimY.

block_dim_z

Field
block_dim_z: u32

Native field blockDimZ.

shared_mem_bytes

Field
shared_mem_bytes: u32

Native field sharedMemBytes.

param_count

Field
param_count: usize

Native field paramCount.

p_params

Field
p_params: *const *const c_void

Native field pParams.

extra_count

Field
extra_count: usize

Native field extraCount.

p_extras

Field
p_extras: *const *const c_void

Native field pExtras.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_function

Method
pub fn set_function(self, value: CudaFunctionNV) -> Self

Set native field function without native effects.

set_grid_dim_x

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

Set native field gridDimX without native effects.

set_grid_dim_y

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

Set native field gridDimY without native effects.

set_grid_dim_z

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

Set native field gridDimZ without native effects.

set_block_dim_x

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

Set native field blockDimX without native effects.

set_block_dim_y

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

Set native field blockDimY without native effects.

set_block_dim_z

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

Set native field blockDimZ without native effects.

set_shared_mem_bytes

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

Set native field sharedMemBytes without native effects.

set_param_count

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

Set native count paramCount 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_params

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

Borrow pParams and set checked native count paramCount. 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_extra_count

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

Set native count extraCount 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_extras

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

Borrow pExtras and set checked native count extraCount. 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::CudaModuleCreateInfoNV

pub struct CudaModuleCreateInfoNV<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub data_size: usize, pub p_data: *const c_void, /* private fields */ }
Native structure VkCudaModuleCreateInfoNV.

Contract

Native structure VkCudaModuleCreateInfoNV.

Khronos reference: VkCudaModuleCreateInfoNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

data_size

Field
data_size: usize

Native field dataSize.

p_data

Field
p_data: *const c_void

Native field pData.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_data_size

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

Set native count dataSize 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_data

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

Borrow pData and set checked native byte size dataSize. 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::CudaModuleNV

Contract

Raw Vulkan handle VkCudaModuleNV.

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

Stvk::CuFunctionCreateInfoNVX

pub struct CuFunctionCreateInfoNVX<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub module: CuModuleNVX, pub p_name: *const c_char, /* private fields */ }
Native structure VkCuFunctionCreateInfoNVX.

Contract

Native structure VkCuFunctionCreateInfoNVX.

Khronos reference: VkCuFunctionCreateInfoNVX

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

module

Field
module: CuModuleNVX

Native field module.

p_name

Field
p_name: *const c_char

Native field pName.

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: CuModuleNVX) -> 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.

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

Contract

Raw Vulkan handle VkCuFunctionNVX.

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

Stvk::CuLaunchInfoNVX

pub struct CuLaunchInfoNVX<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub function: CuFunctionNVX, pub grid_dim_x: u32, pub grid_dim_y: u32, pub grid_dim_z: u32, pub block_dim_x: u32, pub block_dim_y: u32, pub block_dim_z: u32, pub shared_mem_bytes: u32, pub param_count: usize, pub p_params: *const *const c_void, pub extra_count: usize, pub p_extras: *const *const c_void, /* private fields */ }
Native structure VkCuLaunchInfoNVX.

Contract

Native structure VkCuLaunchInfoNVX.

Khronos reference: VkCuLaunchInfoNVX

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

function

Field
function: CuFunctionNVX

Native field function.

grid_dim_x

Field
grid_dim_x: u32

Native field gridDimX.

grid_dim_y

Field
grid_dim_y: u32

Native field gridDimY.

grid_dim_z

Field
grid_dim_z: u32

Native field gridDimZ.

block_dim_x

Field
block_dim_x: u32

Native field blockDimX.

block_dim_y

Field
block_dim_y: u32

Native field blockDimY.

block_dim_z

Field
block_dim_z: u32

Native field blockDimZ.

shared_mem_bytes

Field
shared_mem_bytes: u32

Native field sharedMemBytes.

param_count

Field
param_count: usize

Native field paramCount.

p_params

Field
p_params: *const *const c_void

Native field pParams.

extra_count

Field
extra_count: usize

Native field extraCount.

p_extras

Field
p_extras: *const *const c_void

Native field pExtras.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_function

Method
pub fn set_function(self, value: CuFunctionNVX) -> Self

Set native field function without native effects.

set_grid_dim_x

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

Set native field gridDimX without native effects.

set_grid_dim_y

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

Set native field gridDimY without native effects.

set_grid_dim_z

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

Set native field gridDimZ without native effects.

set_block_dim_x

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

Set native field blockDimX without native effects.

set_block_dim_y

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

Set native field blockDimY without native effects.

set_block_dim_z

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

Set native field blockDimZ without native effects.

set_shared_mem_bytes

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

Set native field sharedMemBytes without native effects.

set_param_count

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

Set native count paramCount 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_params

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

Borrow pParams and set checked native count paramCount. 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_extra_count

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

Set native count extraCount 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_extras

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

Borrow pExtras and set checked native count extraCount. 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::CullModeFlagBits

Contract

Open integer representation of VkCullModeFlagBits.

Khronos reference: VkCullModeFlagBits

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

Output-1

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

Output-2

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

Output-3

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

eq

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

Stvk::CuModuleCreateInfoNVX

pub struct CuModuleCreateInfoNVX<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub data_size: usize, pub p_data: *const c_void, /* private fields */ }
Native structure VkCuModuleCreateInfoNVX.

Contract

Native structure VkCuModuleCreateInfoNVX.

Khronos reference: VkCuModuleCreateInfoNVX

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

data_size

Field
data_size: usize

Native field dataSize.

p_data

Field
p_data: *const c_void

Native field pData.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_data_size

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

Set native count dataSize 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_data

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

Borrow pData and set checked native byte size dataSize. 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.