Realm

vk · Structs · E4

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

StRustExperimental

Stvk::ExternalMemoryTensorCreateInfoARM

pub struct ExternalMemoryTensorCreateInfoARM<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub handle_types: ExternalMemoryHandleTypeFlags, /* private fields */ }
Native structure VkExternalMemoryTensorCreateInfoARM.

Contract

Native structure VkExternalMemoryTensorCreateInfoARM.

Khronos reference: VkExternalMemoryTensorCreateInfoARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

handle_types

Field
handle_types: ExternalMemoryHandleTypeFlags

Native field handleTypes.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_handle_types

Method
pub fn set_handle_types(self, value: ExternalMemoryHandleTypeFlags) -> Self

Set native field handleTypes 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::ExternalSemaphoreFeatureFlagBits

Contract

Open integer representation of VkExternalSemaphoreFeatureFlagBits.

Khronos reference: VkExternalSemaphoreFeatureFlagBits

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::ExternalSemaphoreHandleTypeFlagBits

Contract

Open integer representation of VkExternalSemaphoreHandleTypeFlagBits.

Khronos reference: VkExternalSemaphoreHandleTypeFlagBits

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::ExternalSemaphoreProperties

pub struct ExternalSemaphoreProperties<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub export_from_imported_handle_types: ExternalSemaphoreHandleTypeFlags, pub compatible_handle_types: ExternalSemaphoreHandleTypeFlags, pub external_semaphore_features: ExternalSemaphoreFeatureFlags, /* private fields */ }
Native structure VkExternalSemaphoreProperties.

Contract

Native structure VkExternalSemaphoreProperties.

Khronos reference: VkExternalSemaphoreProperties

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

export_from_imported_handle_types

Field
export_from_imported_handle_types: ExternalSemaphoreHandleTypeFlags

Native field exportFromImportedHandleTypes.

compatible_handle_types

Field
compatible_handle_types: ExternalSemaphoreHandleTypeFlags

Native field compatibleHandleTypes.

external_semaphore_features

Field
external_semaphore_features: ExternalSemaphoreFeatureFlags

Native field externalSemaphoreFeatures.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_export_from_imported_handle_types

Method
pub fn set_export_from_imported_handle_types( self, value: ExternalSemaphoreHandleTypeFlags, ) -> Self

Set native field exportFromImportedHandleTypes without native effects.

set_compatible_handle_types

Method
pub fn set_compatible_handle_types( self, value: ExternalSemaphoreHandleTypeFlags, ) -> Self

Set native field compatibleHandleTypes without native effects.

set_external_semaphore_features

Method
pub fn set_external_semaphore_features( self, value: ExternalSemaphoreFeatureFlags, ) -> Self

Set native field externalSemaphoreFeatures 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::ExternalTensorPropertiesARM

pub struct ExternalTensorPropertiesARM<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub external_memory_properties: ExternalMemoryProperties, /* private fields */ }
Native structure VkExternalTensorPropertiesARM.

Contract

Native structure VkExternalTensorPropertiesARM.

Khronos reference: VkExternalTensorPropertiesARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

external_memory_properties

Field
external_memory_properties: ExternalMemoryProperties

Native field externalMemoryProperties.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_external_memory_properties

Method
pub fn set_external_memory_properties( self, value: ExternalMemoryProperties, ) -> Self

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