Realm

vk · Structs · E3

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

StRustExperimental

Stvk::ExternalFenceHandleTypeFlagBits

Contract

Open integer representation of VkExternalFenceHandleTypeFlagBits.

Khronos reference: VkExternalFenceHandleTypeFlagBits

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::ExternalFenceProperties

pub struct ExternalFenceProperties<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub export_from_imported_handle_types: ExternalFenceHandleTypeFlags, pub compatible_handle_types: ExternalFenceHandleTypeFlags, pub external_fence_features: ExternalFenceFeatureFlags, /* private fields */ }
Native structure VkExternalFenceProperties.

Contract

Native structure VkExternalFenceProperties.

Khronos reference: VkExternalFenceProperties

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

Native field exportFromImportedHandleTypes.

compatible_handle_types

Field
compatible_handle_types: ExternalFenceHandleTypeFlags

Native field compatibleHandleTypes.

external_fence_features

Field
external_fence_features: ExternalFenceFeatureFlags

Native field externalFenceFeatures.

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: ExternalFenceHandleTypeFlags, ) -> Self

Set native field exportFromImportedHandleTypes without native effects.

set_compatible_handle_types

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

Set native field compatibleHandleTypes without native effects.

set_external_fence_features

Method
pub fn set_external_fence_features( self, value: ExternalFenceFeatureFlags, ) -> Self

Set native field externalFenceFeatures 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::ExternalFormatANDROID

Contract

Native structure VkExternalFormatANDROID.

Khronos reference: VkExternalFormatANDROID

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

external_format

Field
external_format: u64

Native field externalFormat.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_external_format

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

Set native field externalFormat 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::ExternalFormatOHOS

Contract

Native structure VkExternalFormatOHOS.

Khronos reference: VkExternalFormatOHOS

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

external_format

Field
external_format: u64

Native field externalFormat.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_external_format

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

Set native field externalFormat 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::ExternalFormatQNX

Contract

Native structure VkExternalFormatQNX.

Khronos reference: VkExternalFormatQNX

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

external_format

Field
external_format: u64

Native field externalFormat.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_external_format

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

Set native field externalFormat 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::ExternalImageFormatProperties

pub struct ExternalImageFormatProperties<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub external_memory_properties: ExternalMemoryProperties, /* private fields */ }
Native structure VkExternalImageFormatProperties.

Contract

Native structure VkExternalImageFormatProperties.

Khronos reference: VkExternalImageFormatProperties

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut 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.

Stvk::ExternalImageFormatPropertiesNV

#[repr(C)]pub struct ExternalImageFormatPropertiesNV { pub image_format_properties: ImageFormatProperties, pub external_memory_features: ExternalMemoryFeatureFlagsNV, pub export_from_imported_handle_types: ExternalMemoryHandleTypeFlagsNV, pub compatible_handle_types: ExternalMemoryHandleTypeFlagsNV, }
Native structure VkExternalImageFormatPropertiesNV.

Contract

Native structure VkExternalImageFormatPropertiesNV.

Khronos reference: VkExternalImageFormatPropertiesNV

Fields

image_format_properties

Field
image_format_properties: ImageFormatProperties

Native field imageFormatProperties.

external_memory_features

Field
external_memory_features: ExternalMemoryFeatureFlagsNV

Native field externalMemoryFeatures.

export_from_imported_handle_types

Field
export_from_imported_handle_types: ExternalMemoryHandleTypeFlagsNV

Native field exportFromImportedHandleTypes.

compatible_handle_types

Field
compatible_handle_types: ExternalMemoryHandleTypeFlagsNV

Native field compatibleHandleTypes.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_image_format_properties

Method
pub fn set_image_format_properties(self, value: ImageFormatProperties) -> Self

Set native field imageFormatProperties without native effects.

set_external_memory_features

Method
pub fn set_external_memory_features( self, value: ExternalMemoryFeatureFlagsNV, ) -> Self

Set native field externalMemoryFeatures without native effects.

