Realm

vk · Structs · P2

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

StRustExperimental

Stvk::PerformanceConfigurationINTEL

Contract

Raw Vulkan handle VkPerformanceConfigurationINTEL.

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

Stvk::PerformanceConfigurationTypeINTEL

Contract

Open integer representation of VkPerformanceConfigurationTypeINTEL.

Khronos reference: VkPerformanceConfigurationTypeINTEL

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

eq

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

Stvk::PerformanceCounterARM

Contract

Native structure VkPerformanceCounterARM.

Khronos reference: VkPerformanceCounterARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

counter_id

Field
counter_id: u32

Native field counterID.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_counter_id

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

Set native field counterID 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::PerformanceCounterDescriptionARM

pub struct PerformanceCounterDescriptionARM<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub flags: PerformanceCounterDescriptionFlagsARM, pub name: [c_char; 256], /* private fields */ }
Native structure VkPerformanceCounterDescriptionARM.

Contract

Native structure VkPerformanceCounterDescriptionARM.

Khronos reference: VkPerformanceCounterDescriptionARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

flags

Field
flags: PerformanceCounterDescriptionFlagsARM

Native field flags.

name

Field
name: [c_char; 256]

Native field name.

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

Set native field flags without native effects.

set_name

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

Set native field name 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::PerformanceCounterDescriptionFlagBitsKHR

Contract

Open integer representation of VkPerformanceCounterDescriptionFlagBitsKHR.

Khronos reference: VkPerformanceCounterDescriptionFlagBitsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::PerformanceCounterDescriptionFlagsARM

Contract

Open integer representation of VkPerformanceCounterDescriptionFlagsARM.

Khronos reference: VkPerformanceCounterDescriptionFlagsARM

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::PerformanceCounterDescriptionKHR

pub struct PerformanceCounterDescriptionKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub flags: PerformanceCounterDescriptionFlagsKHR, pub name: [c_char; 256], pub category: [c_char; 256], pub description: [c_char; 256], /* private fields */ }
Native structure VkPerformanceCounterDescriptionKHR.

Contract

Native structure VkPerformanceCounterDescriptionKHR.

Khronos reference: VkPerformanceCounterDescriptionKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

flags

Field
flags: PerformanceCounterDescriptionFlagsKHR

Native field flags.

name

Field
name: [c_char; 256]

Native field name.

category

Field
category: [c_char; 256]

Native field category.

description

Field
description: [c_char; 256]

Native field description.

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

Set native field flags without native effects.

set_name

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

Set native field name without native effects.

set_category

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

Set native field category without native effects.

set_description

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

Set native field description 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::PerformanceCounterKHR

pub struct PerformanceCounterKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub unit: PerformanceCounterUnitKHR, pub scope: PerformanceCounterScopeKHR, pub storage: PerformanceCounterStorageKHR, pub uuid: [u8; 16], /* private fields */ }
Native structure VkPerformanceCounterKHR.

Contract

Native structure VkPerformanceCounterKHR.

Khronos reference: VkPerformanceCounterKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

unit

Field
unit: PerformanceCounterUnitKHR

Native field unit.

scope

Field
scope: PerformanceCounterScopeKHR

Native field scope.

storage

Field
storage: PerformanceCounterStorageKHR

Native field storage.

uuid

Field
uuid: [u8; 16]

Native field uuid.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_unit

Method
pub fn set_unit(self, value: PerformanceCounterUnitKHR) -> Self

Set native field unit without native effects.

set_scope

Method
pub fn set_scope(self, value: PerformanceCounterScopeKHR) -> Self

Set native field scope without native effects.

set_storage

Method
pub fn set_storage(self, value: PerformanceCounterStorageKHR) -> Self

Set native field storage without native effects.

set_uuid

Method
pub fn set_uuid(self, value: [u8; 16]) -> Self

Set native field uuid 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::PerformanceCounterScopeKHR

Contract

Open integer representation of VkPerformanceCounterScopeKHR.

Khronos reference: VkPerformanceCounterScopeKHR

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

eq

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

Stvk::PerformanceCounterStorageKHR

Contract

Open integer representation of VkPerformanceCounterStorageKHR.

Khronos reference: VkPerformanceCounterStorageKHR

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

eq

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

Stvk::PerformanceCounterUnitKHR

Contract

Open integer representation of VkPerformanceCounterUnitKHR.

Khronos reference: VkPerformanceCounterUnitKHR

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

eq

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

Stvk::PerformanceMarkerInfoINTEL

Contract

Native structure VkPerformanceMarkerInfoINTEL.

Khronos reference: VkPerformanceMarkerInfoINTEL

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

marker

Field
marker: u64

Native field marker.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_marker

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

Set native field marker 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::PerformanceOverrideInfoINTEL

pub struct PerformanceOverrideInfoINTEL<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub type: PerformanceOverrideTypeINTEL, pub enable: Bool32, pub parameter: u64, /* private fields */ }
Native structure VkPerformanceOverrideInfoINTEL.

Contract

Native structure VkPerformanceOverrideInfoINTEL.

Khronos reference: VkPerformanceOverrideInfoINTEL

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

type

Field
type: PerformanceOverrideTypeINTEL

Native field type.

enable

Field
enable: Bool32

Native field enable.

parameter

Field
parameter: u64

Native field parameter.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_type

Method
pub fn set_type(self, value: PerformanceOverrideTypeINTEL) -> Self

Set native field type without native effects.

set_enable

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

Set native field enable without native effects.

set_parameter

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

Set native field parameter 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::PerformanceOverrideTypeINTEL

Contract

Open integer representation of VkPerformanceOverrideTypeINTEL.

Khronos reference: VkPerformanceOverrideTypeINTEL

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

eq

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

Stvk::PerformanceParameterTypeINTEL

Contract

Open integer representation of VkPerformanceParameterTypeINTEL.

Khronos reference: VkPerformanceParameterTypeINTEL

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

eq

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

Stvk::PerformanceQuerySubmitInfoKHR

pub struct PerformanceQuerySubmitInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub counter_pass_index: u32, /* private fields */ }
Native structure VkPerformanceQuerySubmitInfoKHR.

Contract

Native structure VkPerformanceQuerySubmitInfoKHR.

Khronos reference: VkPerformanceQuerySubmitInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

counter_pass_index

Field
counter_pass_index: u32

Native field counterPassIndex.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_counter_pass_index

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

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