vk · Structs · E4
5 public declarations with native signatures and source-owned contracts.
Stvk::ExternalMemoryTensorCreateInfoARM
Contract
Native structure VkExternalMemoryTensorCreateInfoARM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
handle_types
handle_types: ExternalMemoryHandleTypeFlagsNative field handleTypes.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_handle_types
Set native field handleTypes without native effects.
push_next
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.
default
Stvk::ExternalSemaphoreFeatureFlagBits
Contract
Open integer representation of VkExternalSemaphoreFeatureFlagBits.
Fields
0
0: u32Methods and associated items
EXPORTABLE_BIT
Native value VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT.
Khronos reference: VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT
IMPORTABLE_BIT
Native value VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT.
Khronos reference: VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT
EXPORTABLE_BIT_KHR
Native value VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT_KHR.
Khronos reference: VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT_KHR
IMPORTABLE_BIT_KHR
Native value VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT_KHR.
Khronos reference: VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT_KHR
from_raw
as_raw
empty
Output
& operator.bitand
& operation. Read moreOutput-1
| operator.bitor
| operation. Read moreOutput-2
^ operator.bitxor
^ operation. Read moreclone
fmt
default
hash
Output-3
! operator.not
! operation. Read moreeq
self and other values to be equal, and is used by ==.Stvk::ExternalSemaphoreHandleTypeFlagBits
Contract
Open integer representation of VkExternalSemaphoreHandleTypeFlagBits.
Fields
0
0: u32Methods and associated items
OPAQUE_FD_BIT
Native value VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT.
Khronos reference: VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT
OPAQUE_WIN32_BIT
Native value VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT.
Khronos reference: VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT
OPAQUE_WIN32_KMT_BIT
Native value VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT.
Khronos reference: VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT
D3D12_FENCE_BIT
Native value VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT.
Khronos reference: VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT
D3D11_FENCE_BIT
Native value VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_FENCE_BIT.
Khronos reference: VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_FENCE_BIT
SYNC_FD_BIT
Native value VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT.
Khronos reference: VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT
OPAQUE_FD_BIT_KHR
Native value VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT_KHR.
Khronos reference: VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT_KHR
OPAQUE_WIN32_BIT_KHR
Native value VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT_KHR.
Khronos reference: VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT_KHR
OPAQUE_WIN32_KMT_BIT_KHR
Native value VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_KHR.
Khronos reference: VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_KHR
D3D12_FENCE_BIT_KHR
Native value VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT_KHR.
Khronos reference: VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT_KHR
SYNC_FD_BIT_KHR
Native value VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT_KHR.
Khronos reference: VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT_KHR
ZIRCON_EVENT_BIT_FUCHSIA
Native value VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_ZIRCON_EVENT_BIT_FUCHSIA.
Khronos reference: VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_ZIRCON_EVENT_BIT_FUCHSIA
from_raw
as_raw
empty
Output
& operator.bitand
& operation. Read moreOutput-1
| operator.bitor
| operation. Read moreOutput-2
^ operator.bitxor
^ operation. Read moreclone
fmt
default
hash
Output-3
! operator.not
! operation. Read moreeq
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 */
}Contract
Native structure VkExternalSemaphoreProperties.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
export_from_imported_handle_types
export_from_imported_handle_types: ExternalSemaphoreHandleTypeFlagsNative field exportFromImportedHandleTypes.
compatible_handle_types
compatible_handle_types: ExternalSemaphoreHandleTypeFlagsNative field compatibleHandleTypes.
external_semaphore_features
external_semaphore_features: ExternalSemaphoreFeatureFlagsNative field externalSemaphoreFeatures.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_export_from_imported_handle_types
Set native field exportFromImportedHandleTypes without native effects.
set_compatible_handle_types
Set native field compatibleHandleTypes without native effects.
set_external_semaphore_features
Set native field externalSemaphoreFeatures without native effects.
push_next
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.
default
Stvk::ExternalTensorPropertiesARM
Contract
Native structure VkExternalTensorPropertiesARM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
external_memory_properties
external_memory_properties: ExternalMemoryPropertiesNative field externalMemoryProperties.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_external_memory_properties
Set native field externalMemoryProperties without native effects.
push_next
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.