set_export_from_imported_handle_types

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

Set native field exportFromImportedHandleTypes without native effects.

set_compatible_handle_types

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

Set native field compatibleHandleTypes without native effects.

clone

Method
fn clone(&self) -> ExternalImageFormatPropertiesNV
Returns a duplicate of the value. Read more

Stvk::ExternalMemoryAcquireUnmodifiedEXT

pub struct ExternalMemoryAcquireUnmodifiedEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub acquire_unmodified_memory: Bool32, /* private fields */ }
Native structure VkExternalMemoryAcquireUnmodifiedEXT.

Contract

Native structure VkExternalMemoryAcquireUnmodifiedEXT.

Khronos reference: VkExternalMemoryAcquireUnmodifiedEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

acquire_unmodified_memory

Field
acquire_unmodified_memory: Bool32

Native field acquireUnmodifiedMemory.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_acquire_unmodified_memory

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

Set native field acquireUnmodifiedMemory 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::ExternalMemoryBufferCreateInfo

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

Contract

Native structure VkExternalMemoryBufferCreateInfo.

Khronos reference: VkExternalMemoryBufferCreateInfo

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

Contract

Open integer representation of VkExternalMemoryFeatureFlagBits.

Khronos reference: VkExternalMemoryFeatureFlagBits

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::ExternalMemoryFeatureFlagBitsNV

Contract

Open integer representation of VkExternalMemoryFeatureFlagBitsNV.

Khronos reference: VkExternalMemoryFeatureFlagBitsNV

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::ExternalMemoryHandleTypeFlagBits

Contract

Open integer representation of VkExternalMemoryHandleTypeFlagBits.

Khronos reference: VkExternalMemoryHandleTypeFlagBits

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::ExternalMemoryHandleTypeFlagBitsNV

Contract

Open integer representation of VkExternalMemoryHandleTypeFlagBitsNV.

Khronos reference: VkExternalMemoryHandleTypeFlagBitsNV

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::ExternalMemoryImageCreateInfo

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

Contract

Native structure VkExternalMemoryImageCreateInfo.

Khronos reference: VkExternalMemoryImageCreateInfo

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

pub struct ExternalMemoryImageCreateInfoNV<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub handle_types: ExternalMemoryHandleTypeFlagsNV, /* private fields */ }
Native structure VkExternalMemoryImageCreateInfoNV.

Contract

Native structure VkExternalMemoryImageCreateInfoNV.

Khronos reference: VkExternalMemoryImageCreateInfoNV

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

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: ExternalMemoryHandleTypeFlagsNV) -> 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::ExternalMemoryProperties

#[repr(C)]pub struct ExternalMemoryProperties { pub external_memory_features: ExternalMemoryFeatureFlags, pub export_from_imported_handle_types: ExternalMemoryHandleTypeFlags, pub compatible_handle_types: ExternalMemoryHandleTypeFlags, }
Native structure VkExternalMemoryProperties.

Contract

Native structure VkExternalMemoryProperties.

Khronos reference: VkExternalMemoryProperties

Fields

external_memory_features

Field
external_memory_features: ExternalMemoryFeatureFlags

Native field externalMemoryFeatures.

export_from_imported_handle_types

Field
export_from_imported_handle_types: ExternalMemoryHandleTypeFlags

Native field exportFromImportedHandleTypes.

compatible_handle_types

Field
compatible_handle_types: ExternalMemoryHandleTypeFlags

Native field compatibleHandleTypes.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_external_memory_features

Method
pub fn set_external_memory_features( self, value: ExternalMemoryFeatureFlags, ) -> Self

Set native field externalMemoryFeatures without native effects.

set_export_from_imported_handle_types

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

Set native field exportFromImportedHandleTypes without native effects.

set_compatible_handle_types

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

Set native field compatibleHandleTypes without native effects.

clone

Method
fn clone(&self) -> ExternalMemoryProperties
Returns a duplicate of the value. Read more